Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 1.45 KB

README.textile

File metadata and controls

13 lines (7 loc) · 1.45 KB

Bookmarklets

Info on what a bookmarklet is: http://www.bookmarklets.com/about/

Create Gmail Mailto Links will convert all mailto links into links that will open gmail. This is unnecessary in Firefox 3+.

javascript:(function(){var%20script=document.createElement('script'),src=typeof(Sizzle)!='undefined'?'http://github.com/RyanS/Bookmarklets/raw/master/release/bookmarklets.min.js':'http://github.com/RyanS/Bookmarklets/raw/master/release/bookmarklets_with_sizzle.min.js';window.__bf__='g_mailto_links()';script.src=src+'?'+(new%20Date().getTime());document.body.appendChild(script);})();

Highlight DOM elements with inline styles This will highlight all DOM elements that have an inline style with a red border. Useful when trying clean up a page. Does not differentiate between styles that were added with Javascript and styles that were already applied to the markup. Can’t quite figure out how I would do that.

javascript:(function(){var%20script=document.createElement('script'),src=typeof(Sizzle)!='undefined'?'http://github.com/RyanS/Bookmarklets/raw/master/release/bookmarklets.min.js':'http://github.com/RyanS/Bookmarklets/raw/master/release/bookmarklets_with_sizzle.min.js';window.__bf__='find_style_attributes()';script.src=src+'?'+(new%20Date().getTime());document.body.appendChild(script);})();

In order to get these to work create a new bookmark and copy the text in the

code section
in to the address part of the bookmark.