I'm trying to make a javascript bookmarklet that will act as a highlighter, changing the background of selected text on a webpage to yellow when the bookmarklet is pressed.  I'm using the following code to get the selected text, and it work...
How can I load an external JavaScript file using a bookmarklet?  This would overcome the URL length limitations of IE and generally keep things cleaner....
I noticed that if I have a gmail tab open with conversation view on/off, and then I open another tab and change the conversation view setting, my original tab stays in the conversation view state it started in such as when doing new searches etc. and...
I want to find or make a bookmarklet that will validate the html content of a currently viewed page using the W3C HTML 5 validator.  I have found two bookmarklets and am trying to get one to behave a bit like one and a bit like the other, however I a...
I have this little bookmarklet:  javascript:document.getElementsByTagName("div")[0].innerHTML+="Chuck Norris";   Now it's obviously supposed to take the very first div on the page, and add Chuck Norris into it.  Instead, when past...
I want to create a Delicious bookmarklet in Firefox that bookmarks the current page with a predefined tag.  For proof of concept, if I enter this url, it works:  https://john:[email protected]/v1/posts/add?url=http://www.google.com&     descrip...
By searching here, I now have two bookmarklets, which switch from/to HTTP/HTTPS :-  javascript:location=location.href.replace(/http:/g,"https:")   And ...  javascript:location=location.href.replace(/https:/g,"http:")   But is there a...
I am trying to make a bookmarklet that when clicked will check the URL of the current tab/window to see if it contains 'char1' and/or 'char2' (a given character). If both chars are present it redirects to another URL, for the other tw...
In CoffeeScript, though this code is almost identical to JavaScript:  tabs_html = "<div id='nm-container'><ul><li><a href='#tabs-1'>Guidelines</a></li><li><a href='#tabs-2'>T...
This website:  http://nautil.us/  has a really annoying header that is always on screen and won't scroll away.  If I right-click on it and 'inspect element' in firefox, then I find that the css contains "position: fixed;", and if...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.