syhyz1990 / mactype

油猴脚本 - 增强浏览器网页文字清晰度
https://www.youxiaohou.com/tool/install-mactype.html
157 stars 17 forks source link

ERROR: Execution of script 'Mactype助手' failed! Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' cdn.segment.com/analytics.js/". #9

Closed WoolenWang closed 3 years ago

WoolenWang commented 3 years ago

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' cdn.segment.com/analytics.js/".

at Object.parse (userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:2153)
at Object.get (userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:2231)
at e.exports (userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:2247)
at Object.fixedStyle (userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:2041)
at t (userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:1965)
at userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:1973
at userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:1974
at Window.tms_89733c41_f03b_46bf_ba81_67ff3371e862 (userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:2255)
at <anonymous>:3:100
at userscript.html?name=Mactype%E5%8A%A9%E6%89%8B.user.js&id=89733c41-f03b-46bf-ba81-67ff3371e862:formatted:8
syhyz1990 commented 3 years ago

部分网站做了禁止加载第三方脚本的验证