Greasy Fork is available in English.

网页翻译

给每个非中文的网页右下角(可以调整到左下角)添加一个google翻译图标,直接调用 Google 的翻译接口对非中文网页进行翻译

< Feedback op 网页翻译

Recensie: Goed - het script werkt zoals het hoort

§
Geplaatst: 12-12-2025

Discord无法看到按钮。 关键日志:

Loading the script 'https://translate.google.com/translate_a/element.js?&cb=googleTranslateElementInit' violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'unsafe-inline' 'nonce-' blob: https://cdn.discordapp.com/animations/ https://www.gstatic.com/recaptcha/ https://www.google.com/recaptcha/ https://*.hcaptcha.com https://hcaptcha.com https://js.stripe.com https://js.braintreegateway.com https://assets.braintreegateway.com https://www.paypalobjects.com https://*.paypal.com https://kit.cash.app https://static.discord.com https://static-edge.discord.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback. The action has been blocked.
Executing inline script violates the following Content Security Policy directive 'script-src 'self' 'unsafe-eval' 'unsafe-inline' 'nonce-' blob: https://cdn.discordapp.com/animations/ https://www.gstatic.com/recaptcha/ https://www.google.com/recaptcha/ https://*.hcaptcha.com https://hcaptcha.com https://js.stripe.com https://js.braintreegateway.com https://assets.braintreegateway.com https://www.paypalobjects.com https://*.paypal.com https://kit.cash.app https://static.discord.com https://static-edge.discord.com'. Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list. The action has been blocked.s been blocked.

Reactie plaatsen

Log in om antwoord te geven.