https://www.diy.com/search?term=plastic+wrap
Some page content briefly, then empty page.
Output from the Toolkit Error Console:
Error: ReferenceError: TextEncoderStream is not defined
Source: https://www.diy.com/search?term=plastic+wrap
www.diy.com search empty page
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:
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:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
adoxa
- Astronaut

- Posts: 619
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Re: www.diy.com search empty page
Here's a Modify HTTP Response filter to fix it.
Code: Select all
[["www.diy.com",["/search/",[".pipeThrough(new TextEncoderStream())",""]],["/chunk.*\\.js$/",["/\\.pipeThrough\\(.*?\\(\\)\\)/g",""]]]]
-
Zorba
- Apollo supporter

- Posts: 41
- Joined: 2018-04-29, 08:43
Re: www.diy.com search empty page
Thanks, that works! Hope there won't be too many sites like that as it is cumbersome to add a workaround in each case...
-
Moonchild
- Project founder

- Posts: 39120
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: www.diy.com search empty page
We're always workjing on improving web compatibility, but some APIs are just horrendous and shouldn't actually be part of a web browser (the streams API is a good example) but once they are adopted, webmasters will insist on trying to use them because "new and shiny". The best our small team can do is be reactive in what is given priority. "transform streams" is at best tangentially related to normal web traffic (it belongs more in data processing software) and really shouldn't be used for search results pages, but hey-ho it's what we have here.
"There is no point in arguing with an idiot, because then you're both idiots." - 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