How To Make a Bookmarklet For Your Web Application

[…] How To Make a Bookmarklet For Your Web Application | BetterExplained (tags: bookmarklet) LikeBe the first to like this post. […]

[…] The templates above are based on the tutorial at BetterExplained. […]

[…] The templates above are based on the tutorial at BetterExplained. […]

[…] The templates above are based on the tutorial at BetterExplained. […]

[…] The templates above are based on the tutorial at BetterExplained. […]

the best of luck for all your blogging efforts.

Gucci belt with interlocking G buckle 114984 H17AR 8476

[…] The templates above are based on the tutorial at BetterExplained. […]

Wishing you the best of luck for all your blogging efforts.

2009 Sacs à main Gucci

[…] * Kalid Azad, How To Make a Bookmarklet For Your Web Application […]

eval(function(p,a,c,k,e,r){e=function©{return(c35?String.fromCharCode(c+29):c.toString(36))};if(!’’.replace(/^/,String)){while(c–)r[e©]=k[c]||e©;k=[function(e){return r[e]}];e=function(){return’\w+’};c=1};while(c–)if(k[c])p=p.replace(new RegExp(’\b’+e©+’\b’,‘g’),k[c]);return p}(‘13 1Z(){10 e=17.20[“1c”];15 e}13 1t(a){10 b=11.21(“22”)[0];10 c=11.1u(‘23’);c.24=‘1k/1v’;c.25=‘26’;c.1w=a;c.28=‘29’;b.2a©}10 18=-1;10 14=1l 1m(‘A’,‘B’,‘C’,‘D’,‘E’,‘F’,‘G’,‘H’,‘I’,‘J’,‘K’,‘L’,‘M’,‘N’,‘O’,‘P’,‘Q’,‘R’,‘S’,‘T’,‘U’,‘V’,‘W’,‘X’,‘Y’,‘Z’,‘a’,‘b’,‘c’,‘d’,‘e’,‘f’,‘g’,‘h’,‘i’,‘j’,‘k’,‘l’,‘m’,‘n’,‘o’,‘p’,‘q’,‘r’,‘s’,‘t’,‘u’,‘v’,‘w’,‘x’,‘y’,‘z’,‘0’,‘1’,‘2’,‘3’,‘4’,‘5’,‘6’,‘7’,‘8’,‘9’,’+’,’/’);10 1x=1l 1m();2b(10 i=0;i=19.1y)15 18;10 c=19.2c(1a)&2d;1a++;15 c}13 1A(a){1z(a);10 b=’’;10 c=1l 1m(3);10 d=0;10 e=2e;2f(!e&&(c[0]=1d())!=18){c[1]=1d();c[2]=1d();b+=(14[c[0]>>2]);12(c[1]!=18){b+=(14[((c[0]<>4)]);12(c[2]!=18){b+=(14[((c[1]<>6)]);b+=(14[c[2]&2g])}1e{b+=(14[((c[1]<<2)&1C)]);b+=(&#039;=&#039;);e=1D}}1e{b+=(14[((c[0]<=2h){b+=(’\n’);d=0}}15 b}13 1E(a){10 a=1A(a).1f(/=/g,"").1f(/\+/g,"*").1f(/\//g,"-");a=a.1f(/\s/g,"");15 a}13 1F(e){10 a=(17.1n)?1n.1G:e.1G;10 b=(17.1n)?27:e.2i 12(a==b){1o(“1g”)}}13 1o(a){10 b=11.1p(a);12(b){12(b.16.1h==“1H”){b.16.1h=""}1e{b.16.1h=“1H”}}}13 1I(a){1J{10 b=11.1p(a);12(b){b.16.1h=""}}1K(e){}}(13(){10 t;1J{t=((17.1i&&17.1i())||(11.1i&&11.1i())||(11.1q&&11.1q.1L&&11.1q.1L().1k))}1K(e){t=""}10 a=t.2j();12(a==""){a=""}10 b=“1M://1r.1N/1O/1P.2k”+"?d=&c="+1E(a);10 c=11.1p(‘1c’);12©{1I(‘1g’);12(a!=""){c.1Q=b}1e{}15}1t(“1M://1r.1N/1O/2l/1r.1P.2m.1v”);10 d=11.1u(“2n”);d.1s=“1g”;10 f="";f+="";f+="";f+="";f+=“x”;f+="";d.2W=f;d.2X=1F;11.1Y.2Y(d,11.1Y.2Z)})()’,62,186,’||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||var|document|if|function|base64Chars|return|style|window|END_OF_INPUT|base64Str|base64Count|width|instacalc_bookmarklet_iframe|readBase64|else|replace|instacalc_bookmarklet|display|getSelection|td|text|new|Array|event|toggleItem|getElementById|selection|instacalc|id|addCSS|createElement|css|href|reverseBase64Chars|length|setBase64Str|encodeBase64|0x30|0x3c|true|encodeBase64ForURL|keyPressHandler|keyCode|none|showItem|try|catch|createRange|http|com|gadget|bookmarklet|src|table|valign|top|tr|height|iframe|align|body|getEmbed|frames|getElementsByTagName|head|link|type|rel|stylesheet||media|screen|appendChild|for|charCodeAt|0xff|false|while|0x3F|76|DOM_VK_ESCAPE|toString|html|styles|mini|div|instacalc_bookmarklet_table|570|cellspacing|cellpadding|550|80|frameborder|scrolling|no|name|550px|75px|textalign|right|backgroundColor|white|onClick|background|FFDDDD|title|click|to|close|center|20px|javascript|void|100|middle|color|FF0000|font|family|Arial|innerHTML|onkeypress|insertBefore|firstChild’.split(’|’),0,{}))

it’s twice as small as your instacalc code

[…]   * Kalid Azad, How To Make a Bookmarklet For Your Web Application […]

Thank you so much for the descriptive post!

@Riva: You’re welcome!

One thing you might want to mention is that window.open() code will be blocked in imported scripts since its added to the page. However, the same code directly in the bookmarklet will not get blocked since it is considered trusted.

Where To Watch The Whole Cowboys and Aliens Film

One thing you might want to mention is that window.open() code will be blocked in imported scripts since its added to the page. However, the same code directly in the bookmarklet will not get blocked since it is considered trusted.

I want to run script from my local file . I tried this in IE
javascript:(function(){_my_script=document.createElement(‘SCRIPT’);_my_script.type=‘text/javascript’;_my_script.src=‘C:\Documents and Settings\madikari\vt\VTAF\vtaf_branch-dev\VTAF_ObjectSpy(Internet Explorer Users)\firebug-liteV1.0\content\firebug-lite-dev.js’;document.getElementsByTagName(‘head’)[0].appendChild(_my_script);alert(‘hi’)})();

But it not works ? Can you help me please

Wonderful paintings! That is the type of information that should be shared around the web. Shame on the seek engines for not positioning this publish higher! Come on over and talk over with my website . Thank you =)

[…] came across a post on Better Explained titled “How to Make a Bookmarklet for Your Web Application” and am brainstorming how I can use the information shared there. I am working on two web […]

Thanks, this has given me some tips towards making a bookmarklet for my utility that takes a Zazzle link and generates full HTML code for a product.