油猴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 授权的