开发者

Firefox extension: detect that URL in address bar was changed explicitly by user

There's a way to get a notification of URL change in a Firefox window using: https://developer.mozilla.org/en/Code_snippets/Progress开发者_StackOverflow中文版_Listeners#Example.3a_Notification_when_the_value_in_Address_Bar_changes

Unfortunately, this method is too much common. It informs when user navigates to another page either by clicking a link, or by using the back/forward button, or by typing an address in the location bar, etc.

Can I detect only those changes that were typed in the address bar explicitly?

Thanks!


You should probably handle the textentered event on gURLBar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜