Bookmarklets to User Scripts
Bookmarklets to User Scripts is a Greasemonkey script that lets you turn any bookmarklet into a Greasemonkey script. The bookmarklet will then run every time a page in the included-sites list is loaded. If you find yourself using certain bookmarklets every time you go to certain pages, this script is for you.
May 16th, 2005 at 8:47 am
This is great! This is a mini-revolution on the web. I wonder if it can spread beyond those of us already comfortable with things like bookmarklets.
– A
May 16th, 2005 at 3:53 pm
Thanks, Jesse. I wanted to do this myself. :)
May 21st, 2005 at 3:25 pm
Can I make it execute the same bookmarklet more than one time on the same page? This would be very helpfull in the Blogger edit template site!
May 21st, 2005 at 4:12 pm
børge, do you want the bookmarklet to execute twice when the page loads? If so, edit the .user.js to include two copies of the bookmarklet or use “for (var times=0; times < 2; ++times) { … }”
May 22nd, 2005 at 10:06 am
I want it to execute about 5 times or so! Where should I put that line? I don’t know anything about JS or User Scripts or anything..
Thanks! :)
May 27th, 2005 at 10:25 pm
I’m a bit lost when you say, “install any bookmarklet” as a user script. Am I to edit this userscript by adding the contents of any particular bookmarklet?
For example, if I want this bookmarklet to run on certain sites…
javascript:resizeTo(800,600)
…how would I get that bookmarklet installed?
Sorry if I’m sounding positively noobish.
May 27th, 2005 at 11:04 pm
Brandon,
1. Install “Bookmarklets to User Scripts”.
2. Go to a page that has the javascript:resizeTo(800,600) bookmarklet.
3. You should see a monkey icon next to the bookmarklet in the page. (If not, add this page to the included-sites list for “Bookmarklets to User Scripts”.)
4. Right-click the monkey icon next to the bookmarklet and select “Install user script…”.
5. Set the included-sites list for your new user script to the sites you want it to run on.
May 29th, 2005 at 6:25 am
Whatever Greasemonkey version I install on Firefox 1.0.4 or 1.0+ (I tried 0.3.3 and 0.3.4), when I rightclick the monkey next to the bookmarklet I don’t see “Install user script” in my context-menu. I see only a tooltip.
June 4th, 2005 at 6:56 pm
Excellent! I have now “ZAP WHITEBACKGROUND” bookmarklet auto-execute with Greasemonkey. The bookmarklet however does not quite work on this page; the main white background stays.
June 4th, 2005 at 8:27 pm
The “zap white background” bookmarklet doesn’t work here because the “white background” on this page is part of a background image, http://www.squarefree.com/wp-content/themes/default/images/kubrickbgwide.jpg, rather than an element with a normal white background.
June 9th, 2005 at 1:26 pm
[…] emonkey scripts Filed under: Internets, Greasemonkey — admin @ 10:24 pm (via Squarefree.com) Bookmarklets to User Scripts is a Greasemonkey script th […]
August 10th, 2005 at 9:09 pm
mara proclaimed: “Whatever Greasemonkey version I install on Firefox 1.0.4 or 1.0+ (I tried 0.3.3 and 0.3.4), when I rightclick the monkey next to the bookmarklet I don’t see “Install user script†in my context-menu.”
same here. what am i doing wrong?
August 11th, 2005 at 3:25 pm
Me too … firefox 1.0.4 how to install .js ?
August 11th, 2005 at 3:30 pm
Me too … firefox 1.0.4 how to install .js ?
Oh, I got it … you have to install grease monkey and completely exit firefox.
then the install script buttons appear
my dnld manager was still open when I closed it the first time
August 18th, 2005 at 5:29 pm
That was http://bugzilla.mozdev.org/show_bug.cgi?id=11236 , which should be fixed in the next version of Greasemonkey after 0.5.
Workaround: right-click the space between the monkey icon and the bookmarklet.