Files
fuck-csdn-blog/js/cover.js
2024-09-27 01:17:30 +08:00

22 lines
427 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 版权所有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)
}