Pure URL for Palemoon
Moderators: Lootyhoof, FranklinDM
Forum rules
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
I see. I'm developing on Linux and don't have access to a Windows box so it wouldn't be apparent for me.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Add-ons Team
- Posts: 616
- Joined: 2017-01-14, 02:40
- Location: Philippines
Re: Pure URL for Palemoon
The background referred to by back2themoon is actually a grey shadow, due to the following rules:back2themoon wrote: ↑2020-05-23, 17:03The icon background is back. Currently on v.2.3. As before, it's only visible in the Status Bar.
Code: Select all
#button-pureurl4pm[active="false"] {
...
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
#button-pureurl4pm[active="true"] {
...
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
#button-pureurl4pm {
...
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
You do not have the required permissions to view the files attached to this post.
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
Changelog for 2.4
- Fixed CSS background colors.
- New feature: Toolbar button tooltip now displays count of links processed after the last page load.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Moon Magic practitioner
- Posts: 2882
- Joined: 2012-08-19, 20:32
Re: Pure URL for Palemoon
This is great, thanks for the fix (+FranklinDM for the tip). 

-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
Changelog for 2.4.1
- Log links cleaned on pages to toolkit console instead of browser console.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Board Warrior
- Posts: 1273
- Joined: 2017-06-06, 07:38
Re: Pure URL for Palemoon
moonbat, can you provide the link to source? I can't find it on the extension page.
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
Check now. Thought I'd added it before 
Note that there is a separate branch called pureurl4pm-xul, which corresponds to what's in use now. The master branch still has the old bootstrap version, and I haven't figured out how to replace it.

Note that there is a separate branch called pureurl4pm-xul, which corresponds to what's in use now. The master branch still has the old bootstrap version, and I haven't figured out how to replace it.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
Changelog for 2.4.2
- Change tooltip for logging option.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
Changelog for 2.4.3
- New feature: Show last processed hostname in tooltip
- Changed code to use Services.jsm instead of directly getting services.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Astronaut
- Posts: 582
- Joined: 2018-04-20, 20:31
Re: Pure URL for Palemoon
So... is the minor issue of "intercepting requests" preventing FaceBook image adding in comments... fixable?
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
That's assuming the problem is with Pure URL blocking parameters that are required there - if the page works after turning off Pure URL, then you can use the error log to find out what was filtered and compare the original to the filtered URL as recorded in the log output.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Astronaut
- Posts: 582
- Joined: 2018-04-20, 20:31
Re: Pure URL for Palemoon
I already tried this in another thread, but nothing came of that.
When I log to Browser Console, and uncheck "intercept requests", adding images to FaceBook replies works, and there is nothing in the Console. Nothing to show.
Only when "intercept requests" is selected, do I get a nice juicy error to copy+paste.
When I log to Browser Console, and uncheck "intercept requests", adding images to FaceBook replies works, and there is nothing in the Console. Nothing to show.
Only when "intercept requests" is selected, do I get a nice juicy error to copy+paste.
Code: Select all
[PureURL:]Original URL: https://www.facebook.com/ajax/ufi/upload/?av=100005304496715&profile_id=100005304496715&source=19&target_id=100005304496715&__user=100005304496715&__a=1&__dyn=7AgNe-4amaUmgDxyHqAyqomzFEbEyGxuiEyAjFwRwCzob4q2i5UK3u2C3-ubyRyUrxuF98S5byEjKewXyEe8OdwJyFEg-2h1ycyXz8nxm1ixi4EG6Ehwj8mU8onwhqxW5o7Cul0XxK16xCWxS68nBy8pxCEdQ9wRyUvyoco5Xximf-786CEWu4F8O2HUvAKlxfwzxmfz9rBxe2i2iazUlxS2acyGwOGcAgrUWV8y2G5ojyFE-3m4oO68gy898e8Wqexp2UtGezEvwEy8ix22m1fxWEb8bGwCxe12xaUy58ym2mfxW68gABwkUjwVxe5E7622362W2K4E9ojwgrw&__csr=&__req=y&__beoa=0&__pc=PHASED%3ADEFAULT&dpr=1&__ccg=EXCELLENT&__rev=1002275080&__s=qpfngn%3Ahvdu93%3Awrxcxp&__hsi=6840812421389061622-0&__comet_req=0&fb_dtsg=AQHKLdZ1gwQG%3AAQH8B1qMXkj2&jazoest=21970&__spin_r=1002275080&__spin_b=trunk&__spin_t=1592750515
Cleaned URL:https://www.facebook.com/ajax/ufi/upload/?av=100005304496715&profile_id=100005304496715&target_id=100005304496715&__user=100005304496715&__a=1&__dyn=7AgNe-4amaUmgDxyHqAyqomzFEbEyGxuiEyAjFwRwCzob4q2i5UK3u2C3-ubyRyUrxuF98S5byEjKewXyEe8OdwJyFEg-2h1ycyXz8nxm1ixi4EG6Ehwj8mU8onwhqxW5o7Cul0XxK16xCWxS68nBy8pxCEdQ9wRyUvyoco5Xximf-786CEWu4F8O2HUvAKlxfwzxmfz9rBxe2i2iazUlxS2acyGwOGcAgrUWV8y2G5ojyFE-3m4oO68gy898e8Wqexp2UtGezEvwEy8ix22m1fxWEb8bGwCxe12xaUy58ym2mfxW68gABwkUjwVxe5E7622362W2K4E9ojwgrw&__csr=&__req=y&__beoa=0&__pc=PHASED%3ADEFAULT&dpr=1&__ccg=EXCELLENT&__rev=1002275080&__s=qpfngn%3Ahvdu93%3Awrxcxp&__hsi=6840812421389061622-0&__comet_req=0&fb_dtsg=AQHKLdZ1gwQG%3AAQH8B1qMXkj2&jazoest=21970&__spin_r=1002275080&__spin_b=trunk&__spin_t=1592750515
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
The errant parameter seems to be 'source'. Remove it from the garbage parameter list and see if it helps.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Astronaut
- Posts: 582
- Joined: 2018-04-20, 20:31
Re: Pure URL for Palemoon
I cannot find a single "source". Removed source@facebook.com, source_fb (or was it fb_source?) and src_fb (fb_src?).
Does nothing.
Does nothing.
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
Compare the parameters between original and cleaned URL then to see if there's anything else being removed, and remove them from the parameter list.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Astronaut
- Posts: 582
- Joined: 2018-04-20, 20:31
Re: Pure URL for Palemoon
But "fix links" was always on. What makes a difference is "intercept requests". Un-checking that works. The URL stays the same, I don't even need to refresh the page.
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
Maybe it makes background requests that were getting filtered.
Even then you'll see log activity. Original vs cleaned URL is for when it intercepts requests, original vs cleaned links is for what's already on a page.
Even then you'll see log activity. Original vs cleaned URL is for when it intercepts requests, original vs cleaned links is for what's already on a page.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Astronaut
- Posts: 582
- Joined: 2018-04-20, 20:31
Re: Pure URL for Palemoon
When I log to console, and un-click "intercept request", I get either nothing, or....... this.
Last time I tried I really did get nothing. I guess it only logs PureURL failures? This is the only information I can give you.
Code: Select all
"
.d8888b. 888 888
d88P Y88b 888 888
Y88b. 888 888 This is a browser feature intended for
"Y888b. 888888 .d88b. 88888b. 888 developers. If someone told you to copy-paste
"Y88b. 888 d88""88b 888 "88b 888 something here to enable a Facebook feature
"888 888 888 888 888 888 Y8P or "hack" someone's account, it is a
Y88b d88P Y88b. Y88..88P 888 d88P scam and will give them access to your
"Y8888P" "Y888 "Y88P" 88888P" 888 Facebook account.
888
888
888
See https://www.facebook.com/selfxss for more information.
"
ocxGtirWfL3.js:13:1456
Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive.
(unknown)
Use of getAttributeNode() is deprecated. Use getAttribute() instead.
i5o2WYYkssS.js:26:1284
"
.d8888b. 888 888
d88P Y88b 888 888
Y88b. 888 888 This is a browser feature intended for
"Y888b. 888888 .d88b. 88888b. 888 developers. If someone told you to copy-paste
"Y88b. 888 d88""88b 888 "88b 888 something here to enable a Facebook feature
"888 888 888 888 888 888 Y8P or "hack" someone's account, it is a
Y88b d88P Y88b. Y88..88P 888 d88P scam and will give them access to your
"Y8888P" "Y888 "Y88P" 88888P" 888 Facebook account.
888
888
888
See https://www.facebook.com/selfxss for more information.
"
ocxGtirWfL3.js:13:1456
Use of Mutation Events is deprecated. Use MutationObserver instead.
FOmPi_VgiGQ.js:287:385
https://www.facebook.com/ : Unable to run script because scripts are blocked internally.
(unknown)
unreachable code after return statement[Learn More]
G0MKLmeCe1o.js:51:1450
unreachable code after return statement[Learn More]
G0MKLmeCe1o.js:51:60274
unreachable code after return statement[Learn More]
G0MKLmeCe1o.js:51:62388
-
- Knows the dark side
- Posts: 5584
- Joined: 2015-12-09, 15:45
Re: Pure URL for Palemoon
You want the error console, not the browser console.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
- Pale Moon guru
- Posts: 37641
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Pure URL for Palemoon
Actually, you want the error or browser console, but not the web console.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite