Userscript

A userscript (or user script) is a program, usually written in JavaScript, for modifying web pages[1] to augment browsing. On desktop browsers such as Firefox, they are enabled by use of a userscript manager browser extension such as Greasemonkey or Scriptish. The Presto-based Opera browser supported userscripts (referred as User JavaScript[2]) placed in a designated directory. Userscripts are often referred as Greasemonkey scripts, named after the original userscript manager for Firefox.

On Wikipedia, a User scripts feature is enabled for registered users that allows them to install userscripts to augment editing and viewing of the encyclopedia's pages.[3]

Userscript managers

A userscript manager is a type of browser extension and augmented browsing technology that provides a user interface to manage scripts. The main purpose of a userscript manager is to execute scripts on webpages as they are loaded. The most common operations performed by a userscript manager include downloading, creating, installing, organizing, deleting and editing scripts, as well as modifying script permissions (e.g. website exceptions).

In Firefox for Android phones, the Greasemonkey and Unified Script Injector add-ons are available as userscript managers. Tampermonkey is a Greasemonkey alternative for popular Android browser apps such as Dolphin and UC Browser. Subhash Browser for Android runs bookmarklet-style userscripts.

Userscript repositories

One aspect of userscripts is that they can be shared. They can be uploaded to a userscript repository where they become available to other users for downloading. Some examples of userscript repositories include Greasy Fork, OpenUserJS, and Userscripts.org.

References

  1. "User script". Computer Hope Dictionary. Computer Hope. 2017-04-26. Retrieved 2017-08-19. script that is run in a Web browser to make live changes to a Web page. These scripts are oftentimes used to add some functionality to a page or to change its appearance. These are typically written in JavaScript, but can be written in other languages as well.
  2. "User JavaScript". Opera.com. Opera.com. 2012-06-02. Retrieved 2017-08-31. User JavaScript allows you to specify local JavaScript files for Opera to include on every page that you visit.
  3. Broughton, John (2008). "Chapter 21: Easier Editing with JavaScript". Wikipedia: The Missing Manual. O'Reilly Media. p. 401. ISBN 978-0596515164. You can customize Wikipedia in ways that make your editing easier with user scripts, which are written in JavaScript code.

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.