Is there a way of displaying a url in the statusbar on mouseover from an extension Topic is solved

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

thosrtanner
Lunatic
Lunatic
Posts: 395
Joined: 2014-05-10, 18:19
Location: UK

Is there a way of displaying a url in the statusbar on mouseover from an extension

Unread post by thosrtanner » 2023-07-29, 17:45

When you hover over a link on a web page, the url gets displayed in the statusbar (or in a small popup box to the bottom right if you don't have a status bar). This, as far as I understand it anyway, is the default behaviour for mouseover on an <a href=xxxx> link on a webpage.

However, there are some things displayed by my extension that are in a toolbar (a button and some scrolling boxes) are most definitely not <a href=xxxx> links, and have their own information to display when doing a mouseover, but do open a web page on mouse click.

Is it possible to do anything to also get the link that'll be opened displayed where the target of a link is normally displayed?

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: Is there a way of displaying a url in the statusbar on mouseover from an extension

Unread post by Kris_88 » 2023-07-29, 18:34


thosrtanner
Lunatic
Lunatic
Posts: 395
Joined: 2014-05-10, 18:19
Location: UK

Re: Is there a way of displaying a url in the statusbar on mouseover from an extension

Unread post by thosrtanner » 2023-07-29, 19:10

Awesome! Thank you (and how do you know these things?!)

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: Is there a way of displaying a url in the statusbar on mouseover from an extension

Unread post by Kris_88 » 2023-07-29, 19:13

thosrtanner wrote:
2023-07-29, 19:10
and how do you know these things?!
I do not know anything. )
I just look at the source in such cases...