• 07
  • Jul

This may be old news, but not to me. You might also be surprised that you can edit any web page live in your browser by using a bit of javascript. It is limited to text only.

Paste the following into your address bar:

javascript:document.body.contentEditable=’true’; document.designMode=’on’; void 0

Javascript Edit Webpage

I noticed this did not work in Gmail. This is tested and is known to work in Firefox 3 and IE7. [via blogstorm.co.uk]

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
  • 22
  • Jan

Add the link below to your bookmarks. You can use this to search many of the top free file hosts for anything that you might be hunting. You would be surprised at what this jewel can find.

Free File Host Search Bookmarklet

Bookmark Me { via ghacks.net }

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
  • 12
  • Dec

AntiSpam
image by freezelight

Have you ever noticed linking to your email in a mailto tag on a website generates instant spam to your inbox? Spambots are constantly scavenging the Internet for email addresses.

By using a simple Javascript method, email addresses can be hidden from spambots on web pages. When scripting is disabled, the noscript tag can be used to link to a modified email that spambots will not be able to use.

Example using myemail@domain.com:
 
 

<script language=javascript>
<!--
document.write(”<a ” + “hre” + “f=m” + “ailto:m” + “yemail@d” + “omai” + “n.com>” + “email ” + “me<” + “/a>” + “”)
//--></script><noscript><a href=”mailto:myemail[AT]domainDOTcom”>email me</a></noscript>

Thanks to BlogFlux for the tip.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
  • 17
  • Sep

Ever have a web form that people click submit on multiple times and it ends up generating 5 duplicate emails? I got a cure. To disable the submit button on click you can use a little javascript.

Place the following in between the <head> tags of your page:

<script language=”JavaScript” type=”text/javascript”>
function dis(a){
a.disabled = “disabled”;
}
</script>

Now make your button code look like this:

<input type=”submit” value=”Submit” name=”B1″ onclick=”dis(this);”>

The onclick statment is what does the trick here.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]