Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I typed simple Javascript codevas following in your bookmarkify.it

    alert(1);
It gave output as:

    javascript:(function(){window.s0=document.createElement('script');window.s0.setAttribute('type','text/javascript');window.s0.setAttribute('src','https://bookmarkify.it/bookmarklets/6804/raw');document.getElementsByTagName('body')[0].appendChild(window.s0);})();
So every time this bookmarklet is clicked, a http request goes to your website, and then the code executed? I can see the possible use of this in super duper long javascript code, but why this trip even for simplest code?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: