Browser series-oil monkey script example

Output hello world

Other URL

Write your first oil monkey script

Code

// ==UserScript==
// @name         hello world
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match       *://*/*
// @include     *
// @run-at      document-end
// ==/UserScript==

(function() {
    'use strict';

    alert('hello world');
})();

Add button to CSDN

Other URL

How to develop an oil monkey script-write an oil monkey script from scratch_kesyuepng's blog-CSDN blog
oil monkey script writing rules_Senreme-CSDN博客

Lift the limit on the length of the CSDN directory

Guess you like

Origin blog.csdn.net/feiying0canglang/article/details/114238648