#editorial | Logs for 2023-04-02
« return
[01:25:21] <halibut> janrinok: I saw this: https://soylentnews.org
[01:25:22] <systemd> ^ 03SoylentNews Comments | Stop Blaming the End User for Security Risk ( https://soylentnews.org )
[01:25:48] <halibut> It's not on you to help everybody out, so feel free to ignore this.
[01:26:10] <halibut> However, without Javascript, you can open up a console and run this command, and it should make darkreading readable:
[01:26:18] <halibut> document.getElementById('overlay-fixed-all-screen').style.display = 'none'; document.getElementById('container-main').style.opacity = '100';
[01:29:05] <halibut> I just happen to like weird hacks like this, which is why I bring it up.
[01:29:24] <halibut> That is all. Hope it's at least amusing.
[05:27:38] -!- AzumaHazuki has quit [Remote host closed the connection]
[06:28:03] <chromas> Security website abusing JavaScript. Mighty sus
[06:30:37] <chromas> IceCat mobile sucks. Can't even copy the link to the article. All it will do is copy whichever word I long pressed
[07:15:30] <halibut> If you want sus, here are some things I stumbled on a while ago that are still problems: TechCrunch's and Bruce Schneier's websites behave differently based on your user agent.
[07:15:48] <halibut> You can actually get them to fail to return anything useful with the ``right'' user agent. Try:
[07:16:05] <halibut> curl -s -o /dev/null -D - https://techcrunch.com
[07:16:06] <systemd> ^ 03TechCrunch | Startup and Technology News
[07:16:27] <halibut> That works, but returns a lot of extra headers. However, change the user agent to Mozilla:
[07:16:49] <halibut> curl -s -o /dev/null -D - -A 'Mozilla/5.0' https://techcrunch.com
[07:16:51] <systemd> ^ 03TechCrunch | Startup and Technology News
[07:17:05] <halibut> (I meant Mozilla/5.0; Mozilla by itself works)
[07:17:11] <halibut> and you get an HTTP 502 error.
[07:17:37] <halibut> Interestingly, https://www.schneier.com handles Mozilla/5.0, but just Mozilla, and it does not return any response at all:
[07:17:38] <systemd> ^ 03Schneier on Security
[07:18:02] <halibut> curl -s -o /dev/null -D - -A Mozilla https://www.schneier.com
[07:18:02] <systemd> ^ 03Schneier on Security
[07:18:21] <halibut> OK. Enough spamming of #editorial. I realize I should have had this conversation somewhere else.
[07:51:26] <chromas> Not like anything else is going on here
[08:08:39] -!- halibut has quit [Remote host closed the connection]
[08:08:55] -!- halibut [halibut!~halibut@CanHazVHOST/halibut] has joined #editorial
[08:27:27] <chromas> halibut: using plain curl with no options other than the url, I get not only the article text in that Dark Reading article, but it's also in some json in the header for JS to load
[11:26:56] -!- norayr [norayr!~norayr@37.252.sq.ypj] has parted #editorial
[14:37:23] -!- norayr [norayr!~norayr@37.252.sq.ypj] has joined #editorial
[17:30:05] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #editorial
[21:14:08] -!- AzumaHazuki has quit [Remote host closed the connection]
[22:51:24] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #editorial