Live data from Hacker News

Chromium: Permit blocking of view-source: with URLBlocklist

chromium-review.googlesource.com

81–90 of 136 posts

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#81
post #13

> With Schools using Google Forms as a testing platform, students are able to use this shortcut to search through the source of the page, and determine the correct answers. So they're serving the answers with the questions, and get annoyed when the students figure this out. What a lark. How about using a system which doesn't do that?

But why would a person go through a multi-step process and decode the HTML source code, that's illegal, right?

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#82

Earlier quoted context omitted.

Why is that?

Because the goal of the quiz is to test math knowledge, not software bypassing knowledge.

And the goal of the student taking that quiz is to get the highest grade by any means necessary. Learning is entirely irrelevant.

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#83
post #58

Earlier quoted context omitted.

Is it remotely possible to vote against this policy? Who controls Chromium features – I know it's open source and thus one could always fork it, but how is the project governed? "Benign" dictatorship?

Here's the link to vote, no registration required: https://www.mozilla.org/en-US/firefox/new/

~3/4 out of Firefox users have their analytics disabled

if you're invisible your vote doesn't count anywhere ....

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#85

Earlier quoted context omitted.

Because the goal of the quiz is to test math knowledge, not software bypassing knowledge.

And the goal of the student taking that quiz is to get the highest grade by any means necessary. Learning is entirely irrelevant.

And since the student taking the quiz very frequently has no choice over whether or not they have to be there or take the quiz, their desires and goals are entirely irrelevant.

Edit: are you intentionally or unintentionally trying to justify any and all cheating as a means to get the highest grade possible?

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#86
post #48
post #20

Earlier quoted context omitted.

Dear StackOverflow, students keep cheating by looking at the page source and finding the multiple choice option with the id "correct-answer". How do I add a new feature to Chromium, submit a pull request to Google, get it past their various layers of checks and policies, and mandate that all schools use this new option?

Enterprise admins can set a wide variety of settings on user systems...are you against view-sources specifically or other admin abilities as well?

... it was a joke about a "hardcore X Y problem."

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#87
post #68

Earlier quoted context omitted.

Many of the best people in IT are there today, because they got curious about how stuff worked, experimented with it, broke the rules, and learned from that. This curiosity needs to be encouraged, not stopped. The young generation in IT already has issues because many of them don’t understand files, and many of them can’t even use a computer anymore. They grow up with tech all around them, but because all of it is cl…

These people can do that at home. Also not understanding files can be a benefit. Files are a legacy computing abstraction. Not knowing legally cruft can give you an open mind.

Most of the students using chromebooks at university or school do not have own computers at home. These devices are all they've got to access the internet.

Every experience they'll make during their teenage years with computers is shaped by these managed experiences.

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#88
post #79

Earlier quoted context omitted.

You can't actually paste that into the omnibar in chrome. It will eat the first part.

Yes, you have to manually type "javascript:" then paste the code. Or copy everything but the leading 'j' and hand type that after pasting. Or put it in a bookmark. Also, alert() truncates the text, but makes for a nice short demo. You could append a element to the page, or similar.

Taking advantage of a long-lost HTML tag () that tells the parser to switch the tokenizer to "PLAINTEXT" state[0] with no escape:

    javascript:document.body.innerHTML=""+document.body.innerHTML
From MDN[1]:

> The HTML element renders everything following the start tag as raw text, ignoring any following HTML. There is no closing tag, since everything after it is considered raw text.

You could use the

 tag, but that can be "escaped" from if a 
tag exists on the page. Escaping the angle brackets with < and > would fix it, but is more elegant IMO.

[0]: https://html.spec.whatwg.org/#plaintext-state

[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pl...

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#89
post #58

Earlier quoted context omitted.

Is it remotely possible to vote against this policy? Who controls Chromium features – I know it's open source and thus one could always fork it, but how is the project governed? "Benign" dictatorship?

Here's the link to vote, no registration required: https://www.mozilla.org/en-US/firefox/new/

All I found was an insecure browser...

Re: Chromium: Permit blocking of view-source: with URLBlocklist

#90
post #79

Earlier quoted context omitted.

Yes, you have to manually type "javascript:" then paste the code. Or copy everything but the leading 'j' and hand type that after pasting. Or put it in a bookmark. Also, alert() truncates the text, but makes for a nice short demo. You could append a element to the page, or similar.

Taking advantage of a long-lost HTML tag ( ) that tells the parser to switch the tokenizer to "PLAINTEXT" state[0] with no escape: javascript:document.body.innerHTML=" "+document.body.innerHTML From MDN[1]: > The HTML element renders everything following the start tag as raw text, ignoring any following HTML. There is no closing tag, since everything after it is considered raw text. You could use the tag, but that ca…

Yeah, that works great. Then the kids just put that in a bookmark called "view-source". Probably also easy enough to make another bookmark that puts it back to normal.
Post reply on HN