跳转到内容

用戶指令碼

本页使用了标题或全文手工转换
维基百科,自由的百科全书
(重定向自用戶腳本

用戶腳本(英語:Userscript)是一种程序,通常用JavaScript编写,可用于修改网页代碼以增强用戶的浏览體驗。具體用途有添加網頁的快捷按钮,控制視頻播放速度以及为网站添加其他功能。[1][2]Firefox瀏覽器等桌面浏览器上,Userscript是通过瀏覽器擴充功能中的脚本管理器英语Userscript manager(例如Greasemonkey)启用的。在维基百科上,注册用户也可以启用用户脚本功能,他们可以安装用户脚本以增强他們编辑和瀏覽维基百科的體驗。[3]

参考文献

  1. ^ 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. 
  2. ^ userScripts - Mozilla | MDN. developer.mozilla.org. [2021-06-21]. (原始内容存档于2022-03-18). 
  3. ^ 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.