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

164
Views
page blocked by chrome

I am trying to create a chrome extension, that will redirect to custom html file. the page is blocked by the browser

manifest.json

{
    "manifest_version": 3,
    "name": "Hello World!",
    "version": "0.1.0",
    "content_scripts": [
        {
            "matches": ["<all_urls>"],
            "js": ["src/blocker.js"]
        }
    ],
    "permissions": ["storage", "activeTab", "tabs"],
    "action": {
        "default_popup": "src/html/popup.html"
    }
}

blocker.js

window.location.href = chrome.runtime.getURL("html/popup.html");

Page blocked Image

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Either add blocked.html to web_accessible_resources in manifest.json or switch to using declarativeRequest API

about 4 years ago · Juan Pablo Isaza Report
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!