Userscripts chrome

Author: c | 2025-04-24

★★★★☆ (4.3 / 1724 reviews)

hodl my secret

Whale (via Chrome extension or Greasemonkey userscript) Kiwi (via Chrome extension or Greasemonkey userscript) Mozilla Firefox (via Greasemonkey userscript) If you've tested it to

Download epub drm removal

Hijacking a variable with a userscript for Chrome

Userscripts are JavaScript files that are executed every time the user loads a Scratch page. They can modify the document’s HTML, add new buttons, customize Scratch editor behavior, and so much more.Similarly to userscripts that you might download for userscript managers like Tampermonkey or Greasemonkey, Scratch Addons userscripts consist of pieces of JavaScript that are executed in the same execution context as the JavaScript code from Scratch itself. In browser extension vocabulary, this execution context is often called the “main world”.Even though Scratch Addons userscripts are part of a browser extension, they cannot access any chrome.* or browser.* APIs. Instead, Scratch Addons offers an addon.* API.Declaring userscripts in the addon manifest Some changes require an extension reload from chrome://extensions to take effect, such as updating the addon manifest file.It’s not necessary to reload the extension when changing the source of an already existing userscript JavaScript file. In those cases, reloading the page is enough.Userscripts are declared inside a “userscripts” array.Each item of the array must have the following properties:"url": the relative URL to a JavaScript file."matches": the list of Scratch pages where the userscript will run. See matches for more information.Example manifest:{ "name": "Copy link to comment button", "description": "Adds a "Copy Link" button to all comments on the website, next to the "Report" button.", "userscripts": [ { "url": "userscript.js", "matches": ["projects", " "profiles", "studios"] } ], "tags": ["community"], "enabledByDefault": false}Creating your first userscript Unlike extension content scripts and Tampermonkey userscripts, you must wrap all of your code inside a module default export:// Example userscriptexport default async function ({ addon, console }) { console.log("Hello, " + await addon.auth.fetchUsername()); console.log("How are you today?");}Remember that JavaScript allows functions to be declared inside other functions, for example:export default async function ({ addon, console }) { async function sayHelloToUser() { console.log("Hello, " + await. Whale (via Chrome extension or Greasemonkey userscript) Kiwi (via Chrome extension or Greasemonkey userscript) Mozilla Firefox (via Greasemonkey userscript) If you've tested it to Whale (via Chrome extension or Greasemonkey userscript) Kiwi (via Chrome extension or Greasemonkey userscript) Mozilla Firefox (via Greasemonkey userscript) If you've tested it to chrome-extension userscript userscripts tampermonkey browser-extension greasyfork tampermonkey-userscript userscript-collection youtube-adblocker youtube-ads-skip For Chrome 120, there's an option in the either popup, or in the service worker to check for the userScripts API availability. According to Chrome documentation, userScripts API is only available when Developer mode is enabled in Chrome. First, add userScripts permission in your manifest.json: permissions : [ userScripts ] Tampermonkey Editors: Online Editor Support for Tampermonkey UserscriptsTampermonkey Editors is a free Chrome extension developed by Jan Biniok. It falls under the category of Browsers and the subcategory of Add-ons & Tools. This extension provides online editor support for userscripts created with the Tampermonkey extension.With Tampermonkey Editors, users of the Tampermonkey extension can conveniently edit their userscripts at vscode.dev. All you need to do is click on the extension's icon in the menu bar to access the online editor.Currently, Tampermonkey BETA+ is required to use this extension (the stable version will be available soon). You can download the BETA version from the Chrome Web Store.The extension offers various features such as listing scripts grouped by namespace within a folder, editing userscripts, userscript storage, and required scripts. The editor also provides warnings when there are modifications to resources in the background.However, there are a few features that are not yet available and are on the TODO list. These include file and folder search, global content search, creating new scripts, deleting scripts, filtering by enabled state, showing new scripts created in the background, and configuring the folder structure used by Tampermonkey ESLint.Overall, Tampermonkey Editors is a useful extension for Tampermonkey users who want to conveniently edit their userscripts online.Program available in other languagesダウンロードTampermonkey Editors [JA]Tải xuống Tampermonkey Editors [VI]Tampermonkey Editors herunterladen [DE]下载Tampermonkey Editors [ZH]تنزيل Tampermonkey Editors [AR]Unduh Tampermonkey Editors [ID]Descargar Tampermonkey Editors [ES]Download do Tampermonkey Editors [PT]Télécharger Tampermonkey Editors [FR]Download Tampermonkey Editors [NL]Ladda ner Tampermonkey Editors [SV]Tampermonkey Editors 다운로드 [KO]Скачать Tampermonkey Editors [RU]Scarica Tampermonkey Editors [IT]Tampermonkey Editors indir [TR]ดาวน์โหลด Tampermonkey Editors [TH]Pobierz Tampermonkey Editors [PL]Explore MoreLatest articlesLaws concerning the use of this software vary from country to country. We do not encourage or condone the use of this program if it is in violation of these laws.

Comments

User5411

Userscripts are JavaScript files that are executed every time the user loads a Scratch page. They can modify the document’s HTML, add new buttons, customize Scratch editor behavior, and so much more.Similarly to userscripts that you might download for userscript managers like Tampermonkey or Greasemonkey, Scratch Addons userscripts consist of pieces of JavaScript that are executed in the same execution context as the JavaScript code from Scratch itself. In browser extension vocabulary, this execution context is often called the “main world”.Even though Scratch Addons userscripts are part of a browser extension, they cannot access any chrome.* or browser.* APIs. Instead, Scratch Addons offers an addon.* API.Declaring userscripts in the addon manifest Some changes require an extension reload from chrome://extensions to take effect, such as updating the addon manifest file.It’s not necessary to reload the extension when changing the source of an already existing userscript JavaScript file. In those cases, reloading the page is enough.Userscripts are declared inside a “userscripts” array.Each item of the array must have the following properties:"url": the relative URL to a JavaScript file."matches": the list of Scratch pages where the userscript will run. See matches for more information.Example manifest:{ "name": "Copy link to comment button", "description": "Adds a "Copy Link" button to all comments on the website, next to the "Report" button.", "userscripts": [ { "url": "userscript.js", "matches": ["projects", " "profiles", "studios"] } ], "tags": ["community"], "enabledByDefault": false}Creating your first userscript Unlike extension content scripts and Tampermonkey userscripts, you must wrap all of your code inside a module default export:// Example userscriptexport default async function ({ addon, console }) { console.log("Hello, " + await addon.auth.fetchUsername()); console.log("How are you today?");}Remember that JavaScript allows functions to be declared inside other functions, for example:export default async function ({ addon, console }) { async function sayHelloToUser() { console.log("Hello, " + await

2025-03-27
User1309

Tampermonkey Editors: Online Editor Support for Tampermonkey UserscriptsTampermonkey Editors is a free Chrome extension developed by Jan Biniok. It falls under the category of Browsers and the subcategory of Add-ons & Tools. This extension provides online editor support for userscripts created with the Tampermonkey extension.With Tampermonkey Editors, users of the Tampermonkey extension can conveniently edit their userscripts at vscode.dev. All you need to do is click on the extension's icon in the menu bar to access the online editor.Currently, Tampermonkey BETA+ is required to use this extension (the stable version will be available soon). You can download the BETA version from the Chrome Web Store.The extension offers various features such as listing scripts grouped by namespace within a folder, editing userscripts, userscript storage, and required scripts. The editor also provides warnings when there are modifications to resources in the background.However, there are a few features that are not yet available and are on the TODO list. These include file and folder search, global content search, creating new scripts, deleting scripts, filtering by enabled state, showing new scripts created in the background, and configuring the folder structure used by Tampermonkey ESLint.Overall, Tampermonkey Editors is a useful extension for Tampermonkey users who want to conveniently edit their userscripts online.Program available in other languagesダウンロードTampermonkey Editors [JA]Tải xuống Tampermonkey Editors [VI]Tampermonkey Editors herunterladen [DE]下载Tampermonkey Editors [ZH]تنزيل Tampermonkey Editors [AR]Unduh Tampermonkey Editors [ID]Descargar Tampermonkey Editors [ES]Download do Tampermonkey Editors [PT]Télécharger Tampermonkey Editors [FR]Download Tampermonkey Editors [NL]Ladda ner Tampermonkey Editors [SV]Tampermonkey Editors 다운로드 [KO]Скачать Tampermonkey Editors [RU]Scarica Tampermonkey Editors [IT]Tampermonkey Editors indir [TR]ดาวน์โหลด Tampermonkey Editors [TH]Pobierz Tampermonkey Editors [PL]Explore MoreLatest articlesLaws concerning the use of this software vary from country to country. We do not encourage or condone the use of this program if it is in violation of these laws.

2025-04-23
User7090

Scratch AddonsAboutScratch Addons combines new and existing features and themes for the Scratch website and project editor into one easy-to-access and configurable browser extension. The mission is to provide a centralized, up-to-date platform for community development of new features and themes for Scratch.About addonsAn addon mainly consists of one or more userscripts (written in JavaScript) or userstyles (written in CSS) that run on the Scratch website or project editor.Each addon declares its own addon manifest (addon.json file). This file specifies under which circumstances each one of its userscripts and userstyles should be injected into the page. It also contains user-facing information, such as the description of the feature, and information about the addon's settings.Userscripts work similarly to extension content scripts running in the "main world" (the unprivileged context where chrome.* extension APIs are not available). Userscripts have access to addon.* APIs. They can use these built-in utilities for various purposes: waiting until a certain element exists on the page, listening to settings change events, getting a reference to the Scratch VM object, etc.Addons are designed to be compatible with each other. They are also developed with performance, internationalization, accessibility, and privacy in mind.Read the documentation for more information about addons.About the extensionThe Scratch Addons browser extension provides a settings page where users can enable, disable and configure addons. The extension interprets addon manifests, stores the user's settings, and provides APIs to userscripts. A new version of the extension is released to the stores regularly with new addons and features.Addons beyond the Scratch Addons browser extensionOther open-source projects (such as Scratch forks) can also make use of the addons. For example, the TurboWarp and Adacraft project editors allow you to use most of the editor addons without installing browser extensions, and even while offline (TurboWarp Desktop).File structureAddonsaddons-l10n: Translation for addon strings (one file per addon).addon-api: Implementation of the addon.* JavaScript APIs.addons: Each addon has its own directory, which must include an addon manifest file named addon.json.libraries: Third-party libraries and other utilities, some of which are used by addons.Others.github: GitHub templates, workflows, and contributing files._locales: Translation strings for the browser extension (excluding addons).background: Background scripts for the extension.content-scripts: Content scripts, which among other things, execute userscripts and inject userstyles to the page.images: Logos, screenshots and icons (excluding addon-specific images).popups: Addon pages that are only accessible through the extension popup (for example, Scratch Messaging).webpages: The settings page, extension popup, and other pages.InstallationNo building is required. The best way to download the source is with Git:git clone browser support information and other installation methods, check the documentation.Loading the extension (Chrome)To load the extension into most Chromium-based browsers, go to chrome://extensions, turn on developer mode, click "Load unpacked", and select the ScratchAddons folder.Loading the extension (Firefox)Go to about:debugging, select "This Firefox", click "Load Temporary Add-on...", and select the manifest.json file in the ScratchAddons folder.NoteFirefox extensions loaded this way are removed when the browser is closed.ContributingSuggestions and bug reportsIf you found a bug or have a suggestion create an issue after checking for duplicates. Alternatively, you

2025-04-05

Add Comment