0
Bookmarklets
Hi,
I have problem when sync this bookmarklets in Firefox
The code changes in http://incorrecturl/
Reveal Password
javascript:(function(){var IN,F;IN=document.getElementsByTagName('input');for(var i=0;i<IN.length;i++){F=IN[i];if(F.type.toLowerCase()=='password'){try{F.type='text'}catch(r){var n,Fa;n=document.createElement('input');Fa=F.attributes;for(var ii=0;ii<Fa.length;ii++){var k,knn,knv;k=Fa[ii];knn=k.nodeName;knv=k.nodeValue;if(knn.toLowerCase()!='type'){if(knn!='height'&&knn!='width'&!!knv)n[knn]=knv}};F.parentNode.replaceChild(n,F)}}}})()
List all Images!
javascript:Ai7Mg6P='';for (i7M1bQz=0;i7M1bQz<document.images.length;i7M1bQz++){Ai7Mg6P+='<img src='+document.images[i7M1bQz].src+'><br>'};if(Ai7Mg6P!=''){document.write('<center>'+Ai7Mg6P+'</center>');void(document.close())}else{alert('Sorry! I found no images on this page.')}
Highlight
javascript:var gtc = '#000000';%20var%20glc%20=%20new%20Array('#ffff66','#a0ffff','#99ff99','#ff9999','#ff66ff');%20function%20init_google(){%20var%20pat%20=%20/google\./i;%20if%20(pat.exec(document.referrer)%20!=%20null){%20var%20u_p%20=%20document.referrer.split('?');%20if%20(u_p[1]){%20var%20u_a%20=%20u_p[1].split('&';;%20for(var%20i=0;%20i<u_a.length;%20i++){%20var%20kv%20=%20u_a[i].split('=');%20if%20(kv[0]%20==%20'q'){%20g_g(d_u(kv[1]));%20return;%20}%20}%20}%20}%20}%20function%20d_u(url){%20return%20unescape(url.replace(/\+/g,'%20'));%20}%20function%20g_g(te){%20te%20=%20te.replace(/\"/g,"");%20var%20t_s%20=%20te.split('%20');%20var%20c%20=%200;%20for(var%20i=0;%20i<t_s.length;%20i++){%20h_g(t_s[i],%20document.body,glc[c]);%20c%20=%20(c%20==%20glc.length-1)?0:c+1;%20}%20}%20function%20h_g(te,%20container,%20color){%20var%20t_l%20=%20te.toLowerCase();%20for(var%20i=0;%20i<container.childNodes.length;%20i++){%20var%20node%20=%20container.childNodes[i];%20if%20(node.nodeType%20==%203){%20var%20data%20=%20node.data;%20var%20d_l%20=%20data.toLowerCase();%20if%20(d_l.indexOf(t_l)%20!=%20-1){%20var%20n_n%20=%20document.createElement('span');%20node.parentNode.replaceChild(n_n,node);%20var%20res;%20while((res%20=%20d_l.indexOf(t_l))%20!=%20-1){%20n_n.appendChild(document.createTextNode(data.substr(0,res)));%20n_n.appendChild(c_n_g(document.createTextNode(data.substr(res,te.length)),color));%20data%20=%20data.substr(res%20+%20te.length);%20d_l%20=%20d_l.substr(res%20+%20te.length);%20}%20n_n.appendChild(document.createTextNode(data));%20}%20}else{%20h_g(te,%20node,%20color);%20}%20}%20}%20function%20c_n_g(child,%20color){%20var%20node%20=%20document.createElement('span');%20node.style.backgroundColor%20=%20color;%20node.style.color%20=%20gtc;%20node.appendChild(child);%20return%20node;%20};init_google();
PageZipper
javascript:(function(){if(window['pgzp']){_pgzpToggleBookmarklet();}else{window._page_zipper_is_bookmarklet=true;window._page_zipper=document.createElement('script');window._page_zipper.type='text/javascript';window._page_zipper.src='//www.printwhatyoulike.com/static/pagezipper/pagezipper_10.js';document.getElementsByTagName('head')[0].appendChild(window._page_zipper);}})();
PrintWhatYouLike
javascript:(function(){if(window['ppw']&&ppw['bookmarklet']){ppw.bookmarklet.toggle();}else{window._pwyl_home='//www.printwhatyoulike.com/';window._pwyl_pro_id=null;window._pwyl_bmkl=document.createElement('script');window._pwyl_bmkl.setAttribute('type','text/javascript');window._pwyl_bmkl.setAttribute('src',window._pwyl_home+'static/compressed/pwyl_bookmarklet_10.js');window._pwyl_bmkl.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(window._pwyl_bmkl);}})();
Service d'assistance aux clients par UserEcho
Could you please, describe your actions?
I created dial with
I also created Firefox bookmark with
And managed to sync it with server. I saw the problem, when adding http:// in dial's URL. but I haven't seen http://incorrectul/
I sync bookmarks between Firefox and Chrome and every time I start synchronization in Firefox or in Chrome I have the problem
There are some bookmarklets that are synchronized correctly
same here on ff and chrome. some bookmarklets are just broken to http/incorrecturl, and on some bookmarklets are entities encoded, like from i<IN.length; to i & lt ; IN.length; so those bookmarklets are broken too.
EverSync is not the tool for working environment till it can't 100% correctly interpret bookmarklets.
Hello! Please, give us your account. We will check your data on our server. And if you remember, tell us what what original bookmark URL before it turned into http/incorrecturl or any other broken URL.
Hi, my use case is syncing between windows and ubuntu firefox.
I have the same problem too, here is the bookmarklet:
After many times try and error, I solve this problem by converted the function(){...} body into URL encode:
I think it should be fixed from the server side.
We have problems supporting javascript code as dials or bookmarks That's why we recommend not to create dials with js code.