Hack # Avoid Common Pitfalls Learn the history of Greasemonkey security and how it affects you now. Once upon a time, there was a security hole. (This is. Some of the best user scripts for the popular Greasemonkey and Tampermonkey browser extensions used to tweak website appearance and. Greasemonkey Hacks is an invaluable compendium ingenious hacks for power users who want to master Greasemonkey, the hot new Firefox extension that.


Author: Zoe Glover
Country: Israel
Language: English
Genre: Education
Published: 5 May 2017
Pages: 132
PDF File Size: 28.64 Mb
ePub File Size: 9.89 Mb
ISBN: 394-5-19135-428-8
Downloads: 73451
Price: Free
Uploader: Zoe Glover


The possibilities are limited only by your imagination and your Greasemonkey expertise. Below you'll find scripts for smoothly, correctly and automatically logging into the awards and the panelist subsystems for Fastlane.

The panelist script forcibly checks the "please don't nuke my text" box. You can get details on each HTML element, attribute, and text node. You can see all the CSS rules from each page's stylesheets. You can explore all the scriptable properties of an object. DOM Inspector is included with the Firefox installation program, but depending on your platform, greasemonkey hacks might not installed by default.

Greasemonkey Hacks

Don't worry; this will not greasemonkey hacks your existing bookmarks, preferences, extensions, or user scripts. It allows you to right-click on any element—a link, a paragraph, even the page itself—and open DOM Inspector with that element selected.

Greasemonkey hacks there, you can inspect its properties, or see exactly where it fits within the hierarchy of other elements on the page.

  • Greasemonkey scripts for NSF's Fastlane
  • Greasemonkey Hacks by Mark Pilgrim
  • Proposals and awards login

There is also a banner along the top that says "Enhanced by Butler. Butler-enhanced search results Installing from the Tools Menu My Butler user script has a home page, greasemonkey hacks not all scripts do.

Fastlane Greasemonkey scripts

Sometimes the author posts only the script itself. You can still install such scripts, even if there are no links greasemonkey hacks right-click. NoYounoobs takes care of that problem by removing the comments altogether.

Instead, you need to iterate through the collection with a for loop, and get a reference to each element separately: For example, this code will greasemonkey hacks the page element named foo and scroll the browser window to make the element visible on screen: There is no greasemonkey hacks solution to this problem.

You can programmatically move to a new page by setting window. But there is also shorthand for this. This means that setting window.


Instead, you need to explicitly set window. Calling Remote Page Scripts Occasionally, a user script needs to call a function defined by the remote page. For example, there are several Greasemonkey scripts that integrate with Gmail http: Gmail greasemonkey hacks heavily dependent on JavaScript, and user scripts that wish to extend it frequently need to call functions that the original page has defined: To solve this problem, Greasemonkey defines a special variable, unsafeWindow, which is a reference to the actual window object: You should never call methods on unsafeWindow unless you completely trust the remote page not to mess with you.

You should only ever use it as a parameter to call functions defined by the original page, or to watch window properties as shown in the next section.

Hack # Debug a User Script - Greasemonkey Hacks [Book]

Greasemonkey also defines unsafeDocument, which is the actual document object. As with unsafeWindow, you should never use it except greasemonkey hacks pass it as a parameter to page scripts that expect the actual document object.


It allows you to intercept assignments to an object's properties. For instance, greasemonkey hacks could set up a watch on the window.