油猴Greasemonkey覆蓋原本css樣式表 GM開頭接口
// @grant unsafeWindow
// @grant GM_addStyle
...
let style = "text.label{font-size:200%};"
GM_addStyle(style)
注意:GM 開頭的接口函數需要 grant 授權的
油猴Greasemonkey覆蓋原本css樣式表 GM開頭接口
// @grant unsafeWindow
// @grant GM_addStyle
...
let style = "text.label{font-size:200%};"
GM_addStyle(style)
注意:GM 開頭的接口函數需要 grant 授權的