How to add a notification on the app tab of the Firefox?

南笙酒味 提交于 2019-12-03 12:14:10

Do you mean that you're building a website and you want to let Firefox notify the user on an event when the tab is pinned?

I'm fairly certain Firefox does it when the website's <title> is changed. For instance on Twitter, when there's a new tweet, the title is changed from "Twitter / Home" to "(1) Twitter / Home". Firefox notices this and notifies the user.

So really, any javascript function that changes <title> will make it work.

I hope that helps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!