Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!