您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
An example script with a proper license
您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
- // ==UserScript==
- // @name Example UserScript
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description An example script with a proper license
- // @author Your Name
- // @match https://www.example.com/*
- // @grant none
- // @license MIT
- // ==/UserScript==
- // ==UserScript==
- // @name Example UserScript
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description An example script using @match annotation
- // @author You
- // @match https://www.example.com/*
- // @match https://anotherwebsite.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // This code will run on pages that match the above @match URLs
- console.log("Hello, world! This script is running on:", window.location.href);
- // Example action: Change background color of the page
- document.body.style.backgroundColor = "lightblue";
- })();
- // ==UserScript==
- // @name Example UserScript with @include
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description An example script using @include annotation
- // @author You
- // @include https://www.example.com/*
- // @include https://anotherwebsite.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // This code will run on pages that match the above @include URLs
- console.log("Hello, world! This script is running on:", window.location.href);
- // Example action: Change background color of the page
- document.body.style.backgroundColor = "lightgreen";
- })();