3ICE's Bookmarklets

Community for Programmers and Developers. C, C++, C#, Basic, Perl, VB, VBS, Java, Javascript, PHP, CGI, HTML and More!
Forum rules
• If you are posting source code, proper indenting and comments will improve the readability.
User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

3ICE's Bookmarklets

Unread post by 3ICE »

Here are my favorite bookmarklets:



LinkColors

Code: Select all

javascript:(function(){var t=':link,:link *{ color:#0000EE !important}:visited,:visited *{color:#551A8B !important}';var s=document.createElement('link');s.rel='stylesheet';s.href='data:text/css,'+escape(t);document.getElementsByTagName("head")[0].appendChild(s);})();


3ICE's Youtube Link Optimizer / Cleaner / Shortener / Tracking Remover (blog post with one click installer)

Code: Select all

javascript:(function(){var l=document.createElement("style");l.type="text/css";l.innerHTML="a:visited{color:#551A8B;}";document.getElementsByTagName("head")[0].appendChild(l);var a=document.getElementsByTagName('a');for(var i=0;i<a.length;i++){if(a[i].href.substr(0,32)=="https://www.youtube.com/watch?v="&&a[i].href.length>43&&a[i].href.substr(43,1)!="#"){a[i].href=a[i].href.substr(0,43);}}})();


playbackRate=2.75

Code: Select all

javascript:(function(){try{document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate=2.75}catch(e){};document.getElementsByTagName("video")[0].playbackRate=2.75})();


MaxLength.Remove

Code: Select all

javascript:(function(){var%20x,i;x=document.getElementsByTagName("input");for(i=0;i<x.length;i++){x[i].removeAttribute("maxlength");}})()


additionalInfo.height=200;

Code: Select all

javascript:document.getElementById("additionalInfo").style.height=200;


Prompt(Referer)

Code: Select all

javascript:(function(){prompt("Referer:",document.referrer);})();


Dropdown2Combobox

Code: Select all

javascript:(function(){x=document.getElementsByTagName('select');for(var%20i=0;c=x[i];i++){c.multiple=true;c.size=c.length;}})()


Forms.POST2GET

Code: Select all

javascript:(function(){var%20x=document.forms;for(i=0;i<x.length;++i)x[i].method="get";})();


Document.Images

Code: Select all

javascript:(function(){var%20d,i,s,x;d=document.images;s='<center>';for(i=0;i<d.length;i++){s+='<br%20/><img%20src='+d[i].src+'%20/>';}if(s!=''){x=open();x.document.write(s);}else{alert('No%20images!');}})()


Undisable

Code: Select all

javascript:(function(){document.onmousedown=document.onmouseup=document.oncontextmenu=document.onselectstart=document.ondragstart=function(){return%20true;}})()


Make HTML Editable

Code: Select all

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


Unfurl

Code: Select all

javascript:window.location.href='https://dfir.blog/unfurl/?url='+window.location.href;


install instructions:
https://mreidsma.github.io/bookmarklets/installing.html



https://www.smashingmagazine.com/2010/0 ... th-jquery/


Collected (and in some cases written) by:
http://www.3ice.hu/blog/about/

http://forum.3ice.hu/viewtopic.php?f=33 ... 5057#p5057
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests