SiteLibrary

Internet Information Portal

 




You can drag a bookmarklet to your IE toolbar and use it when you are on any page. Or you can right click one and save it to a subfolder of your favorites. The code is here too for your perusal.

Make a Link to the page you are on.

javascript:%20void(prompt('link%20to%20this%20page',unescape('%3Ca%20href=%22')%20+%20location.href%20+%20unescape('%22%3e')%20+%20document.title%20+%20unescape('%3c/a%3e')));



Get the Page Title & URL of the page you are on.

javascript:%20void(prompt('link%20to%20this%20page',document.title%20%20+%20'\n'%20+%20location.href));



Get the URL & Title of the page you are on. (Reversed from the Title & URL version - for easier trimming off the http:// for forms that require it). (By Jos)

javascript:%20void(prompt('link%20to%20this%20page',%20location.href%20%20+%20'\n'%20+document.title));



Edit Copy of Selection on a page. This does not work in a frame. (Edited by Jos - encoded to display on this page, source below not edited.)

javascript:r4NSy=document.selection.createRange().text;dST7Mt=new%20Date();wSv6=open('','w'+dST7Mt.getTime(),'width=400,height=300');wSv6.focus();with(wSv6.document){write('<center><form><textarea%20rows=15%20cols=40%20wrap>'+r4NSy+'</textarea>');void(close())}



Links To to the page you are on, per Google.

(found at Focus on JavaScript by Robert Dominy; edited by Jos to open in new window and etc.)

javascript:void(open('http://www.google.com/search?q=link:'+escape(window.location.href)))



Kill Style Sheets - by 508 Compliant

javascript:for(i=0;i<document.styleSheets.length;i++)document.styleSheets[i].cssText='';void(null)



Show Table Borders

javascript:function%20showBorders(wndw){void(tags=wndw.document.all?wndw.document.all.tags('TABLE'):wndw.document.getElementsByTagName('TABLE'));for(var%20i=0;i<tags.length;i++)void(tags[i].border=(tags[i].border=='0'?'1':'0'));}void(frms=window.frames);if(frms.length==0){showBorders(window);}else{for(iQA=0;iQA<frms.length;iQA++){showBorders(frms[iQA]);}}



Validate HTML of a page you are on.

javascript:void(location='http://validator.w3.org/check?uri='+location)



Scripts Source - from Lekhani

javascript:var%20mywin=window.open(,,'location=no,resizable=yes,scrollbars=yes');var%20mydoc=mywin.document;mydoc.open('text/plain');if(document.scripts.length>0)for(var%20i=0;i<document.scripts.length;i++)mydoc.write('\n'+document.scripts[i].outerHTML+'\n');else%20mydoc.write('No%20scripts%20on%20this%20page!');mydoc.title='Scripts%20source%20for%20'+mywin.location.href;mydoc.close();



This is a test for a bookmarklet under development:

Validate RSS of an XML-type page.

javascript:void(location='http://www.feedvalidator.org/check.cgi?url='+location)

We are trying to make it do something similar to what this HTML does:

http://www.feedvalidator.org/check.cgi?url=http://www.sitelibrary.net/portal/webapp.xml


NOTE: If not noted who wrote these, it is because that information was lost when saving to the browser favorites. If you know where any of them came from, please let us know so we can give proper credit.


Who's On


EST Nov. 2002 ~ Copyright © 2002-2009 ~ SiteLibrary


Member's Banner Ad
Member's Banner Ad - Got a Banner? Enter it Here!
View All Banners



This site was made with WebAPP Web Automated Perl Portal system v0.9.9.9 RC4 , a web portal system written in Perl.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the Poster.

XML v1.0