Category: javascript

  • Ubiquity for Mozilla web browser

    Mozilla labs Ubiquity — based on the Javascript programming language — will allow users to type commands in an input box to launch a specific action, such as sending an e-mail. Ubiquitous Interfaces, Ubiquitous Functionality

  • Rip page to new window in firefox

    On the bookmark toolbar, right-click and select “New Bookmark…” Under name, give your bookmark a fitting title, like, “Rip page.” Under location, enter the following code: javascript:var x=window.open(document.URL, ‘_blank’,’width=800,height=600′) Or… just drag the following link to your bookmark toolbar. Rip page. Update on August 5, 2008: I found the following works well for ripping a…

  • Writing an onLoad function that includes a delay.

    This code was written out of desperation when I could not use an embedded APPLET’s isActive() function to check if the APPLET was loaded. Instead, I waited for 500 milliseconds. Hopefully, there are better uses for this code. <SCRIPT>function OnLoadFunction(milliseconds_time){ setTimeout(“delayedOnLoadFunction()”, milliseconds_time);}function delayedOnLoadFunction(){ /* Function body */}</SCRIPT><body onLoad=”OnLoadFunction(500)”>