bookmarklet

convert jquery greybox into favelet

Hi anyone can help me with converting this into a bookmarklet to load an external site in a iframe inside an overlay like how it is done on http://jquery.com/demo/grey/ thnx ...

Find and replace in a webpage using javascript.

What I want to do is replace all instances of 'foo' in a webpage with 'bar' in a JS bookmarklet/greasemonkey script. How can I do this? I suppose jQuery works, as there're hacks to include those in both bookmarklets and greasemonkey scripts. ...

Find all instances of 'old' in a webpage and replace each with 'new', using a javascript bookmarklet.

What I want to do is replace all instances of 'old' in a webpage with 'new' in a JS bookmarklet or a greasemonkey script. How can I do this? I suppose jQuery or other frameworks are okay, as there're hacks to include them in both bookmarklets as well as greasemonkey scripts. ...

How would i create a bookmarklet like the one provided with delicious

So a user would add a "add bookmart to the website" bookmark on their bookmarks and when they click it, a page would open and it would take the URL of the website that they were on when they clicked the bookmark... If it matters, i'm trying to build the website on Rails, and i'm in very beginning stages, and i just wanted some ideas on ...

Why won't my bookmarklet work?

I have a commenting tool that can be included on a page simply by adding a script tag to the <head>. This works fine, and I've made a Greasemonky script and Firefox plugin that do just that, and putting it manually on a site works fine too. However I'm trying to make a bookmarklet: javascript:(function(){var%20ormeo=document.createEleme...

How can I store objects between bookmarklet calls?

I wrote some bookmarklets to automate some tasks on a webpage. I'd like to be able to store a value somehow, so that when I run a bookmarklet the second time, it will see that it exists, and try to use it. I'd like to be able to do that using pure javascript. Kind of like greasemonkey's storage. ...

Stop safari evaluating document.location before saving a bookmarklet (favelet)

Hi I have created a very simple bookmarklet to submit the url of the site currently being viewed to a script: javascript:document.location%20=%20'http://www.example.com/script?user=___&amp;key=___&amp;url='+document.location I serve this as a link on an HTML page that a user can drag up into his or her bookmarks toolbar or wherever. ...

Conceptual: bookmarklet to create a header form and remove it again after submit

Hi So I've been pondering this for some time and trying out various strategies. Basically I'm trying to create a bookmarklet that, when clicked, pops up a header on whatever page you happen to be on. In this header, there is a small form, the contents of which are submitted to a server. Once this is submitted, the header should disappea...

How can a bookmarklet access a Firefox extension (or vice versa)

I have written a Firefox extension that catches when a particular URL is entered and does some stuff. My main app launches Firefox with this URL. The URL contains sensitive information so I don't want it being stored in the history. I'm concerned about the case where the extension is not installed. If its not installed and Firefox ...

Bookmarklet - grabbing videos from other sites

Hi I want to grab videos from other sites (youtube.com, vimeo.com) via bookmarklet. I have created bookmarklet. It works for "selectd text" and "images" but how to do with videos? Any Idea? Thanks in Advance. ...

Bookmarklet to force IE6 to start autorefreshing a page?

One of my coworkers needs a piece of data from a 3rd party website. That data gets posted to a site each morning at an arbitrary time. He has to sit there and click refresh in his browser every 10 seconds until it shows up. He asked me if I could write something to make that page auto refresh every X seconds so he can leave it open on o...

Bookmarklet script too long to create application shortcut.

I figured out how to create a bookmarklet for Google Analytics that opened to immediately show only today's stats. I wanted to make a Google Chrome application shortcut for this to go along side my other Google Apps shortcuts, but the first problem is that it only creates an application with the current url, which displays today's info ...

Bookmarklet behind elements

I have a bookmarklet that will come up with a iframe that will load a web form I have. On most site, it works fine with the bookmarklet on top of every element in the current html page. But for certain sites with a lot of javascript loading (e.g. meebo.com), the loaded iframe will go below. How can i troubleshot this? Thanks. attached sc...

Close a bookmarklet after submitting form

This is related to question "http://stackoverflow.com/questions/1360618/bookmarklet-behind-elements". I want to either self close the iframe after form submission or if not possible, add a close button with the iframe to close it. my bookmarklet at the moment is javascript:(function(){var iFrame=document.createElement('IFRAME');iFram...

Change all links that have an image in it to: javascript(alert(thehref));

Change all links that have an image in it to: javascript(alert(thehref)); eg. <a href="/galleries/anna-leah-111827/image01.html"><img src="/source_galleries/anna-leah-111827/tn/01.jpg"></a> <a href="/galleries/23435/image01.html">ssss</a> becomes <a href="/galleries/anna-leah-111827/image01.html" onclick="alert(this.href)"><img src=...

Bookmarklet Image Question

I'm trying to make bookmarklet to IF(url ends in .jpg || .png || .jpeg) dosomething(the url) ELSE onhover of any image, put a 50% opacity red cover over it. And onclick something(this.src) Catch, there might be a link already around it: ...

Is there a way to automatically convert a Greasemonkey script into a bookmarklet?

For those who don't know what a bookmarklet is: http://en.wikipedia.org/wiki/Bookmarklet ...

How to to dump JS array... (boommarklet?)

A page on a site I use is holding some of my data hostage. Once I have logged into the site and navigated to the right page, the data I need is in the array eeData[] - it is 720 elements long (once every 2 minutes of a given day). Rather than simulate the requests to the underlying stuff json supplier and since its only once a day, I am...

What are the issue with putting markup outside <body> ?

I have a bookmarklet storing a lot of DOM data, but I would love to avoid to put them out of the body tag so the script in the page won't mess with it. Semantic value is not an issue for once, but I would like to know : will it trigger some browser behaviour ? will it still be accessible in the DOM ? can I display it using absolute po...

How do I access currently selected text from a bookmarklet, while on gmail.com

I'm using FF 3.5.3 on Windows Vista. This is my (edited for shortness) bookmarklet: javascript:(function(){ var text = window.content.getSelection().toString(); alert(text); })(); Works, but not on gmail.com. Probably due to dynamicly generated content. I'm aware of this workaround, but it only works for Firefox extensions. ...