Pure URL for Palemoon

Dedicated board for extension releases/support threads

Moderators: FranklinDM, Lootyhoof

Forum rules
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Pure URL for Palemoon

Unread post by fatboy » 2020-04-24, 07:24

Great update, thanks moonbat! I love this extension and is paramount when one frequently shares urls with friends. I have seen so many dirty urls being shared
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-24, 08:15

Another minor update to 2.1.1

back2themoon - please check if the background color issue is fixed.
Added option to hide it from the Tools menu.

Now this is truly flexible in terms of UI - toolbar button, tools menu option, both or neither (you can still access the options from the about:addons page) :mrgreen:
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-24, 08:18

Side fact - the original extension I forked it from is now less functional than it used to be after converting to a WebExtension. There is no way to view or change the list of garbage fields.

Basilisk users can install the legacy Addons SDK version of the original Pure URL from CAA.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-24, 08:24

New Tobin Paradigm wrote:
2019-08-29, 19:36
It's too bad that this is a jetpack extension. That means it will never be compatible with Borealis Navigator... That is such a shame.
Now that I've converted it to overlay, can it be added in Borealis by including the application ID, or does it need any other changes?
fatboy wrote:
2020-04-24, 07:24
Great update, thanks moonbat! I love this extension and is paramount when one frequently shares urls with friends. I have seen so many dirty urls being shared
Glad you like it :D
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pure URL for Palemoon

Unread post by KlarkKentThe3rd » 2020-04-24, 12:35

Is it too much to ask, to ask for an explanation of how it works?

New Tobin Paradigm

Re: Pure URL for Palemoon

Unread post by New Tobin Paradigm » 2020-04-24, 13:09

Well you need to target it by the ID and also by the main window which is NOT browser.xul. Report to my channel and I can give you more info if you want including a fresh build.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-24, 14:12

KlarkKentThe3rd wrote:
2020-04-24, 12:35
Is it too much to ask, to ask for an explanation of how it works?
The core is a regex parser that creates a regular expression using the garbage fields. It is then applied to outgoing URLs as well as those on existing pages. I've rewritten with the regex and page DOM insertion unchanged, just the way of intercepting URLs without using the Addon SDK, plus the extra UI and features.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: Pure URL for Palemoon

Unread post by back2themoon » 2020-04-24, 14:55

moonbat wrote:
2020-04-24, 08:15
back2themoon - please check if the background color issue is fixed.
It is fixed - thank you! Here's a minor suggestion: since clicking on the icon is allowed but currently does nothing, you could consider either:

1) Make it disable/enable the extension (for quick testing with problem websites)
2) Make the pop-up menu appear, without having to aim for the little arrow (i.e. make the icon+arrow behave as one element)
3) Make it perform some other often-used operation

About 1) - not sure if it's possible since a restart is required. Also, not sure if "Intercept requests" has the same effect as disabling it, and would be enough for testing?

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pure URL for Palemoon

Unread post by KlarkKentThe3rd » 2020-04-24, 15:37

moonbat wrote:
2020-04-24, 14:12
KlarkKentThe3rd wrote:
2020-04-24, 12:35
Is it too much to ask, to ask for an explanation of how it works?
The core is a regex parser that creates a regular expression using the garbage fields. It is then applied to outgoing URLs as well as those on existing pages. I've rewritten with the regex and page DOM insertion unchanged, just the way of intercepting URLs without using the Addon SDK, plus the extra UI and features.
I was hoping for an explanation non-magicians could understand. Like "NoScript blocks selected domains/sites from sending you anything".

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-24, 15:45

back2themoon wrote:
2020-04-24, 14:55
Also, not sure if "Intercept requests" has the same effect as disabling it, and would be enough for testing?
Yes, turn off that as well as 'fix links on pages' to effectively disable it. I'll see about using the button as a global toggle. I'm not great at editing images so have to figure a good way to show it blurred or disabled.
KlarkKentThe3rd wrote:
2020-04-24, 15:37
I was hoping for an explanation non-magicians could understand. Like "NoScript blocks selected domains/sites from sending you anything".
That's covered under 'what', you were asking about the 'how' so I assumed a technical explanation was needed :)
The addon's page has a description of what it does.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-25, 06:32

Pure URL 2.2

Changelog:
  • Support for Borealis Navigator.
  • Toolbar button now toggles global on/off (i.e. both page intercept and fix links together), and is faintly green or red to indicate enabled/disabled.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: Pure URL for Palemoon

Unread post by back2themoon » 2020-04-25, 06:51

Brilliant, thank you. :thumbup:

User avatar
Cassette
Lunatic
Lunatic
Posts: 395
Joined: 2015-05-08, 14:30
Location: Wichita, KS

Re: Pure URL for Palemoon

Unread post by Cassette » 2020-04-25, 21:39

The "Show in Tools Menu" option functions only if the Pure URL Toolbar button is actually on one of the tool bars on the last Pale Moon startup. If it was not, the Pure URL option under the tools menu is always visible.

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pure URL for Palemoon

Unread post by KlarkKentThe3rd » 2020-04-26, 01:41

I never had a way of knowing if anyone tracked me extra, but am now using Pure URL on principle. It's there, in the upper right corner, doing its thing.
You do not have the required permissions to view the files attached to this post.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-26, 06:53

Cassette wrote:
2020-04-25, 21:39
The "Show in Tools Menu" option functions only if the Pure URL Toolbar button is actually on one of the tool bars on the last Pale Moon startup. If it was not, the Pure URL option under the tools menu is always visible.
Thanks, I'll take a look.
KlarkKentThe3rd wrote:
2020-04-26, 01:41
I never had a way of knowing if anyone tracked me extra, but am now using Pure URL on principle. It's there, in the upper right corner, doing its thing.
As of now you can turn on logging and see the browser console for cleaned URLs - I'm hoping to add a badge with a counter for links fixed on the current page later.
Also, it will work in the background as long as its options are enabled - you can remove the button and menu item to save space if you like (and thus revert to the original design when it did not have any sort of UI). The options are still accessible from the addons page entry for the extension.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Andrew Herbert

Re: Pure URL for Palemoon

Unread post by Andrew Herbert » 2020-04-26, 15:34

The redirects aren't working, although the option is checked.

Code: Select all

12:31:14.646 TypeError: btnchkIntercept is null 1 init.js:236:8
	toggleInterceptChk chrome://pureurl4pm/content/init.js:236:8
(the browser console showed this link: https://developer.mozilla.org/en-US/doc ... ected_type)

Edit: I've reinstalled the extension, and now it's working properly. :o

Andrew Herbert

Re: Pure URL for Palemoon

Unread post by Andrew Herbert » 2020-04-26, 16:14

Also: the options "Static" and "Show in Tools menu" are using the same keyboard shortcut.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-27, 10:29

Changelog for 2.2.1
  • Andrew Herbert wrote:
    2020-04-26, 16:14
    Also: the options "Static" and "Show in Tools menu" are using the same keyboard shortcut.
    Fixed. The latter now uses T.
  • Cassette wrote:
    2020-04-25, 21:39
    The "Show in Tools Menu" option functions only if the Pure URL Toolbar button is actually on one of the tool bars on the last Pale Moon startup. If it was not, the Pure URL option under the tools menu is always visible.
    Fixed.
  • Improved cleanup of listeners, including on toolbar button removal.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
biopsin
Fanatic
Fanatic
Posts: 122
Joined: 2016-02-07, 17:15

Re: Pure URL for Palemoon

Unread post by biopsin » 2020-04-27, 11:17

would it also make sense adding it to right click menu if not enabled globaly? this way we can choose if to filter links => "Open with Pure URL".
voidlinux_x64 glibc-2.78 / selfcompiled latest Palemoon (gcc-13.2.0) / GTK2

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4984
Joined: 2015-12-09, 15:45

Re: Pure URL for Palemoon

Unread post by moonbat » 2020-04-27, 14:21

biopsin wrote:
2020-04-27, 11:17
would it also make sense adding it to right click menu if not enabled globaly? this way we can choose if to filter links => "Open with Pure URL".
Would you really rather be tracked by some URLs and not others?
Last edited by moonbat on 2020-04-27, 16:22, edited 1 time in total.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX