How do I get my browser extension to redirect the website I want it to?

48 Views Asked by At

I'm coding my own browser extension and I would like to redirect https://www.roblox.com/ to https://www.google.com/. I have all of the code set up I just need this small problem fixed.

My manifest.json is:

Manifest.json

My background.js is: Background.js

My popup.js is: Popup.js

My popup.html is: Popup.html

I think there is something wrong in the background.js with line 3 and 10. I don't think I specified the websites correctly. Can someone help me solve this?

0

There are 0 best solutions below