Maybe for people who disabled JavaScript, DDG should present in the search results only sites that functions without JavaScript.
What’s the point otherwise?
What’s the point otherwise?
So at the end of the day I think just having a js-required flag for each document is sufficient and set that flag if the "main content" (as determined by heuristics) is unavailable before running JS. I think that would be good enough to satisfy most users with JS disabled without too much expense.