Poll

did you put any in your bookmarks bar? PS! THIS IS NOT SPAM! it will not affect any internet access and it can not find your private data!

no
10 (55.6%)
only one
2 (11.1%)
i put in two
0 (0%)
i got three
1 (5.6%)
i have four
0 (0%)
I GOT FIVE OR MORE!
2 (11.1%)
5+ and added my own to this topic
2 (11.1%)
I ADDED ALL OF THEM!!!
1 (5.6%)

Total Members Voted: 18

Author Topic: bookmarklets  (Read 3222 times)


if you dont know what to do to add bookmarklets, here is another guide.

1.   find a bookmarklet.

2. make sure you read what it does.

3. select the code.

4. copy code.

5. in google chrome, go to options.

6. go to bookmarklets

7. select "manage bookmarklets"

8. right click.

9. click new page.

10. paste your code where it says "url"

11. add a name for the bookmarklet.

12. the bookmarklet should be in your bookmarks bar now.


 i have more bookmarklets :D


Code: [Select]
javascript:(function(){var i, nd; function copyChildren(a,b){var i, nn; for(i=0;i<a.childNodes.length;++i) { nn = a.childNodes[i].cloneNode(true); if(nd.importNode) nn = nd.importNode(nn, true); b.appendChild(nn); } } nd=window.open().document; nd.open(); nd.close(); /*140681*/ copyChildren(document.getElementsByTagName("head")[0], nd.getElementsByTagName("head")[0]); copyChildren(document.body, nd.body);})();
this pretty much copies the window you are on, and pastes it in a new tab.

Code: [Select]
javascript:tdy6Nb5=new Date();w2RtxZ=tdy6Nb5.getYear();tG82Nu=(w2RtxZ<2000)?w2RtxZ+1900:w2RtxZ;YbU7v3w='December 31,'+tG82Nu;var eY2FH9t=new Date(YbU7v3w);alert('Number of days left this year: '+Math.round((eY2FH9t.getTime()-tdy6Nb5.getTime())/86400000))
too lazy to count how much days are left this year, this tells you how much days are left, for you.

these are just a couple more bookmarklets for you people. also dont forget to add your own bookmarklets to the page, only one person has other than me SO FAR ._.
« Last Edit: January 19, 2012, 06:26:07 AM by blobo »

Code: [Select]
javascript:var s = document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://jsnyan.co.cc/nyan.js';void(0);
nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan "NYAN CAT!"

if you dont know what to do to add bookmarklets, here is another guide.

1.   find a bookmarklet.
2. make sure you read what it does.
3. select the code.
4. copy code.
5. in google chrome, go to options.
6. go to bookmarklets
7. select "manage bookmarklets"
8. right click.
9. click new page.
10. paste your code where it says "url"
11. add a name for the bookmarklet.
12. the bookmarklet should be in your bookmarks bar now.

Or you could do it the easy way. Press Ctrl B if you don't already have the bookmarks visible and highlight the code and drag it to the bookmarks toolbar. Yay.

Or you could do it the easy way. Press Ctrl B if you don't already have the bookmarks visible and highlight the code and drag it to the bookmarks toolbar. Yay.
Don't forget to name it so your bookmarks bar isn't cluttered with random unnamed bookmarks.

agreed. here is another bookmarklet.

Code: [Select]
javascript:tdy6Nb5=new Date();w2RtxZ=tdy6Nb5.getYear();tG82Nu=(w2RtxZ<2000)?w2RtxZ+1900:w2RtxZ;YbU7v3w='December 25,'+tG82Nu;var eY2FH9t=new Date(YbU7v3w);alert('Number of days left until Christmas: '+Math.round((eY2FH9t.getTime()-tdy6Nb5.getTime())/86400000))
this counts down until christmas. until the new year it says -? if it's after christmas.

« Last Edit: December 22, 2011, 09:03:04 AM by blobo »

its been a while since i added any bookmarklets, so here are two more "fun" bookmarklets.

Code: [Select]
javascript:(function(){var newSS, styles='* { background: black ! important; color: white !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })();
this turns the color of the background black and text white. only works on SOME sites, but blockland forums is one of those :D

Code: [Select]
javascript:(function(){var newSS, styles='* { background: white ! important; color: black !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })();
this one turns all extra colors on the site ( including background ) white. again only works on SOME sites.
« Last Edit: January 19, 2012, 06:36:32 AM by blobo »

ok, ive made a few codes so all these do is set the color of the background to a  new color. they are just like the black and white, but now they are colors. here you go.

Code: [Select]
javascript:(function(){var newSS, styles='* { background: hotpink ! important; color: black !important } :link, :link * { color: green !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); PINK

Code: [Select]
javascript:(function(){var newSS, styles='* { background: red ! important; color: Black !important } :link, :link * { color: blue !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); RED

Code: [Select]
javascript:(function(){var newSS, styles='* { background: orange! important; color: black !important } :link, :link * { color: purple !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); ORANGE

Code: [Select]
javascript:(function(){var newSS, styles='* { background: yellow ! important; color: black !important } :link, :link * { color: purple !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); YELLOW

Code: [Select]
javascript:(function(){var newSS, styles='* { background: Green ! important; color: white !important } :link, :link * { color: yellow !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); GREEN

Code: [Select]
javascript:(function(){var newSS, styles='* { background: turquoise ! important; color: black !important } :link, :link * { color: yellow !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); TURQUOISE

Code: [Select]
javascript:(function(){var newSS, styles='* { background: blue ! important; color: white !important } :link, :link * { color: green !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); BLUE

Code: [Select]
javascript:(function(){var newSS, styles='* { background: purple ! important; color: white !important } :link, :link * { color: yellow !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); PURPLE

Code: [Select]
javascript:(function(){var newSS, styles='* { background: grey ! important; color: black !important } :link, :link * { color: white !important } :visited, :visited * { color: #FFFFFF !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })(); GREY