first commit

This commit is contained in:
编码猿
2024-09-27 01:17:30 +08:00
commit a99bcc421c
11 changed files with 247 additions and 0 deletions

22
js/cover.js Normal file
View File

@@ -0,0 +1,22 @@
/**
* 版权所有bmy
* 邮箱2271608011@qq.com
* 备注:代码没啥好看的,写给自己用
*/
// 注入js文件
let scriptUrl = [
'/js/jquery-1.9.1.min.js',
'/js/script.js'
]
if(document.head) {
scriptUrl.forEach(v => createdScript(v))
}
function createdScript(path) {
let script = document.createElement('script');
script.src = chrome.runtime.getURL(path);
document.head.appendChild(script)
}