跳至內容

用戶指令碼

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

用戶指令碼(英語: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.