News for hackers. Stuff that matters.
Re:Faster Web App Delivery with PRPL by c-cube on Monday October 19, 2020 @01:05AM (#24823459)
They cite Twitter as using this pattern. That's hilarious, considering Twitter is currently one of the shittiest site around : half the time I click on a Twitter link (I don't have an account) it leads to "you are not allowed to see this". After one or more reloads (actuary number seems to be rolled off a dice) I get to see the content, ie. 280 characters and maybe an image. I imagine they never tried to use their own website.
Re:Faster Web App Delivery with PRPL by sergeykish on Monday October 19, 2020 @02:39AM (#24823829)
Twitter is not accessible without javascript. It serves 15kB page and does not include these 280 characters. Even its CSP header (2kB) is much bigger than actual message. Instead it wants (hard refresh, uBlock)

    49 requests
    795 kB transferred
    3.6 MB resources
    Finish: 7.60 s
    DOMContentLoaded: 1.03 s
Re:Faster Web App Delivery with PRPL by colesantiago on Monday October 19, 2020 @03:56AM (#24824163)
> Twitter is not accessible without javascript.

What did you expect, isn't the web now built this way, I doubt you can play a video from Netflix without javascript.

Re:Faster Web App Delivery with PRPL by sergeykish on Monday October 19, 2020 @04:44AM (#24824391)
Glad to surprise you — most of the web works fine with first party CSS and images only, uMatrix:

    * * * block
    * * frame block
    * 1st-party css allow
    * 1st-party frame allow
    * 1st-party image allow
Some use CDN, allow 3rd party CSS and images, that's almost uMatrix defaults:

    * * * block
    * * css allow
    * * frame block
    * * image allow
    * 1st-party frame allow
Even facebook serves some visible content [1]. Yes, some sites require JS, youtube could have <video><source>, image lazy loading required JS, we've got <img loading=lazy> now.

[1] https://www.facebook.com/lasytoy/

Re:Faster Web App Delivery with PRPL by tobr on Monday October 19, 2020 @01:54AM (#24823662)
I also get that infuriating message all the time recently. I seem to recall reading that it is some kind of heavy-handed security feature, but I can’t find any references for it... can anyone fill in?
Re:Faster Web App Delivery with PRPL by twittair_pr on Monday October 19, 2020 @02:34AM (#24823804)
This issue is not being fixed because it improves the downloads of the native Twitter app, which makes more money (no ad blockers, push notifications, more tracking).
Re:Faster Web App Delivery with PRPL by kaoD on Monday October 19, 2020 @03:56AM (#24824161)
I had that error for years, but it evolved. Nowadays Firefox (desktop and mobile) just refuses to load anything due to a "protocol violation error" unless I hard-refresh with CTRL-F5.

I gave up trying to fix it.