The term userscript may refer to the JavaScript code or the userscript descriptor. A userscript is typically JavaScript code that is executed on a web page when rendered in a user's browser. These scripts are usually configured by users to add additional functions on web pages they are visiting. A browser add-on allows users to add userscripts and define on which web pages they should run- These userscripts as supported by browser add-ons. The code contains its metadata in a comment section. Userscripts for Confluence provides the metadata in form of an JSON external descriptor with a reference to the script. Both, the descriptor and the JavaScript code form the userscript. |