andy-portmen / external-application-button

Communicate with external applications of your OS through a toolbar button or context menu item.
https://webextension.org/listing/external-application-button.html
Mozilla Public License 2.0
188 stars 56 forks source link

Unable to see fragment portion of URL with [HASH] #112

Open pcrow opened 1 week ago

pcrow commented 1 week ago

I'm trying to handle a URL, but the critical data I need is in the fragment portion of the URL (i.e., after the '#' character). When using [HREF] it's not there. [HASH] gives me nothing. I've tried using the [PRE_SCRIPT] but anything I try to extract the URL just comes up "undefined," but I don't really know what I'm doing with Javascript.

andy-portmen commented 1 week ago

[HREF] is the entire URL including hash segment. Try to open another browser instead your custom executable to verify.

pcrow commented 1 week ago

No, open in Safari also strips off the #...