Opening a URL in current tab/window from a Firefox Extension

后端 未结 4 1705
生来不讨喜
生来不讨喜 2021-02-04 09:26

I am creating a Firefox Extension...what would be the javascript to open a URL in the current tab from a menuitem?

e.g. in my overlay.xul file i have the following line:

4条回答
  •  心在旅途
    2021-02-04 09:52

    After browsing around, I found that I had to replace the above code with this:

    
    

提交回复
热议问题