News for hackers. Stuff that matters.
Re:A faster BBC News front page by kristianc on Monday April 24, 2017 @05:05AM (#14182862)
I find that BBC News is one of the best sites on the entire web for browsing with NoScript.

EDIT: This is what I get: http://imgur.com/a/Cg9sD

Re:A faster BBC News front page by afandian on Monday April 24, 2017 @05:41AM (#14182986)
Serious? This is how the current homepage renders for me. http://imgur.com/a/8pDS0

And the new one is even worse (though it's a work-in-progress)

http://imgur.com/a/IPr3U

Re:A faster BBC News front page by wldlyinaccurate on Monday April 24, 2017 @06:18AM (#14183138)
Wow, this is awful. Would you mind telling me what combination of settings/add-ons you have so that we can reproduce this?

Our "no JS" fallback styles are not done in a very nice way at the moment: they rely on the browser reading noscript tags. We never did any testing with NoScript or similar add-ons, and I remember hearing somewhere that those sort of add-ons don't always evaluate noscript tags.

Re:A faster BBC News front page by afandian on Monday April 24, 2017 @07:17AM (#14183347)
Thanks for your reply!

- Chrome Version 57.0.2987.133 (64-bit)

- No-Script Live 0.2.4 http://mybrowseraddon.com/noscript-lite.html

- Privacy Badger 2017.4.19.1

FWIW Privacy Badger isn't blocking anything, I think this is all from script blocking. I notice that low-res images get sent by default, which suggests that the design conflates 'no script' with 'mobile'? That's not true at least in my case.

Here's my browser log. https://gist.github.com/afandian/b97fc7bb9f5e15f924acb770322...

Re:A faster BBC News front page by wldlyinaccurate on Monday April 24, 2017 @08:48AM (#14183847)
Thanks! We'll take a look at this ASAP. In the mean time, I guess all I can do is apologise for the broken experience...

We use a technique called cutting the mustard to determine whether a browser is modern (read: >=IE9). This allows us to write one set of CSS that should work in pretty much any web browser (we call this the "core" experience), and another set that uses modern-ish CSS (the "enhanced" experience). One of the major drawbacks to this technique is that the technique relies on JS — it is literally just modernBrowser = ('addEventListener' in window && 'querySelector' in document && 'localStorage' in window).

So when you browse the BBC News website with JS disabled, you are getting a page that has been styled to work on a Nokia E65, BlackBerry OS4, IE8, and everything in between. Unfortunately right now we don't have a way to give you the enhanced version of the page without JS. In the future it might be possible for us cut the mustard at the server (or the CDN edge) based on User-Agent but that isn't something I can see happening in the foreseeable.

Re:A faster BBC News front page by afandian on Monday April 24, 2017 @09:09AM (#14183976)
It's great that you're trying so hard to accomodate such a broad landscape; of course there will be trade-offs. Being a weird intentional corner-case you get what you ask for, I suppose!

Thanks for engaging with questions.

Re:A faster BBC News front page by corobo on Monday April 24, 2017 @07:47AM (#14183450)
> I notice that low-res images get sent by default, which suggests that the design conflates 'no script' with 'mobile'

Could also be javascript-powered lazy loading. Load the low res using HTML then swap out high-res when the user scrolls it into view

Re:A faster BBC News front page by afandian on Monday April 24, 2017 @08:06AM (#14183553)
I'm talking about the thinking that led to this, not the mechanism by which it works.

Why would you send a low resolution copy of the image first? Probably because you assume someone is on a low-bandwidth connection.

Re:A faster BBC News front page by corobo on Monday April 24, 2017 @08:12AM (#14183586)
To make the page load faster (the topic of this post)
Re:A faster BBC News front page by UnquietTinkerer on Monday April 24, 2017 @03:52PM (#14187532)
I found that the "new" site looks reasonable with javascript completely disabled (i.e. turn it off in the browser settings). The problem appears to be when using a plugin to selectively restrict javascript (I use uMatrix) - in this case, the browser apparently doesn't interpret <noscript> tags. This is unfortunate, but I think its more of a bug/limitation in the script blocking plugins than a problem with your design.
Re:A faster BBC News front page by kevingrahl on Monday April 24, 2017 @08:32AM (#14183732)
Looks pretty much the same here though a slightly different setup:

- Chrome Version 58.0.3029.81 beta (64-bit) - uMatrix 1.0.0 - uBlock Origin 1.12.1 - Privacy Badger 2017.4.19.1

Re:A faster BBC News front page by dingaling on Monday April 24, 2017 @06:23AM (#14183159)
Another hindrance when browsing without JavaScript is that changing to a news sub-region ( e.g. Northern Ireland ) requires three jumps-and-clicks to the bottom of the page. A CSS-based menu would be a wonderful alternative.
Re:A faster BBC News front page by NoGravitas on Monday April 24, 2017 @08:32AM (#14183735)
I get the same as the first image.

Firefox 53.0 (64-bit). uBlock origin, HTTPS Everywhere, Decentraleyes, and Javascript Toggle.

Re:A faster BBC News front page by bratch on Monday April 24, 2017 @05:41AM (#14182989)
I find the opposite - without JS permitted for at least a couple of domains, one only sees the mobile site and extremely low resolution images.

Edit: And even with JS, images remain low resolution (or invisible) until you stop middle-button scrolling which makes for scanning through articles very painful.

Re:A faster BBC News front page by DamonHD on Monday April 24, 2017 @05:31AM (#14182935)
Well, other than the video segments which can take several interactions to enable and are even then not guaranteed to work..
Re:A faster BBC News front page by antigirl on Monday April 24, 2017 @05:23AM (#14182916)
probably the only site you can use on the internet then