请输入您要查询的百科知识:

 

词条 Userscript
释义

  1. Userscript managers

  2. Userscript repositories

  3. References

  4. See also

  5. External links

{{about||use of userscripts on Wikipedia|:Wikipedia:User scripts}}

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

{{Main|Userscript manager}}

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).

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. ^{{cite web |url=https://www.computerhope.com/jargon/u/userscri.htm |title=User script |date=2017-04-26 |website=Computer Hope Dictionary |publisher=Computer Hope |access-date=2017-08-19 |quote=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. ^{{cite web |url=https://www.opera.com/docs/userjs/ |title=User JavaScript |date=2012-06-02 |website=Opera.com |publisher=Opera.com |access-date=2017-08-31 |quote=User JavaScript allows you to specify local JavaScript files for Opera to include on every page that you visit.}}
3. ^{{cite book |last=Broughton |first=John |year=2008 |chapter=Chapter 21: Easier Editing with JavaScript |title=Wikipedia: The Missing Manual |url=http://shop.oreilly.com/product/9780596515164.do |publisher=O'Reilly Media |page=401 |isbn=978-0596515164 |quote=You can customize Wikipedia in ways that make your editing easier with user scripts, which are written in JavaScript code. }}

See also

  • List of augmented browsing software
  • Scripting language

External links

  • [https://www.cnet.com/how-to/getting-started-with-greasemonkey-userscripts/ Getting started with Greasemonkey userscripts] – from cnet.com

1 : JavaScript

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/20 15:38:40