Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Firefox support #10

Open
ultranity opened this issue Sep 19, 2021 · 7 comments
Open

Add Firefox support #10

ultranity opened this issue Sep 19, 2021 · 7 comments

Comments

@ultranity
Copy link

希望能为Firefox提供支持,本身不是专业做前端的同时没做过浏览器拓展某些问题需要帮助

I found this ext very usful and I am trying to add support to firefox, it turns out that there just need a litte change in manifest to make it runable:

  • firefox provide no support fof chrome://favicons so it needs to be removed, and therefore now the favicon of each history should leave empty (I am trying to find some api replacement but still no idea)
  • firefox use options_ui instead of options_page
  • firefox do not use update_url

there still have some bugs to fix:

  • some chome-only url call using chrome_url needs to be replaced by web extension format
  • recent closed tab don't work (firefox use standard api browser.sessions.getRecentlyClosed instead of chrome.extension.getBackgroundPage().closedTabs)
  • favicon

so if possible I hope there could be an offical support for firefox, which won't need too much time to make it work.

some detail can be found at https://www.extensiontest.com and https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API

@ultranity
Copy link
Author

查阅FF文档发现FF可以兼容调用chrome.*形式的api,所以可能所需的工作量就更小了,期待ing

@tumuyan
Copy link
Owner

tumuyan commented Sep 19, 2021

…实际上我也没不是这方面的专业人员,只是凑合着在别人的基础上增加了功能。
虽然现在大家都是WE扩展,Chrome API是部分兼容的,然而我之前已经简单试过,感觉不太行(所以目前内容放在了Chrome目录)

@leifdenby
Copy link

This would be great!

@yoghurtdewdew
Copy link

不好意思,没看懂大家的讨论,请教下大家,在 firefox 上是否可以使用这个插件呀?如何才能实现在 Firefox 上使用这个插件呢?

@tumuyan
Copy link
Owner

tumuyan commented Oct 17, 2023

不好意思,没看懂大家的讨论,请教下大家,在 firefox 上是否可以使用这个插件呀?如何才能实现在 Firefox 上使用这个插件呢?

不止ff无法使用,甚至Chromium内核的浏览器也快不能用这个插件了…

@yoghurtdewdew
Copy link

不止ff无法使用,甚至Chromium内核的浏览器也快不能用这个插件了…

为什么💔 这个插件这么好用为啥不能😱

@Goosegit11
Copy link

I agree, this addon is something I've been looking for a long time, but I use Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants