Grease Monkey


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Grease Monkey

  1. 1. Grease Monkey Interactive Media Device By Jessica Brown
  2. 2. What is it? <ul><li>Grease monkey is an extension of Mozilla Firefox that allows users to install scripts when they are needed to most HTML Web pages. </li></ul><ul><li>Examples: </li></ul><ul><li>Fixing or rendering bugs </li></ul><ul><li>Combining data from multiple Web pages </li></ul>
  3. 3. Details <ul><li>Grease monkey user scripts are written by hand using a JavaScript code which manipulates contents of Web page using the Document Object Model Interface. </li></ul><ul><li> maintains a database of Grease monkey scripts, and for each one it lists the URLs of web pages to which the scripts pertain. </li></ul>
  4. 4. More Details <ul><li>Writing a Grease monkey script is similar to writing JavaScript for a web page, with some additional restrictions imposed by the security provisions of Mozilla's XPCNativeWrappers. </li></ul><ul><li>In addition to JavaScript code, Grease monkey scripts contain limited optional metadata, which specifies the name of the script, a description, a namespace URL used to differentiate identically named scripts, and URL patterns for which the script is intended to be invoked or not. </li></ul>
  5. 5. Typical Grease Monkey Scripts <ul><li>Auto fill forms. </li></ul><ul><li>Alter the formatting of text, borders, graphics, etc. </li></ul><ul><li>Remove specific content, such as advertising, pop-ups, even whole sections of a page. </li></ul><ul><li>Alter content and layout beyond what the page author considered. </li></ul>
  6. 6. More Scripts <ul><li>Add links, buttons, or any other type of HTML element anywhere on the page. </li></ul><ul><li>Enhance the content of pages by correlating information from related pages on the same site, or other sites. </li></ul><ul><li>Add extended JavaScript behavior to pages. </li></ul>
  7. 7. Problems <ul><li>Possible disruption to revenue of some Websites. </li></ul><ul><li>Increases in the Web traffic that arise from some scripts. </li></ul><ul><li>The proliferation of scripts acting on many pages and the difficulty of distinguishing whether problems in a page are caused by actual Web-programming bugs or by local Grease monkey scripts, may make troubleshooting defects more difficult. </li></ul>
  8. 8. More Problems <ul><li>Script errors resulting from lack of coordination between Grease monkey developers and the original Website developers. </li></ul><ul><li>Grease monkey only works on HTML-based pages, and does not work on Java, Flash, Flex, and Silver light content within Web pages. </li></ul><ul><li>Rich Internet Applications are more difficult for a Grease monkey script developer to control than static Web pages. </li></ul><ul><li>The original site developers can release a new version of the site that causes the Grease monkey script designed for that site to stop working. </li></ul><ul><li>There is no official way for user scripts to update themselves; some developers added such functionality to their user scripts but most of them remain static and eventually break. </li></ul>