skip to Main Content

I’ve tried to open a mini webpage inside a chrome extension which I made, but as you can see it’s not working

I’ve tried referencing www.pinterest.com "which is the website I want to access" but it keeps giving me this message as shown in the image above what should I do to make it work or is it even possible here is a photohshoped image of what I want it to look like

2

Answers


  1. With the little information you’ve provided, there’s only so much I can do to help you. A great place for information on web extension development is always MDN. Perhaps their article on how to add a popup or their example extension can help you.

    There’s also an example by Opera if you want to try theirs. Speaking of Opera, perhaps their guide on debugging extensions in Opera helps. Have you double-checked you are pointing to the right file?

    It would be really helpful if you could provide a version of the extension with just the necessary code to cause your issue.

    Login or Signup to reply.
  2. You can’t open random pages within the sidebar/popup; only pages packaged with your extension can be opened here. You can however open the page in the main browser window (for example by adding ‘target="_blank"’ to links in your side panel or by updating window.location.href (through a service worker).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search