Links Toogle authentication Swap menu

Le bookmarklet

Bookmarklet inline Links_Toogle

Bookmarklet hébergé sur ce site Links_Toogle!

Informations

Ce bookmarklet désactive/réactive chaque lien du document, ce qui permet de les sélectionner, copier, ... sans problème.

Le script

(function(i,j,n,o){
	if(!document.__links){
		document.__links=[];
		with(document){
			for(i=0;i<links.length;++i){
				__links.push(n=links[i]);
				o=createElement('SPAN');
				n.FLIP=o;
				o.FLIP=n;
				for(j=0;j<n.childNodes.length;++j){
					o.appendChild(n.childNodes[j].cloneNode(true))
				}
			}
		}
	}
	with(document){
		for(i=0;i<__links.length;++i){
			n=__links[i];
			n.parentNode.replaceChild(__links[i]=n.FLIP,n)
		}
	}
})()

Valid XHTML 1.0 Strict Valid CSS

AccueilPage précédenteHaut de pagePage suivante