Content deleted Content added
m Bot: http → https |
|||
(27 intermediate revisions by 21 users not shown) | |||
Line 1:
{{Short description|Program usually written in JavaScript for modifying web pages}}
{{for|use of userscripts on Wikipedia|Wikipedia:User scripts|selfref=y}}
A '''userscript''' (or '''user script''') is a program, usually written in [[JavaScript]], for modifying [[web page]]s<ref>{{Cite web |date=2017-04-26 |title=User script |url=https://www.computerhope.com/jargon/u/userscri.htm |access-date=2017-08-19 |website=Computer Hope Dictionary |publisher=Computer Hope |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.}}</ref> to [[augmented browsing|augment browsing]]. Uses include adding shortcut buttons and keyboard shortcuts, controlling playback speeds, adding features to sites, and enhancing the [[browsing history]].<ref>{{Cite web |title=userScripts - Mozilla | MDN |url=https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/userScripts |website=developer.mozilla.org |access-date=2021-06-21}}</ref>
|quote=User JavaScript allows you to specify local JavaScript files for Opera to include on every page that you visit.}}</ref>) are placed in a designated directory. Userscripts are often referred to as [[Greasemonkey]] scripts, named after the original userscript manager for Firefox. ▼
▲
On Wikipedia, a [[Wikipedia:User_scripts|user scripts]] feature is enabled for registered users that allows them to install userscripts to augment editing and viewing of the encyclopedia's pages.<ref>{{cite book |last=Broughton |first=John |year=2008 |chapter=Chapter 21: Easier Editing with JavaScript |title=Wikipedia: The Missing Manual |chapter-url=https://archive.org/details/wikipediamissing00brou_0/page/401 |publisher=[[O'Reilly Media]] |page=[https://archive.org/details/wikipediamissing00brou_0/page/401 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. |chapter-url-access=registration }}</ref>▼
▲On Wikipedia, a [[Wikipedia:
== Userscript managers ==
Line 27 ⟶ 16:
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.
Historically (circa 2005–2011) userscripts.org, created by American programmer Jesse Andrews, was the largest such repository for userscripts. Over time, the site was transitioned between various maintainers before it went offline completely in May 2014.<ref>{{Cite web |date=May 9, 2014 |title=Userscripts.org down for good? Here are alternatives - gHacks Tech News |url=https://www.ghacks.net/2014/05/09/userscripts-org-good-alternatives/ |website=gHacks Technology News |access-date=2021-06-13}}</ref> All that remains is a mirror, which is useful for archival purposes.<ref>
A handful of the most active contributors in the userscripts.org community<ref>
Users of the [[Greasemonkey]]<ref>
== References ==▼
{{Reflist}}▼
== See also ==
Line 40 ⟶ 26:
* [[List of augmented browsing software]]
* [[Scripting language]]
▲== References ==
▲{{Reflist}}
== External links ==
* [https://greasyfork.org/ Greasy Fork]
* [https://openuserjs.org/ OpenUserJS]
* [https://userscripts-mirror.org/ Userscripts.org archival mirror]
|