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...
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...
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...
I quite like using bookmarks with small scripts in them.  For example, I have edited the note editing script from this post on Reddit to automatically save and load the last note via localstorage.  ...  window.addEventListener("load", functio...
I realize this isn't terrific from a security perspective but humor me.  Is there a way to create a bookmarklet that submits a form, such as a login form. For example, this works, but only if there is a page loaded in the current browser window:...
I often work with three variations of a web page, 1) a dev url, 2) a preview/staging url, and 3) and live url.   I would like to create a link (bookmarklet?) that I can then add to my bookmarks bar that will change part of the URL string (basically e...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.