halifax.co.uk - slow page render if webtrends.com blocked

Bug reports and enhancement requests
Post Reply
edmorley
Posts: 8
Joined: Thu Jun 07, 2012 10:25 pm

halifax.co.uk - slow page render if webtrends.com blocked

Post by edmorley »

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1
Built from http://hg.mozilla.org/mozilla-central/rev/7e4c2abb9fc9
Noscript 2.4.4rc2

1) Visit http://www.halifax.co.uk
2) Allow *.halifax.co.uk but disallow webtrends.com
3) Navigate to http://www.halifax.co.uk again

Expected:
Page loads in a similar time compared to "allow scripts globally" or allowing both *.halifax.co.uk *and* webtrends.com

Actual:
Blue/grey page background for several seconds before the main page content renders.

--

This may just end up being the bugzilla.mozilla.org equivalent of Tech Evangelism::*, since I'm sure they are doing something stupid on pageload with webtrends - but thought I'd file this in case the webtrends tracking nonsense can be stubbed out, similar to Google Analytics is at present (if I've remembered correctly).

Thanks! :-)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3370
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by GµårÐïåñ »

I just tested this mate and it seems that it has nothing to do with NS. It works fine and as expected for me. I am guessing it might be something with the particular build and something on Mozilla's side that is causing this but I'll be honest, I do not have that particular build, just the latest stable, so guessing it might be a transitional issue or something introduced or existing in that particular build. Hopefully Giorgio will have more on it, if anything more.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0
edmorley
Posts: 8
Joined: Thu Jun 07, 2012 10:25 pm

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by edmorley »

I can recreate this still on Nightly and latest dev NS.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by dhouwn »

Can reproduce on latest aurora and beta.
Seems like the content is there just somewhat invisible (page size does not change when it becomes visible and you can do "select all" before it's here).

/edit: Humm… "page-ready.js"? Also I wonder what the following is for:

Code: Select all

<script type="text/javascript">WTOptimize.setup({s_pageMode:'head', s_pageDisplayMode:'shift'});</script>
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0
User avatar
Giorgio Maone
Site Admin
Posts: 9526
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by Giorgio Maone »

Sorry, I couldn't reproduce because I don't get any webtrends.com script (maybe it's a regional thing?)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3370
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by GµårÐïåñ »

I could not reproduce this as stated before but given there was two more posts about it, I asked Giorgio to look into it and you have his reply here. So I am not sure how we can go about trying to hammer this out. To test the regional assumption, I used a UK server AND proxy to access the resources listed and I had none of the issues described. Now that doesn't mean its not a regional thing but I can pretty safely say that its not that, its gotta be something else playing into this. Just say for what its worth.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
edmorley
Posts: 8
Joined: Thu Jun 07, 2012 10:25 pm

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by edmorley »

Thank you for trying anyway :-)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3370
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by GµårÐïåñ »

edmorley wrote:Thank you for trying anyway :-)
You are most welcome, that's what we are here for.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by therube »

1) Visit http://www.halifax.co.uk
2) Allow *.halifax.co.uk but disallow webtrends.com
3) Navigate to http://www.halifax.co.uk again

Expected:
Page loads in a similar time compared to "allow scripts globally" or allowing both *.halifax.co.uk *and* webtrends.com

Actual:
Blue/grey page background for several seconds before the main page content renders.
Confirmed.

And once you have allowed both *.halifax.co.uk *and* webtrends.com, if you then Forbid webtrends.com, you see the same again.

Or even ...

1) Visit http://www.halifax.co.uk
-> with neither *.halifax.co.uk nor webtrends.com allowed (page loads fine)
2) Allow *.halifax.co.uk

Blue/grey page background for several seconds before the main page content renders.


Note that webtrends.com does not become viewable until after you have already allowed *.halifax.co.uk.

There are a number of external.js, like http://www.halifax.co.uk/common/script/webtrends_hfx.js but their source domain is still halifax.co.uk.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120628 Firefox/15.0a2 SeaMonkey/2.12a2
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3370
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: halifax.co.uk - slow page render if webtrends.com blocke

Post by GµårÐïåñ »

It could also be that they made their code dependent on something that is linked to a webtrend script and so when its disabled and you reload, it takes a bit for it to try and do some parsing before giving up and loading, that may be just by design on the website, which would definitely not make it a NS issue.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
Post Reply