1. Installation and configuration of the Oil Monkey plug-in [local compilation]

Teaching videos on my homepage

Plug-in installation
I take Edge as an example, click the three dots in the upper right corner, and then click Extensions


Click to get extension


Search for tampermonkey to install


After the installation is complete, remember to open it


Script Market: https://greasyfork.org/zh-CN

Plug-in configuration [local compilation]

Open the file URL that allows access to it


At this time, the code is completely synchronized and has no cache, but the UserScript header must be written in the script editor.

// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://bbs.tampermonkey.net.cn/*
// @icon         https://www.google.com/s2/favicons?domain=baidu.com
// @require      file:///C:/CloudMusic/1.html
// ==/UserScript== 

 After compiling it locally with vscode, you can save it and test it directly. There is no need to restart the browser or restart the Grease Monkey extension. 

Guess you like

Origin blog.csdn.net/m0_62247560/article/details/131347373