uk.farnell site fails to load when NoScript is in use

Ask for help about NoScript, no registration needed to post
SiteProblems

uk.farnell site fails to load when NoScript is in use

Post by SiteProblems »

All pages on farnell electronics' uk site (domains of uk.farnell.com/whatever...) seem to fail to load in firefox (esr, latest) with Noscript (5.1.8.4) in use. When one first visits any page on that domain it loads ok, all the pictures and text appear however the "loading" blue circle in the top bar of frefox keeps going forever, but when one visits any second page on that domain (either by clicking a link on the first page or by going to google and searching and following a link to a uk.farnell page from google's search results) it spends ages "Waiting for uk.farnell.com" then a "connection timed out" error occurs. This issue does not happen in other browsers, for example chrome. I have encountered it on multiple different computers using different internet connections. And non-uk (farnell.com not uk.farnell.com) domains seem to load fine. Closing the browser and reopening it refreshes things so you can visit a different page first, before the second you try fails. Allowing farnell's own domain as a NoScript option doesn't help matters. I'm sure NoScript is having an effect here, could the website be trying to load some sort of cookie (but using scripts rather than normal means) when one first visits it and then refusing to load for subsequent visits without such a "cookie" (which wouldn't have been set first time around when scripts are blocked)? Can anyone replicate this issue? Or advise workarounds on how to reach the site without turning NoScript off, though permanently allowing some domains would be ok.

Thank you

P.S. for attention of this forum's admins, the captcha to fill in before posting is warning that their captcha service expires on 31st march.
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
barbaz
Senior Member
Posts: 11068
Joined: Sat Aug 03, 2013 5:45 pm

Re: uk.farnell site fails to load when NoScript is in use

Post by barbaz »

Does this problem persist with latest NoScript Classic from https://noscript.net/getit?
SiteProblems wrote:P.S. for attention of this forum's admins, the captcha to fill in before posting is warning that their captcha service expires on 31st march.
Thanks, I'll pass this along.
*Always* check the changelogs BEFORE updating that important software!
-
me again

Re: uk.farnell site fails to load when NoScript is in use

Post by me again »

I just updated Noscript to 5.1.8.5, it doesn't seem to have changed anything in regards to this issue. What other tips have you got? Thanks
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
barbaz
Senior Member
Posts: 11068
Joined: Sat Aug 03, 2013 5:45 pm

Re: uk.farnell site fails to load when NoScript is in use

Post by barbaz »

I can reproduce the problem in a clean profile Fx 52 ESR with only NoScript 5.1.8.5 and all default settings. If I allow farnell.com before first visiting the site, the issue doesn't happen.

I have no idea why. Image
*Always* check the changelogs BEFORE updating that important software!
-
MeAgain

Re: uk.farnell site fails to load when NoScript is in use

Post by MeAgain »

Thanks, I've gone and made farnell's site a permanently allowed one now. Problem seems solved. Should have thought of trying this. odd problem though, maybe it has something to do with the way farnell pages (since I applied this change)seem to flash white before they load (the browser seems to connect to the site, the blue loading wheel in the address bar stops spinning, the farnell icon loads in the tab header, and then there is a pause of about half a second of white screen before the page is visible).
Thanks for your help
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: uk.farnell site fails to load when NoScript is in use

Post by skriptimaahinen »

The problem does seem to relate to the cookies as you suspected in your first post. The page sets a set of cookies at first visit, but for some reason any subsequent page load with these cookies fails (connection time out). However, having javascript enabled loads a slightly different set of cookies that with which the page can load properly.

There are few alternatives for browsing the site without having javascript on:

- Clear cookies before every page load.
- Block cookies altogether for uk.farnell.com.
- Allow javascript, load page (and the cookies) and then block javascript again.

The problem appears not to be NS specific as it can be replicated with simply having javascript off. More likely sloppy server configuration on Farnells end.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Post Reply