mynoise.net doesn't load fully

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Fenchelina
Hobby Astronomer
Hobby Astronomer
Posts: 19
Joined: 2022-09-19, 15:22

mynoise.net doesn't load fully

Post by Fenchelina » 2025-11-15, 18:30

The site mynosie.net offers several soundscapes. e.g. https://mynoise.net/NoiseMachines/water ... erator.php. It worked without any problems for a long time, but recently the integrated player no longer loads completely.: First, “Loading...” appears and runs through to 100%, then “Greasing sliders...” follows, but only gets to 95% and stops there.

Code: Select all

TypeError: Illegal constructor.  
waterfallSoundGenerator.php:773:18
	finishedLoading https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php:773:18
	countIn https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php:538:42
	loadWebAudioSound/request.onload/< https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php:311:13

User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3032
Joined: 2012-06-28, 01:20

Re: mynoise.net doesn't load fully

Post by ron_1 » 2025-11-15, 20:07

I don't know if this will help, but it seems the problem is in:

Code: Select all

cdnjs.cloudflare.com
With uBlock Origin active, I got these errors:

Code: Select all

Timestamp: 11/15/2025 03:16:03 PM
Error: ReferenceError: Mousetrap is not defined
Source File: https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php
Line: 2816

Timestamp: 11/15/2025 03:16:03 PM
Error: ReferenceError: $ is not defined
Source File: https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php
Line: 4605

Timestamp: 11/15/2025 03:16:03 PM
Error: ReferenceError: $ is not defined
Source File: https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php
Line: 4622

Timestamp: 11/15/2025 03:16:03 PM
Error: ReferenceError: $ is not defined
Source File: https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php
Line: 4751

Timestamp: 11/15/2025 03:16:03 PM
Error: ReferenceError: $ is not defined
Source File: https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php
Line: 667
With uBo disabled, I got (basically) the same error as the OP:

Code: Select all

Timestamp: 11/15/2025 03:19:21 PM
Error: TypeError: Illegal constructor.
Source File: https://mynoise.net/NoiseMachines/waterfallSoundGenerator.php
Line: 773
If I'm understanding correctly, this is line 773 up to line 780:

Code: Select all

 dynCompressor=new DynamicsCompressorNode(context, {
    	  // working as a limiter
		  threshold: -12, 
		  knee: 6,          
		  ratio: 10,       
		  attack: 0.05,     
		  release: 2      
		});

User avatar
adoxa
Astronaut
Astronaut
Posts: 528
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: mynoise.net doesn't load fully

Post by adoxa » 2025-11-16, 02:40

It looks like it should work (at least, just with the context, not any options), but I don't see why it doesn't. Fortunately, there's an alternative function, so here's a Modify HTTP Response filter that seems to work (only tested this one, but it should work with others).

Code: Select all

[["mynoise.net",["/\\.php$/",["/new DynamicsCompressorNode\\(context, (\\{[\\s\\S]*?\\})\\)/","context.createDynamicsCompressor();Object.entries($1).forEach(e=>dynCompressor[e[0]].value=e[1])"]]]]

User avatar
Fenchelina
Hobby Astronomer
Hobby Astronomer
Posts: 19
Joined: 2022-09-19, 15:22

Re: mynoise.net doesn't load fully

Post by Fenchelina » 2025-11-16, 15:00

Thanks to Modify HTTP Response, the site is working again. A really helpful add-on! :clap:

Actually the “DynamicsCompressor” function recently was introduced as a new feature. There had been no problems before.
I doubt that uBlock has anything to do with it. When I encounter problems with a website, the first thing I do is disable the ad blocker and, if necessary, test it in a Palemoon without any add-ons. In this case, there was no difference.
Cloudflare and "Mousetrap"... this could be related to various measures taken by the site's publisher to ward off further hacker attacks. He mentioned something like this in his blog at https://mynoise.net/blog.php#pigeonthanks. It is possible that Palemoon stumbles across this and logs the corresponding errors.

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1077
Joined: 2020-11-03, 06:47
Location: Philippines

Re: mynoise.net doesn't load fully

Post by jobbautista9 » 2025-11-17, 02:47

Apparently the DynamicsCompressorNode (along with other AudioNodes) as constructor was implemented in Firefox 53, one version after our platform's fork point.

BZ: https://bugzilla.mozilla.org/show_bug.cgi?id=1322883
Image

"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.