ブラウザシリーズ-オイルモンキースクリプトの例

helloworldを出力します

その他のURL

最初のオイルモンキースクリプトを書く

コード

// ==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');
})();

CSDNにボタンを追加

その他のURL

オイルモンキースクリプトの開発方法-scratch_kesyuepngのブログからオイルモンキースクリプトを作成する-CSDNブログ
オイルモンキースクリプトの作成ルール_Senreme-CSDN博客

CSDNディレクトリの長さの制限を解除する

おすすめ

転載: blog.csdn.net/feiying0canglang/article/details/114238648