Код: Выделить всё
// ==UserScript==
// @name Test
// @namespace http://tampermonkey.net/
// @version 2025-01-15
// @description test
// @author ngnewbie
// @match https://youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=mozilla.org
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
// Your code here...
alert("foo");
})();
Это мои настройки:
[img]https:// i.sstatic.net/JpnutkZ2.png[/img]
Подробнее здесь: https://stackoverflow.com/questions/793 ... run-script
Мобильная версия