Security Error when trying to load content from resource in a Firefox Addon (SDK)

后端 未结 4 553
-上瘾入骨i
-上瘾入骨i 2020-12-18 12:14

I am creating a firefox addon using the SDK. My goal is simple, to intercept a specific iframe and load my own HTML page (packaged as a resource with my addon) instead of t

4条回答
  •  自闭症患者
    2020-12-18 12:57

    see this addon here: https://addons.mozilla.org/en-US/firefox/addon/ghforkable/?src=search

    in the chrome.manifest file we set the contentaccessible parameter to yes

    you dont need sdk for this addon. its so simple, just ocpy paste that into a bootstrap skeleton as seen here:

    Bootstrap With Some Features, Like chrome.manifest which you will need

    Bootstrap Ultra Basic

    if you want to really do a redirect of a page to your site, maybe you want to make a custom about page? if you would like ill throw togather a demo for you on making a custom about page. you can see a bit hard to understand demo here

提交回复
热议问题