User:Cristinac/Unlinking: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
A script that will erase all links on a wikipedia page. | A script that will erase all links on a wikipedia page. | ||
<source lang="html4strict"> | |||
javascript:(function(){ | javascript:(function(){ | ||
var newscript =document.createElement('script'); | var newscript =document.createElement('script'); | ||
Line 21: | Line 21: | ||
})(); | })(); | ||
</source> |
Revision as of 16:25, 23 January 2015
==============
A script that will erase all links on a wikipedia page.
javascript:(function(){
var newscript =document.createElement('script');
newscript.type='text/javascript';
newscript.async=true;
newscript.src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(newscript);
$("a").hover(something);
function something()
{$(this).hide();}
})();