Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

245
Visualizações
Chrome Extension "Refused to load the JavaScript URL because it violates the following Content Security Policy directive."

Link to extension: https://chrome.google.com/webstore/detail/pojodomdlpobompicdllljgiomnfpmho

Link to development version: https://github.com/misswell/octoman-weibo-backup

Problems: To use this plugin, you need to login into your Weibo account first, otherwise, there will appear a line of text as shown in the screenshots below: "验证出错,请点击此链接,然后返回重试。(Error in verification, please click this link and then return to retry.)" Under normal circumstances, after logging in and refreshing the page, this line of text will disappear, and "立即停止 (Stop Now)" will turn into "下载 (Download)", then it works normally. I have been using it for more than a year without problems, but recently I don't know if it's because of Chrome update, this line of text can't be removed in any way. enter image description here

The whole description of the error:

Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present. Context popup.html Stack Trace popup.html:1 (anonymous function) enter image description here

I've tried to added ""content_security_policy": "script-src 'self' ", but it didn't work.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda