
deCDN
Moderators: Lootyhoof, FranklinDM
-
- Lunatic
- Posts: 272
- Joined: 2016-01-28, 12:08
- Location: Ploieşti, Romania
Re: deCDN
Haven't touched that browser.preferences.instantApply setting AFAIK so it should be at its default. No hurry though, take your time and think everything over so that it would please most setups (and users, if possible). Regular setups should be fine but corner cases as you know are the most difficult to account for. 

-
- Keeps coming back
- Posts: 861
- Joined: 2018-05-17, 02:34
- Location: Los Berros Canyon, California
Re: deCDN
Updated today with three improvements:
The download status icon now shows on all windows, not just the most recent. The panel's also accessible from any of these windows, and the progress is now "global" (part of a module).
The code to trigger a cleanup and re-download will now occur when instantApply is on (Linux and macOS by default) at the Options window's closure.
The Options window will now show a download status if it's opened in the middle of a download. Additionally, the Branch dropdown, Refresh Branches button, and Erase/Reset button will be disabled during the download (unless the current download status is an error message).
The download status icon now shows on all windows, not just the most recent. The panel's also accessible from any of these windows, and the progress is now "global" (part of a module).
The code to trigger a cleanup and re-download will now occur when instantApply is on (Linux and macOS by default) at the Options window's closure.
The Options window will now show a download status if it's opened in the middle of a download. Additionally, the Branch dropdown, Refresh Branches button, and Erase/Reset button will be disabled during the download (unless the current download status is an error message).
-
- Lunatic
- Posts: 272
- Joined: 2016-01-28, 12:08
- Location: Ploieşti, Romania
Re: deCDN
Seems to be better now. Thank you.
-
- Keeps coming back
- Posts: 953
- Joined: 2020-11-03, 06:47
- Location: Philippines
Crash involving deCDN
I found an issue involving this add-on. For some reason I can consistently crash this news article https://www.stuff.co.nz/entertainment/1 ... tay-secret when I have deCDN. I've tested in a fresh profile of 64-bit 33.6.0.1 running on Windows 11 x64, the only thing changed is this add-on installed and enabled. 
I've uploaded a crash minidump to the FTP. The filename is palemoon-crash_stuff-co-nz_20250227213840.7z (117 MB)

I've uploaded a crash minidump to the FTP. The filename is palemoon-crash_stuff-co-nz_20250227213840.7z (117 MB)

"Destroying things, smartly!" - IJN Samidare, probably
Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
-
- Pale Moon guru
- Posts: 37678
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: deCDN
Thanks for the crash dump. Seems it's an issue with AddExternalResource failing; null crash so easy fix.
"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
-
- Lunatic
- Posts: 429
- Joined: 2014-05-10, 18:19
- Location: UK
Re: deCDN
What is AddExternalResource - as reported above, I had a problem with this crashing, and it was beginning to look like it was related to what web pages I had open as I'd removed all of my other extensions. I was wondering if the fix for this would be likely to address my issue.
-
- Pale Moon guru
- Posts: 37678
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: deCDN
code comment:
Code: Select all
307 /**
308 * Add an ExternalResource for aURI. aViewer and aLoadGroup might be null
309 * when this is called if the URI didn't result in an XML document. This
310 * function makes sure to remove the pending load for aURI, if any, from our
311 * hashtable, and to notify its observers, if any.
312 */
"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
-
- Keeps coming back
- Posts: 861
- Joined: 2018-05-17, 02:34
- Location: Los Berros Canyon, California
-
- Keeps coming back
- Posts: 953
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: deCDN
Yeah I got lucky finding which extension was making the browser crash lol. Probably helped that the first letter is a "d" since I started alphabetically 


"Destroying things, smartly!" - IJN Samidare, probably
Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
-
- Keeps coming back
- Posts: 953
- Joined: 2020-11-03, 06:47
- Location: Philippines
deCDN conflicting with a website behind Deflect CDN
Example of a website behind Deflect's CDN and DDoS protection is Northern Dispatch, which is a Philippine alternative news site from Northern Luzon. When I have the add-on enabled it doesn't get me pass the browser check. Can you investigate why this is happening please? It works in Firefox 128 ESR with LocalCDN enabled.
For now I've added nordis.net to my whitelist.
For now I've added nordis.net to my whitelist.

"Destroying things, smartly!" - IJN Samidare, probably
Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
-
- Keeps coming back
- Posts: 861
- Joined: 2018-05-17, 02:34
- Location: Los Berros Canyon, California
Re: deCDN conflicting with a website behind Deflect CDN
That is odd. Even odder, when I entered "new_solver(6);" into the console on the protection page, the code ran fine and redirected to the right page. Something isn't finishing loading, which is preventing the "onload" event of the body element from starting. Hitting stop or escape also seems to partially start the sequence, but not actually run (probably because all requests have been... you know, stopped). I'll take a look and see if anything that should be cancelled isn't... or shouldn't and is.jobbautista9 wrote: ↑2025-03-14, 13:34Example of a website behind Deflect's CDN and DDoS protection is Northern Dispatch, which is a Philippine alternative news site from Northern Luzon. When I have the add-on enabled it doesn't get me pass the browser check. Can you investigate why this is happening please? It works in Firefox 128 ESR with LocalCDN enabled.
For now I've added nordis.net to my whitelist.
Edit: narrowed it down to an "empty" onDataAvailable call that was triggering a double failure response. I don't exactly know why it didn't like it, but it's more efficient anyway. I was hoping to have some more improvements before I updated to 33.4, but this seems like an important fix, so... New ver in 10 minues~
-
- Keeps coming back
- Posts: 953
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: deCDN conflicting with a website behind Deflect CDN
Thanks, can confirm the new 33.4 version now fixes the Deflect browser check without having to whitelist the host! 


"Destroying things, smartly!" - IJN Samidare, probably
Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.