我试着写我的第一个网络扩展,遵循 this tutorial .我写了一个 manifest.json 并添加了一个 background script因为我想提供全局功能:我想在执行搜索后清除搜索栏 - 基本上是 this ,但适用于 Firefox 57+。
我的问题:我怎样才能访问搜索栏?
我找到了 a list of available APIs ,包括选项卡、菜单等,但没有搜索栏...
最佳答案
目前是不可能的。您可能想为它提交错误:https://bugzilla.mozilla.org/
关于firefox-addon-webextensions - 如何在 Firefox 57+ ("Quantum") 网络扩展中访问搜索栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47295344/