Back to front pageView on Hacker News (opens in a new tab)Ask HN: Projects that don't make you money but you're doing it out of sheer joy?488 pointsby superasn (on Hacker News)9 years agoComments (569) 298 threadsShow all commentsShowing thread 161 of 298[-]mosselman9 years ago1 reply#https://cadodo.nl/en - Create wish lists for your next birthday/wedding/etchttps://bookmarkify.it - Create javascript bookmarkletshttps://github.com/abuisman/freudjs - Component library in JS for when view libraries like React are overkilldavchana9 years ago#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?
Ask HN: Projects that don't make you money but you're doing it out of sheer joy?488 pointsby superasn (on Hacker News)9 years ago
mosselman9 years ago1 reply#https://cadodo.nl/en - Create wish lists for your next birthday/wedding/etchttps://bookmarkify.it - Create javascript bookmarkletshttps://github.com/abuisman/freudjs - Component library in JS for when view libraries like React are overkill
davchana9 years ago#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?
Comments (569) 298 threads
Show all comments
Showing thread 161 of 298
https://bookmarkify.it - Create javascript bookmarklets
https://github.com/abuisman/freudjs - Component library in JS for when view libraries like React are overkill