用户脚本
用户脚本(英语:Userscript)是一种程序,通常用JavaScript编写,可用于修改网页代码以增强用户的浏览体验。具体用途有添加网页的快捷按钮,控制视频播放速度以及为网站添加其他功能。[1][2]在Firefox浏览器等桌面浏览器上,Userscript是通过浏览器扩展中的脚本管理器(例如Greasemonkey)启用的。在维基百科上,注册用户也可以启用用户脚本功能,他们可以安装用户脚本以增强他们编辑和浏览维基百科的体验。[3]
参考文献
- ^ User script. Computer Hope Dictionary. Computer Hope. 2017-04-26 [2017-08-19]. (原始内容存档于2021-12-27).
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.
- ^ userScripts - Mozilla | MDN. developer.mozilla.org. [2021-06-21]. (原始内容存档于2022-03-18).
- ^ Broughton, John. https://archive.org/details/wikipediamissing00brou_0/page/401
|chapterurl=
缺少标题 (帮助). Chapter 21: Easier Editing with JavaScript. 欧莱礼媒体. 2008: 401. ISBN 978-0596515164.You can customize Wikipedia in ways that make your editing easier with user scripts, which are written in JavaScript code.