News for hackers. Stuff that matters.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by michaelmior on Monday December 12, 2022 @12:14PM (#33957265)
Forcing all users of your website to use JavaScript to get around a scammer is pretty heavy-handed.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by kelnos on Monday December 12, 2022 @01:38PM (#33958390)
Presumably OP would only have to do this for a limited time, until the scammer gives up and moves on to an easier target. It's not the best, but I don't think it's as bad as you say.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by psychphysic on Monday December 12, 2022 @02:13PM (#33958843)
Just explain why in a way that vanishes with JS enabled. Like other have said it'll not need to be used for long.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by krater23 on Monday December 12, 2022 @01:53PM (#33958563)
Show me one website that today really works without javascript.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by jethro_tell on Monday December 12, 2022 @02:12PM (#33958820)
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by c22 on Monday December 12, 2022 @02:37PM (#33959132)
I've been surfing without javascript since 2015. Most websites continue to work fine without it (though some aesthetic breakage is pretty standard). About 25% of sites become unusable, usually due to some poorly implemented cookie consent popup. I don't feel like I'm missing out on anything by simply refusing to patronize these sites. I will selectively turn JS on in some specific cases where dynamic content is required to deliver the value prop.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by cpleppert on Monday December 12, 2022 @05:06PM (#33961109)
Same, I even wrote a chrome extension to enable js on the current domain using a keyboard shortcut; but it has gotten to be more of a pain especially on landing pages.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by michaelmior on Monday December 12, 2022 @02:39PM (#33959149)
> Most websites continue to work fine without it

> About 25% of sites become unusable

These two statements seem pretty contradictory. 75% feels like a low threshold for "most."

Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by c22 on Monday December 12, 2022 @03:44PM (#33960007)
Most is more than half.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by michaelmior on Monday December 12, 2022 @04:37PM (#33960772)
In casual conversation, I would never interpret most as being solely more than half. However, it seems like perhaps most people agree with you :)

https://english.stackexchange.com/questions/55920/is-most-eq...

Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by c22 on Monday December 12, 2022 @05:18PM (#33961223)
In my entirely casual understanding of English most means the set that has more members than any other. When the comparison is binary (sites that work vs sites that don't) then "more than half" is both necessary and sufficient as a definition.

When comparing more than two options most could be significantly less than half (e.g. if I have two red balls, and one ball each of blue, purple, green, orange, pink, and yellow, then the color I have the most of is red, despite representing only one quarter of the total balls.)

That said, any attribute attaining more than half of the pie must be most.

Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by michaelmior on Monday December 12, 2022 @06:36PM (#33962064)
In retrospect, the never in my previous comment was certainly an overstatement. While I agree with your reasoning, there is often a distinction between technically correct use of language, and what the hearer is likely to understand from what is said.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by crooked-v on Monday December 12, 2022 @06:00PM (#33961712)
Even JS-heavy websites are moving towards being usable without Javascript with server side rendering.
Re:Ask HN: Someone is proxy-mirroring my website, can I do a... by ranger_danger on Sunday December 25, 2022 @12:43AM (#34124673)
most websites these days already use javascript, and all modern browsers already support it. unless you're some really niche turbonerd website, nobody is going to notice or care...