If you want to publish an email on your site but you want to protect it, I have a simple solution HTML <!DOCTYPE html> <html xmlns="https://www.w3.org/1999/xhtml"> <head> <title></title> <script src="crypto.js"></script> <script src="uncrypto.js"></script> </head> <body> <h1>JavaScript eMail Encrypter</h1> <p>You can encrypt mailto: links on a website, so that spiders can’t detect them, with a simple javascript.</p> <p>Example: <a href="javascript:linkTo_UnCryptMailto(‘nbjmup;spttjojAftjb/dp’);">rossini [at] esia [dot] co</a></p> <form> <div> <div class="container"> <div class="desc">enter your eMail address:</div> <div><input type="text" name="emailField" size="40" maxlength="255" /></div> </div> <div class="container"> <div class="desc"><input type="button" name="ecrypt" value="Crypt eMail Address" onclick="CryptMailto()" /></div>…
Month: July 2015
Classical Inheritance in JavaScript
JavaScript is a class-free, object-oriented language, and as such, it uses prototypal inheritance instead of classical inheritance. This can be puzzling to programmers trained in conventional object-oriented languages like C++ and Java. JavaScript’s prototypal inheritance has more expressive power than classical inheritance, as we will see presently. Java JavaScript Strongly-typed Loosely-typed Static Dynamic Classical Prototypal Classes Functions Constructors Functions Methods Functions But first, why do we care about inheritance at all? There are primarily two reasons. The first is type convenience. We want the language system to automatically cast references…
Apple Pay Has Officially Launched In The U.K.
The Eagle has landed. An accidental tweet told us that the U.K. wouldn’t have to wait for Apple Pay much longer, and that tweet was right. Apple Pay has officially launched in the U.K. Finally! It has been available to customers here in the US since last October, so your time has finally come, U.K. Hopefully your bank is one of the launch participants: American Express, First Direct, HSBC, Nationwide, NatWest, Royal Bank of Scotland, Santander and Ulster Bank. I use Simple as my bank and had to wait until…
Delete all Stored Procedures at once
If this is a one- time task, just open Object Explorer, expand your database > programmability and highlight the Stored Procedures node. Then turn on Object Explorer Details. On the right you should see your list, and here you can multi-select – so you can sort by name, choose all procedures that start with aspnet_, and delete them all with one keystroke. If you are doing this repeatedly, then (assuming your procedures are all in the dbo schema): DECLARE @sql NVARCHAR(MAX) = N”; SELECT @sql += N’DROP PROCEDURE dbo.’ +…
Microsoft may be interested in buying struggling chip vendor AMD
Microsoft may be interested in buying AMD, according to a new report citing unnamed sources familiar with the matter. Microsoft has a lot to gain by acquiring AMD’s APU business, given the Redmond giant’s ambitions in the console gaming segment. Both the Xbox One and PlayStation 4 use AMD’s Jaguar-architecture APU, and if Microsoft were to buy AMD, Sony will have to shell out a significant amount of money to Microsoft on each PlayStation sold. The vendor can side with other chip manufacturers, but that will mean designing a new…