Slashdot Mirror


JavaScript User Prohibitions Are Like Content DRM, But Even Less Effective (teleread.com)

Robotech_Master writes: It always puzzles me whenever I run across a post somewhere that uses JavaScript to try to prevent me from copying and pasting text, or even viewing the source. These measures are simple enough to bypass just by disabling JavaScript in my browser. It seems like these measures are very similar to the DRM publishers insist on slapping onto e-books and movie discs—easy to defeat, but they just keep throwing them on anyway because they might inconvenience a few people.

118 of 188 comments (clear)

  1. Try using Tor now with the fucking Cloudflare! by Anonymous Coward · · Score: 1

    Damn near 1/2 the web switched on some shitty CloudFlare site blocking shit - and Tor users are being hit the worst!

    No - No I will NOT turn on my javascript you fucking CloudFlare using sites. NEVER!

    1. Re:Try using Tor now with the fucking Cloudflare! by Mashiki · · Score: 2

      Lot of sites switched to cloudflare as a cheap method of DDOS protection nothing more. It also makes it a pain in the ass for those of us who are out of the country and have to use a VPN service for work.

      --
      Om, nomnomnom...
    2. Re:Try using Tor now with the fucking Cloudflare! by Mashiki · · Score: 1

      So stop visiting those sites.

      Sure, I'll just remove Zendesk and Cisco from the list of companies I occasionally have to do work with. I'm sure that will work out well.

      --
      Om, nomnomnom...
    3. Re:Try using Tor now with the fucking Cloudflare! by ArsenneLupin · · Score: 2

      So stop visiting those sites.

      Sure, I'll just remove Zendesk and Cisco from the list of companies I occasionally have to do work with. I'm sure that will work out well.

      Why not? Grow a pair, and the world will be a better place.

    4. Re:Try using Tor now with the fucking Cloudflare! by Mashiki · · Score: 1

      Why not? Grow a pair, and the world will be a better place.

      Well, I clear around $7800/mo(not counting overtime which pushes me into the 138k range yearly) so if you'd like you can contact me at the above email address and I'll send you my paypal and you can start transferring the money over post-haste.

      After all, when the company policy is to use xyz vpn while in HK or China you do what they say or you lose your job. This isn't rocket surgery.

      --
      Om, nomnomnom...
    5. Re:Try using Tor now with the fucking Cloudflare! by ArsenneLupin · · Score: 1
      Looks to me like you are actually part of the problem...

      But anyways, feel free to post your Paypal here, I'm sure plenty of people around here would be able to make good use of it :-)

    6. Re:Try using Tor now with the fucking Cloudflare! by Mashiki · · Score: 1

      Ah, being employed is part of the problem. That sure makes makes a lot of sense. Funny that it always appears that the guy with the loud mouth claiming that the other person is the problem when they're called out.

      --
      Om, nomnomnom...
  2. Ah, but it's the effort to deter that counts. by Anonymous Coward · · Score: 4, Insightful

    Nobody expects a "No Trespassing" sign to stop anybody from really doing anything they shouldn't, heck, you shouldn't expect your home locks to stop a burglar, and no, nobody thinks a "No Guns allowed" sign stops anybody with firearms.

    But once you say "Stop, don't do it" then anybody making the effort to continue, no matter how trivial, has made an intentional action on their part.

    1. Re:Ah, but it's the effort to deter that counts. by Alwin+Henseler · · Score: 5, Insightful

      You might have been right if the DRM applied aligns 100% with legal boundaries. That is, allow what's legal and prevent illegal uses. And keeps doing so as circumstances / place / time changes.

      But in practice, it never does. DRM on an e-book that prevents copying period, also prevents copying small snippets to use as quote. Which is perfectly legal - see "fair use".

      Unlike author claims, the DRM on Blu-rays is far from broken. If it were, playing them on open source operating systems like Linux would be as easy as playing DVD's on there. But that's not the case. There's databases of per-disk decoding keys floating around. There's libraries that emulate some sort of virtual machine that's built into 'authorised' playback devices. There's other libraries that cut through parts of the DRM bullshit, or attempt to streamline the process.
      But all of these are kludges, there's no 100% guarantee that a random Blu-ray will play (using open source, at the moment), and it's a lot of hassle for users who are just trying to play discs they legally purchased. I'm sure it's only a matter of time before the DRM on Blu-rays will be as irrelevant as that on DVD's, but we're not there yet and in any case it doesn't change the annoyance factor one bit.
      What's more: these issues mostly bother legal users, those who download movies illegally couldn't care less. But the DRM will still be in place as long as the discs itself. Regardless of legalities.

      There's countless examples like that. The technical measures are practically never capable of following legal developments, nor do they adapt to local jurisdiction. Or have a built-in kill switch that 'frees' a product when legal restrictions end. In my personal opinion: DRM simply lowers the value of products that it's applied to, PERIOD. Sometimes to the point of making those products worthless. Some DRM is just more annoying or difficult to circumvent than others.

    2. Re:Ah, but it's the effort to deter that counts. by gl4ss · · Score: 1

      just because something blocks you from accessing a context menu doesn't mean that you're not allowed to press save as.

      besides, for all your examples you would notice if someone did that.

      furthermore, are you really so stupid that you think people don't generally leave their guns at home when boarding a flight because there's signs(rules) saying so? wtf man, wtf. how would you know if a bar banned open carry if they did not post a sign. those signs, they stop a plenty of people from doing things other people don't want them to do. sure, they're not a fence or a wall or a safe, but they are not supposed to be those things either.

      how would you know it wasn't private property without the no trespassing sign anyways? ok, so, in the desert around area 51 the signs stop nobody? you sure about that? how the fuck are hikers supposed to know that they are not allowed to go there unless they have signs up.

      and back to the original subject - why do they keep pushing javascript fake drm? for the same reason sony shipped crappy cd drm that never worked. because someone SOLD THEM THAT DRM SOLUTION AND THEY WERE STUPID ENOUGH TO BUY IT.

      --
      world was created 5 seconds before this post as it is.
    3. Re:Ah, but it's the effort to deter that counts. by Z00L00K · · Score: 1

      But this also prevents those that may just want to make a quote and then link to the full story at the site.

      The practice to think that all such actions are evil intended is sick.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    4. Re:Ah, but it's the effort to deter that counts. by Bert64 · · Score: 1

      A sign is a notification...
      A notification on a website could be placed within the text of the site itself, using javascript is a very poor attempt to do more than just post a sign...
      It's more akin to an extremely low fence.

      The worst part is that whoever requests stuff like this be added generally believe it's actually effective, but all it does is serve to irritate users.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    5. Re:Ah, but it's the effort to deter that counts. by bytesex · · Score: 1

      In the US, bypassing DRM is illegal. Not many other places. Of course, the US reserves the right to try any world citizen in absence for infractions not committed on US soil, so there's that...

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    6. Re:Ah, but it's the effort to deter that counts. by StormReaver · · Score: 2

      In my personal opinion: DRM simply lowers the value of products that it's applied to, PERIOD. Sometimes to the point of making those products worthless.

      This is the reason I don't buy Blu Ray disks, ever, but continue to buy DVD's. The first thing I do with DVD's I buy is to extract them to my home media server, to keep the original disk safe and to be able to watch the movie from any computer in my house. Blu Ray makes this so painful that I just won't buy any. That type of access restriction lowers the value of Blu Ray to zero.

      I totally get why illegal movie downloaders claim that the movie studios are the biggest cause of illegal movie downloading.

    7. Re:Ah, but it's the effort to deter that counts. by dryeo · · Score: 1

      America has successfully been pushing for other countries to make breaking DRM illegal. Here in Canada the US claimed we were worse then China for pirating and pressured the government to make breaking any DRM (excepting VHS tapes) illegal, not even the exceptions you guys get. All the trade treaties in the pipeline also include various ways to make IP stronger, copyrights longer and other BS.
      American companies are well served by their government, much better then the voters/taxpayers.

      --
      https://en.wikipedia.org/wiki/Inverted_totalitarianism
    8. Re:Ah, but it's the effort to deter that counts. by thoromyr · · Score: 1

      While I generally agree with what you are saying, if you are able to break the DRM by yourself without recourse to a cracking tool made by someone else (such as the previously mentioned turning off javascript and then copying from a website) then that is defensible. I don't recall the court and don't have a citation handy, but that was the criteria employed by a judge in deciding a case.

      In other words, using a library to crack dvd encryption would be a violation of the DMCA, but if you independently wrote a cracking tool then that could legally be used for your own purposes. Pretty much bullshit, but it does apply to the example you provide.

      Related to the futility of web-based DRM, a long time ago a photographer once asked me how to prevent people from taking his photographs from his website and reposting them as their own. My answer was that you can't really prevent people from doing that, but if you branded the image (embedded logo in it) then saved it as a jpg with the lowest quality that would satisfy him it would mean that someone "stealing" the image would either retain the logo or have to be satisfied with lower quality. (He didn't like that, insisting that there had to be a way to prevent people from swiping the images, and wouldn't believe me that they were all trivially circumvented. It was unacceptable to him for there to be a visible logo in the image. Oh well.)

    9. Re:Ah, but it's the effort to deter that counts. by chmod+a+x+mojo · · Score: 1

      But in practice, it never does. DRM on an e-book that prevents copying period, also prevents copying small snippets to use as quote. Which is perfectly legal - see "fair use".

      I'm sorry to hear that your fingers are broken and you can't type up your paper / article / whatever. By the way, how did you manage to write the rest of the words, including the proper citations of the text you wanted to copy? And hoooo boy, what if you wanted something from a physical book? Scan and OCR or just get lazy and take a photo of the page?

      --
      To err is human; effective mayhem requires the root password!
    10. Re:Ah, but it's the effort to deter that counts. by harl · · Score: 1

      Except that keeping people out isn't the point of "No Trespassing" signs. A legal requirement of trespassing is that you have to be told that you are not allowed there. Thus if there are no signs then you cannot be prosecuted unless an authorized agent finds you in the act and requests your departure.

      --
      I find being offended by me offensive.
    11. Re:Ah, but it's the effort to deter that counts. by Locke2005 · · Score: 1

      DRM doesn't plug the analog hole. If you wan't to copy small snippets from a book, type them in by hand like I do. The trivial cut-and-paste blocks aren't intended to prevent copying, only to make it more inconvenient. Agreed, it would be nice to have technological countermeasures better aligned with the legal restrictions, but the technology changes a lot faster than the legal framework for dealing with technology, and lawyers don't make any effort to align the law with the technology, do they?

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
  3. security by Anonymous Coward · · Score: 1

    Nobody who cares about security has Javascript enabled by default to begin with, given its track record so far.

    1. Re:security by lucm · · Score: 1

      With more and more single-page websites that use stuff like Angular, it is no longer possible to have a decent Internet experience without javascript. Might as well just browse the Google cache.

      --
      lucm, indeed.
    2. Re:security by Anonymous Coward · · Score: 1

      The solution is simple: don't use sites that make it hard to use. Stop fighting their systems and wake up to the fact when you are doing so, you are spending your limited time on this planet to become their product. They sell your access to advertisers, that's the sole reason why they exist. The content is invariably scraped or plagiarised from elsewhere, too. The more effort you put into using these awful front-ends, the more you're conditioning yourself to be a loyal eyeball to that brand.

    3. Re:security by lucm · · Score: 1

      What are you talking about? I don't "put effort" in using Gmail or Trello.

      Javascript is a lot more than ads and tracking. It's a legitimate client-side web technology that makes it possible to run rich apps in the browser or on a mobile device without having to reload pages all the time and without having to use toxic stuff like Flash or ActiveX.

      And how the fuck do you post on Slashdot if you don't have javascript enabled?

      --
      lucm, indeed.
    4. Re:security by serviscope_minor · · Score: 2

      In firefox you can disable clipboard events only, which allows javascript to run but completely nerfs attempts to block copy/paste. about:config

      Note however that it will break things like google docs until you re-enable them since that requires overriding copy/paste events apparently are necessary as the browsers provide them rather than more generic operators.

      --
      SJW n. One who posts facts.
    5. Re:security by lucm · · Score: 2

      Kill yourself

      I think people like you play an important role on internet. You're like the crazy homeless people who make the subway ride more entertaining when you've left your kindle at the office.

      If I can make a suggestion: maybe if you could sound just a little less like a petulant teenager making angry posts on Facebook, it would make you slightly more relevant. But in any event, keep up the good work!

      --
      lucm, indeed.
    6. Re:security by lucm · · Score: 1

      Just opening the Gmail inbox and looking at 1-2 emails and there's already 50+ different xhr calls in your developer tools console. Trello has even more.

      I don't think you understand how internet works nowadays.

      --
      lucm, indeed.
  4. Trivial to bypass by PhantomHarlock · · Score: 4, Interesting

    I am a photographer, and I have no problem sharing this:

    If you want to get around the image obfuscation used by most photo sharing sites and more and more news sites, open up firefox, and go to view -> page style -> no style. That usually gives you the actual image displayed somewhere in the resulting page. No plugins needed.

    If you want to better ensure your name stays with an image, watermark it, and add meta-data. Depending on how annoying the watermark is, someone could take the time to paint it out, and meta data is trivial to strip. As the saying goes, if you can see it, you can take it. If you're that worried about it, don't show it to anyone.

    1. Re:Trivial to bypass by Anonymous Coward · · Score: 1

      There is a photo 'protection' system I have seen recently (cannot remember the name) that genuinely obfuscates around this.

      It's pretty heinous in implementation -- the photos get split into tiles and reassembled in a Canvas, like Google Maps. It's not really going to thwart a screengrab and I bet it's pretty ugly in terms of battery life/CPU on mobile. I would not want this on my website.

      Of course if you want your photos to be seen, you play the social media game, and that means sending unobfuscated images to _someone_, where they will be stolen. It happens to everyone and there's no reason we photographers should be first to be protected.

      If I remember what it was bloody called I will reply to myself, though, because it was interesting in its heinousness.

    2. Re:Trivial to bypass by Aighearach · · Score: 1

      I bet it's pretty ugly in terms of battery life/CPU on mobile

      It is likely to be nearly free, because the 2d video hardware handles moving the squares around. From a CPU perspective it is just re-ordering an array and making a few API calls to the video driver. The standard fiddling of the DOM that modern websites do with JS is way worse.

      I always just assume that the photographer doesn't want the unwashed masses to see their work, so I oblige them and find content that wants to be Free. Content wants to be Free, but not all content. Humans want to be Free, but not all humans. Free humans should use Free content. Everybody wins! Even elitist-DRM-guy, who is protected from the limelight.

    3. Re:Trivial to bypass by Anonymous Coward · · Score: 3, Interesting

      I've used DigiMarc for years as a way to invisibly watermark images. The only time I've had to use this was someone linking to images on my website, using my bandwidth. I changed the pics the links he pointed to, to random 4chan memes. He then threatened to sue, and claimed ownership of my images. Well, a DMCA takedown notice sent to his ISP and the ISP above him did the job. I then change my web code to only let people with a Referer header from my site view the pictures (primitive, but deters stuff), and moved on.

    4. Re:Trivial to bypass by thegarbz · · Score: 3, Interesting

      I like Flickr's attempt at blocking the image. If I want to download an image in Chrome I normally right click the image and hit S on the keyboard. Then save it somewhere. If a Flickr image is marked as download disabled and I right click an image in Chrome and click S I still get given a familiar save as dialogue. Except this time since Chrome doesn't think I clicked on an image it downloads the page. .... with the image at every available resolution. Just sorting the resulting folder by size gives the image.

      This isn't even a wilful bypass, it's an accidental bypass.

    5. Re:Trivial to bypass by lucm · · Score: 2, Funny

      Looks like the opposite of sprites, so it's probably called pepsi

      --
      lucm, indeed.
    6. Re:Trivial to bypass by Anonymous Coward · · Score: 1

      heh nice trick. Also tools->page data->media works too for everything.

    7. Re:Trivial to bypass by Falos · · Score: 1

      >If you're that worried about it, don't show it to anyone.

      This. "Three men can keep a secret if two are dead."

      Once you release something in the wild, any illusion of control over it exists on a voluntary basis. If you want moral (but not logistical) claim over it, put it behind conditional agreement. You don't see corporates protect their trade secrets with propaganda posters - you have people sign a fucking NDA and you STILL maintain a need-to-know over sensitives that you keep relatively quarantined.

      Because information is a contagion, not a possession.

    8. Re:Trivial to bypass by thegarbz · · Score: 1

      Yeah there's always a way but you missed my point, the point was that their copyright prevention system is so useless that the same shortcut key combination that used to download images still downloads the images (just some HTML and CSS files as well).

      This is less than useless. This is useless to the point where someone doesn't even understand computers will still download pictures but may not even realise what's going on. It's everything I've come to expect from the yahoos at Yahoo.

  5. Please don't jump all over Anne R Allen's blog... by Anonymous Coward · · Score: 3, Insightful

    ... telling her how dumb this is. She knows, she didn't put those wheels into motion herself, and she sounds pretty gutted and apologetic.

    Play nice.

  6. As a non anon coward by the_Bionic_lemming · · Score: 2

    Yeah. Scripting - it's shut off unless needed. For me to enable any scripting I really do have to want the cheese.

    I'd rather find another site before any scripting is enabled in my browsers - and to accentuate my level of paranoia - I stopped loading Adobe stuff 5 years ago.

    --
    _ _ _ Go for the eyes Boo! GO FOR THE EYES!
    1. Re:As a non anon coward by ls671 · · Score: 1

      Yeah. Scripting - it's shut off unless needed. For me to enable any scripting I really do have to want the cheese.

      Please enable javascript to see the big boobs then, please download and install our special plugin to see everything...

      --
      Everything I write is lies, read between the lines.
    2. Re:As a non anon coward by the_Bionic_lemming · · Score: 1

      Real life can provide big boobs. It's easy, just have a house and a paycheck - once that gets out big boobs flock to use and spend that.

      --
      _ _ _ Go for the eyes Boo! GO FOR THE EYES!
    3. Re: As a non anon coward by WarJolt · · Score: 1

      Don't forget to turn off cookies too.

    4. Re:As a non anon coward by ls671 · · Score: 1

      Duh, I know this but some like to Go for the eyes Boobs! GO FOR THE EYES! before they play with the in house ones.

      --
      Everything I write is lies, read between the lines.
  7. Re:Please don't jump all over Anne R Allen's blog. by Robotech_Master · · Score: 2

    That's why I added the update right at the top explaining about that before the story even got picked up on Slashdot.

    --
    Editor Emeritus and Senior Writer, TeleRead.org
  8. "Few"? by Ixokai · · Score: 4, Insightful

    I think you underestimate how many people this sort of thing stops. Yeah, it won't stop most techheads, but the inconvenience is enough to stop most people. Hell, most people don't even know you can turn off javascript. Most people don't even know what javascript is.

    That's sufficient for their purposes, really. They can't stop everyone, no system is perfect, its enough for them to minimize it.

    1. Re:"Few"? by Art3x · · Score: 1

      I read the article, and it turns out it isn't mainly about how easy it is to bypass JavaScript restrictions. That's a part of it, and maybe he needs to be reminded of the majority's computer competence. But that's not the gist.

      It wasn't so much, "Ha ha, watch me bypass your flimsy JavaScript." It was more, "Oh the senseless inconvenience you put me and others through," and "This copy-blocking clashes with the Internet like a plaid shirt and checkered pants". A few of his points:

      1. If you don't want your stuff copied, why put it on the Internet?
      2. I found the article in the first place because it was excerpted by another publication.
      3. Copying and pasting little tidbits is part of social media.
      4. The person you're really worried about, who will copy the whole thing and try to pass it off as their own, probably knows how to bypass your measly JavaScript.

    2. Re:"Few"? by turbidostato · · Score: 1

      "I think you underestimate how many people this sort of thing stops [...] That's sufficient for their purposes, really. They can't stop everyone, no system is perfect, its enough for them to minimize it."

      Probably you are right, and that's a problem on its own: most users don't know how to bypass these kind of measures... but most providers seem not to know what they are doing either.

      A naive example: I was looking for a second hand car and I was taking notes on candidates: some sites didn't allow me to copy&paste data like vendor's telephone number or car's plate number (well, it wouldn't avoid it, just making it absurdly cumbersome). How this benefits anyone, either prospective buyers or sellers!?

      A dangerous example: working for an important company, I had to use their ill-thought "vpn" system, which made very difficult to make my legit work but still wouldn't stop me damaging the systems I was working on (which I was tempted to, out of frustration). Trying to explain security people both why this was a problem and how they could change their configuration to better fit their intended purpose, even within the letter of their security policies, would be answered with a bland looking like "what the heck is this guy talking about?"

    3. Re:"Few"? by gstoddart · · Score: 1

      Oh, and don't forget:

      5. The way the DMCA is written it doesn't matter how pathetic or useless the lock is, merely that someone tried to digitally protect it.

      So, don't forget that defeating this flimsy javascript, is (according to a law bought and paid for by the copyright cartel) just the same as defeating crypto or breaking a physical lock.

      And those people don't recognize any of your points like how this incompatible with the intertubes. They bought a law which doesn't give a crap about any of that. Just because you can defeat it won't protect you from copyright claims.

      --
      Lost at C:>. Found at C.
    4. Re:"Few"? by thoromyr · · Score: 1

      Actually there is a court tested exception where if you crack the "lock" yourself it is okay. It is using someone else's tool that will get you into trouble. The trivial case of the web-browser based "protection" gives a practical application of this.

      Now, its a defense not immunity so it doesn't protect against a lawsuit. However, you shouldn't run afoul of the DMCA on that particular point.

    5. Re:"Few"? by thoromyr · · Score: 1

      So much the #4. Yes, there are counterexamples*. But anyone who is actually interested in stealing stuff can put in the extremely modest effort to discover how to bypass Javascript protections.

      Put it this way: if so many people can work out that they need to download a torrent application and then wade through torrent search results in order to pirate a movie I think anyone interested in plagiarism can work out turning off Javascript.

      * my wife discovered that some of her online photographs had been "stolen". It was really kind of strange because they aren't -- themselves -- artistic (the art isn't in her photographs, but what is being photographed) and they were bulk included on a page consisting of numerous "stolen" images. A really diverse collection of images without any sort of theme or coherence. There was no evidence that it was anything other than the most casual of dragnets that swept up numerous images. Would it have been stopped by using a Javascript "protection"? Possibly. But really, who cares?

    6. Re:"Few"? by thegarbz · · Score: 2

      They can't stop everyone, no system is perfect, its enough for them to minimize it.

      Minimising only works if you can provide the same restrictions on all plays of the content. If you only minimise then the content "becomes available" by other means. Once it's available non-techheads have no problem accessing the content.

      e.g. Blu-ray. My girlfriend has no idea how to rip a blu-ray, doesn't have the hardware, the codecs, doesn't know which software she needs to decrypt it, or how the encryption scheme works. That doesn't stop her from having files like The.Avengers.x264.bluray-[guy-who-did-the-ripping].mp4 on her computer.

      She also doesn't bother stripping DRM from ebooks, but when you can download a torrent with every ebook released in a given year in one go DRM free, why would she need to?

    7. Re:"Few"? by dunkindave · · Score: 1

      Oh, and don't forget:

      5. The way the DMCA is written it doesn't matter how pathetic or useless the lock is, merely that someone tried to digitally protect it.

      So, don't forget that defeating this flimsy javascript, is (according to a law bought and paid for by the copyright cartel) just the same as defeating crypto or breaking a physical lock.

      Nope. You installed NoScript, or had javascript turned off due to annoying pop-ups, either done for legitimate reasons, then when you visited the site in question saw something you liked and copy/pasted it. No warning appeared. The fact that a "protection mechanism" was applied, but it only did anything when a subset (even if majority) of people went there, means they would have no valid recourse against you. Unless, perhaps, you were stupid enough to brag about how you got around their protections, but probably not even then.

      It would be like putting a loud and irritating noise-maker outside your door and therefore believe anyone who ignored it, covered their ears, or wore earplugs were actively defeating it, but then crying foul and suing when deaf people still came by since they didn't know it was there, or people did cover their ears since they thought the noise was an error by you. The judge would chuckle a little, look at you, and say dismissed.

      Just because you can defeat it won't protect you from copyright claims.

      As the saying goes, you can sue for anything, so you can't protect yourself from someone making a claim. But in this case, their claim would fall flat and be dismissed in about one legal step.

  9. Wouldn't the point of this stuff by rsilvergun · · Score: 3, Informative

    be to trigger the DMCA. No matter how trivial it is you just violated the law by bypassing it...

    Also how slow a news day does it have to be for this to make the front page of /.? Seriously, it's not even a blog post. There's no content.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
    1. Re:Wouldn't the point of this stuff by Blue+Stone · · Score: 2

      The DMCA's text cites "effective measures" being circumvented. Not sure this little trick qualifies. Wouldn't want to have to argue it in court, of course. ;)

      --
      Corporation, n. An ingenious device for obtaining individual profit without individual responsibility. - Ambrose Bierce
    2. Re:Wouldn't the point of this stuff by DarkTempes · · Score: 1

      I think you're right that it doesn't count but not because it's "trivial to bypass" but because the javascript copy-block is not necessary to access the work and doesn't "[require] the application of information, or a process or a treatment" to access the work.

      If you did a simple ROT13 encryption of the text and had javascript decrypt it on load and included copy/paste blocking then I think it'd probably count even though it wouldn't be very effective.

      Or if the javascript only "allowed" you to copy/paste 1 word at a time then I think it'd count but wouldn't be very effective.

      My layperson interpretation:

      (a)(1)(A) No person shall circumvent a technological measure that effectively controls access to a work protected under this title.
      (a)(3)(A) to “circumvent a technological measure” means to descramble a scrambled work, to decrypt an encrypted work, or otherwise to avoid, bypass, remove, deactivate, or impair a technological measure, without the authority of the copyright owner; and

      Definitely bypassing a technological measure here but does it "effectively control access"? ...

      (a)(3)(B) a technological measure “effectively controls access to a work” if the measure, in the ordinary course of its operation, requires the application of information, or a process or a treatment, with the authority of the copyright owner, to gain access to the work.

      ... I don't think our javascript copy-block technological measure here qualifies as effectively controlling access to the work.

      (b)(2)(B) a technological measure “effectively protects a right of a copyright owner under this title” if the measure, in the ordinary course of its operation, prevents, restricts, or otherwise limits the exercise of a right of a copyright owner under this title.

      Sounds like the simple javascript copy-blocking would count as a technological measure protecting the right of a copyright owner. But (b)(2)(B) shouldn't apply to (a)(1)(A) as they're different subsections dealing with different issues.

      The DMCA: https://www.gpo.gov/fdsys/pkg/...
      The US Code is modifies: https://www.law.cornell.edu/us...

  10. Aggregators by Bite+The+Pillow · · Score: 3, Informative

    Years ago, fark.com went from external images to hosted images. I didn't see the endgame.

    This week, JavaScript is required to load the images. It's vendor lock in all over again. Because who uses an external host if you can just click upload?

    And then I see the same advert every 5 posts.

    Forbes is a white page to me, LATimes us just the menu with a word or two, and several other sites have absolute divs that cover most of the content.

    Your whining about idiotic DRM is just the tip of the iceberg. Bypassing by disabling is one thing. Loading a giant page that renders illegibly requires server resources that, as long as I mostly have wi fi, I'm willing to refresh repeatedly to ensure it really is a problem with the site.

    1. Re:Aggregators by Ksevio · · Score: 1

      Moving to hosted images is probably more of a security/privacy thing since external images would let you track every person that viewed them. It also helps weak servers that might not be able to handle the load.

    2. Re:Aggregators by Antique+Geekmeister · · Score: 1

      > since external images would let you track every person that viewed them.

      It's particularly crucial to Akamai and ad.doubleclick.net's collaborations. (http://motifcdn2.doubleclick.net/EMEA/ad-in-a-box/LiveStreaming/LiveStreaming_Build_Guide_EN.pdf ).

      As a warning, don't be confused by those pseudo-random looking URL's for web images. Many of them do come from the same set of back-end services run by a relatively small set of companies, and they provide tremendous metadata about web use down to the individual purchaser level. Just because the data is "pseuonymized" does not protect it from analysis of the initial raw data, which is often poorly secured by the software companies themselves.

    3. Re:Aggregators by henni16 · · Score: 1

      Years ago, fark.com went from external images to hosted images. I didn't see the endgame. This week, JavaScript is required to load the images. It's vendor lock in all over again. Because who uses an external host if you can just click upload?

      Uh, I've Javascript disabled an no problem seeing images in Fark threads.
      As a matter of fact, if you've Javascript disabled, there's no "upload" to click and you have to use an external host (Fark then downloads the image from there onto their servers).

      And I wouldn't call some forum rehosting external images on their own servers "vendor lock-in".

    4. Re:Aggregators by henni16 · · Score: 1
      There is this.
      But the reasons I've heard more often are
      • * (hardware performance / hosting prices have reached a point that iit's possible now)
      • * doing SSL without browser complaints will be difficult if the page contains 3rd party images included via http instead of https
      • * images will still be there later; in most old threads, especially photoshop contests, they're mostly gone because the hosts don't exist anymore
      • * easier to moderate threads (no need to run their scripts anymore that check old threads for images which have been swapped out, either by the user or the host)
      • * easier to use because you neither need to know HTML nor have an external host
    5. Re:Aggregators by thoromyr · · Score: 1

      I've hit sites that have really stupid javascript created overlays to obscure the page so you have to see their advertisement. Really annoying on a phone or even a tablet, particularly when they manage to push the close widget off of the devices screen. Fortunately, I've discovered that (at least most of them) are defeated simply by canceling the page load as soon as the content appears. The page then presents just fine without having run the javascript to display the advertisement.

  11. Re:JavaScript. by Aighearach · · Score: 3, Informative

    Sorry, false pedant, in this case "Javascript" is just a colloquialism for ECMAScript.

  12. How do you stop someone from viewing the source? by mark-t · · Score: 1

    Serious question.... is it even possible to disable browser hotkeys while they are on a page so that they can't view the source code to the web page they are visiting?

  13. Re:How do you stop someone from viewing the source by Alwin+Henseler · · Score: 3, Insightful

    Who says you're using a browser to view or render a web page's contents?

  14. Avoid Litigation by avandesande · · Score: 2

    Another possibility is they are trying to avoid getting sued by content providers- that they have applied best practices to protect media.

    --
    love is just extroverted narcissism
  15. Re:How do you stop someone from viewing the source by mark-t · · Score: 1

    Even assuming that one is.... afaik, there is no way in javascript to disable menu items, or even the hotkeys to those items.... can you imagine a webpage blocking alt-f4?

  16. Using shift key by ajyand · · Score: 3, Interesting

    Some of the UI restrictions can be evaded just by pressing a special key like "shift" or "ctrl" while using the mouse and it does not require to disable javascript. I was so frustrated once that I copied the entire text from the page and posted it as a comment to tell them look, I can copy and paste.

    1. Re:Using shift key by edtice1559 · · Score: 1

      The probably thought that you just loved their content so much that you were willing to type the whole thing out in order to better remember it. Now they'll disable copying comments so that others won't copy and paste from there! (Only half funny, unfortunately)

  17. might inconvenience a few people? by fred911 · · Score: 3, Interesting

    I would venture to say that it inconveniences more than a few, the majority of whom have no idea there is an alternative. Typically Joe Sixpack is clueless a click bait victim and the bread and butter of 90% of content sellers.

    Besides, Janice in accounting don't give a fuck!

    --
    09 F9 11 02 9D 74 E3 5B - D8 41 56 C5 63 56 88 C0 45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  18. Re:How do you stop someone from viewing the source by cfalcon · · Score: 4, Informative

    Javascript is a steaming pile of shit, riddled with vulnerabilities and broken from tip to top.

    So of course they try to allow some overrides:

    http://stackoverflow.com/quest...

    Basically, you can google anything with "javascript disable" and get developers asking how to fuck their users in the pee hole. Often, there's an answer.

    It wouldn't actually prevent users from viewing source though- I'm not aware of a way to do that. However, if there is, you can find it at good old google bombing expert sex change:

    http://www.experts-exchange.co...

    Also note: the real workaround for this isn't globally disabling javascript, though if everyone did that the web would shape up immediately. The real workaround is the various -monkeys that let you redefine pieces of javascript locally. Many sites go through several hoops to prevent loading on a browser that won't run their shitscript, but redefining parts and/or loading your own CSS can get you around most of it.

  19. Re:JavaScript. by Psion · · Score: 3, Informative

    Nope, sorry. It's called Javascript, but it has nothing to do with Java. It's a totally different, interpreted language.

  20. Re:How do you stop someone from viewing the source by mark-t · · Score: 1

    I did google before I asked the question... I saw many claims, but none seem to actually work, even without disabling javascript. Nonetheless, the article at the link in the summary said that Ctrl-U hotkey was somehow disabled for them.

  21. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    Yea, like I said, I'm not aware of any way to do that. If there is one, it won't be effective in general. What they probably did was put a shit lot of linefeeds after a "Viewing source is disabled" comment at the top of the HTML- I'm not even joking, that's a real thing people do lol

    But you really can intercept Ctrl-U. The thing is, most browsers simply ignore it, for obvious reasons.

    You probably saw this mewling poopsack:
    http://stackoverflow.com/quest...

    And this dumb jive turkey:
    http://www.makingdifferent.com...

    There's plenty of code in there that does it. You'll also find that, in general, working around it is as trivial as not using a shitty browser that listens to bad advice like that. I don't doubt that the guy ranting ran across something that actually did what he said it did, somewhere.

    Seriously, can you believe that some browsers in the modern day trust remote code? It's really dumb.

  22. Do you lock your house door? by iamacat · · Score: 1

    You got to realize that someone knowledgeable in physical locks can bypass them as easy as you can bypass Javascript right click popups. Yet both still reduce undesirable actions, such as your story being reposted in full on someone's blog without giving credit, link to the source or a chance for you to make money on ads.

    It makes a difference when you at least communicate your wishes clearly. Not saying that copying is illegal, or implementing this behavior is best policy, just that it at least significantly reduces copying in practice. I see some other sites that automatically append a link to source to the end of copy buffer. That is probably a much wiser policy for retaining existing readers and acquiring new ones.

  23. Re:How do you stop someone from viewing the source by mark-t · · Score: 1

    The only thing I understood it was possible to disable in js was direct copy/paste, by intercepting mouse clicks on the panel, and disallowing the user from selecting text in the first place . That's a pretty far cry from disabling a hotkey, let alone a program menu item (fwiw, copy paste still technically works on the pages that try to disable it too, they just don't let you select text in the first place by intercepting the mouse click, so there's never anything to copy).

  24. Yep... by SharpFang · · Score: 4, Interesting

    Sometimes they don't even notice.

    There was this site with "lessons" in using some API or library. There were code examples. And if you tried to select and copy, to paste an example into a compiler, a dialog would pop up telling you that the content is copyrighted and you're not allowed to copy it.

    And at the bottom of the page was a survey, "What can I do to improve these lessons?"

    I filled it out, with my email and a sarcastic comment about the copy restriction - that maybe forcing people to retype the examples isn't the best way of teaching. The owner of the site wrote me with a solemn apology, informing me that she didn't even notice the (dis)functionality was in place, and that it just got installed with the CMS and she didn't disable it because she didn't know it was there...

    So... whoops?

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  25. Re:How do you stop someone from viewing the source by tlhIngan · · Score: 2

    But you really can intercept Ctrl-U. The thing is, most browsers simply ignore it, for obvious reasons.

    Well, in Firefox and probably others, shift-right-click bypasses all right-click javascript. So if a site disables right-clicking, you can just hold shift and still access "View Page Source" in the context menu. Or anything else - I use an addon called "Nuke Anything" that lets you remove bits of the page and right-click javascript often disables that...

  26. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    Right, these assholes made everyone have workarounds. In Chrome, I have "Enable Copy" and "Enable Right Click", and if things get really rough then I go through some kinda monkey or whatever, but that's normally not an issue. I've never seen a browser in recent times that lets a website actually intercept Ctrl-U, but in strange aeons even common sense may die.

  27. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    This website claims to disable Ctrl-U as well:

    http://codingcrazy.com/disable...

    With scripts enabled, it actually seems to disable Ctrl-U in Firefox and Palemoon (not Chrome). Obviously there are easy workarounds (addons solve it easily, but also just changing dom.event.contextmenu.enabled to false lets you happily right click). What do you see when you go there in those browsers?

    The point is, obviously there are easy work arounds, and obviously most browsers ignore this crap, and obviously no users will really be stopped (the point of the top article). But, that still leaves some real questions. One, why would javascript even HAVE shit like this? This is part of my general rant about javascript being awful at every single level- in this case, the spec implies to the coder that he is in control of someone else's box. That means that the spec is implied as some kind of malicious hack that browsers and users have to work around. These commands shouldn't even exist in the first place! Two, why would anyone expect a browser to listen to this garbage, even a little? Right click is an interaction between the user and the browser, there's never a good reason to intercept that. Three, how are there coders in ANY language who don't understand this shit? Like you're writing vaguely-C-like code and you don't even understand that if you turn off a usability function, it will just make everyone pissed at you?

  28. Yep... by alfalah · · Score: 1

    Sometimes they don't even notice...http://www.afu.ac.ae/en/admission/graduate-admissions/

  29. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    > can you imagine a webpage blocking alt-f4

    Sure, it's the onclose event. By javascript spec, any attempt to close the window should run the onclose stuff, which can simply return false, thus preventing the browser from closing.

    Sample for an onclose event (this just fires an alert) is here:

    http://www.htmlnest.com/javasc...

    You'll notice that it doesn't actually work- not only can you alt-F4, you can also just close the damned window. This is because modern browsers no longer fully support this ludicrously awful command.

    But it's still valid javascript. Because javascript is a goddamned nightmare.

  30. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    ..as a note, http://codingcrazy.com/disable... does seem to fuck with a default setting firefox or palemoon. Maybe it won't for you, I dunno. You don't need an addon to fix this behavior or anything, of course.

  31. I hadn't noticed by evanh · · Score: 3, Informative

    With No-Script blocking all scripting by default, it hadn't dawned on me that such activities occur.

  32. What pisses me off by DrXym · · Score: 1

    Are sites which say enter your email address twice, but won't let me cut and paste the value from the one field to the other by trapping keyboard events. Yeah I get it, you're trying to stop email typos, but there are other, less annoying ways to deal with this problem - a confirmation email for example - and the chances are the site has one of those too.

    1. Re:What pisses me off by swilver · · Score: 1

      Asking things twice makes sense when the field hides what you typed, like password fields. It makes zero sense for email fields.

    2. Re:What pisses me off by Actually,+I+do+RTFA · · Score: 1

      What are the other ways? I want to upgrade a few forms,. but I don't know what to.

      --
      Your ad here. Ask me how!
  33. Re:How do you stop someone from viewing the source by angel'o'sphere · · Score: 1

    What does ctrl-U do? I'm on a Mac and as far as I can tell there is no ctrl-U equivalent.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  34. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    satya nadella is that u

    I googled "is google a verb" and it says yes:
    https://www.google.com/?gws_rd...

    Then I bung it:
    http://www.bing.com/search?q=i...

    So if even bing agrees that google is a verb, I guess that over rules "anonymous coward who can't capitalize for shit"

  35. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    Your issue isn't that you are on a Mac, it's that you are in a version of Safari of 6 or later. In Lion and before, it was Strange Nordic Whilygig + U.

    First, you could run firefox or chrome or whatever.

    Second, Safari -> Preferences / Advanced Tab, ensure that the develop menu is on, then you can control click and get some options, among them view source.

    This is obviously not as nice as having a keyboard shortcut like you used to have. If that's a deal, just grab a third party browser.

  36. Re:How do you stop someone from viewing the source by angel'o'sphere · · Score: 1

    Ah, so ctrl-U is the short cut for "view source"? Did not get that from the comments.

    Even if that is completely disabled, you could just save the page and open it in a text editor.

    The developer menus are obviously always activated on my browsers :D

    Thanx for the info.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  37. The average user by Roodvlees · · Score: 3, Informative

    You overestimate the average user.
    They have no idea that that stuff can be bypassed so easily.
    If they did know, they'd think it's too much work.
    Then they'd forget about that being possible.

    --
    Thank you, Bradley Manning, Edward Snowden and so many others, for courageously defending humanity, my freedom and more!
    1. Re:The average user by edtice1559 · · Score: 1

      They would see that the person who provided them the content didn't want them to copy and paste and was willing to comply with the request. Sheep! (Half funny)

    2. Re:The average user by PNutts · · Score: 1

      You overestimate the average user.
      They have no idea that that stuff can be bypassed so easily.
      If they did know, they'd think it's too much work.
      Then they'd forget about that being possible.

      Burma Shave!

  38. Re:I think he missed the point by Roodvlees · · Score: 1

    Copyright law is shit and should be overthrown. With JavaScript blocking the content is already on your computer. How are they going to find out that you disabled JavaScript and got full access? I guess it serves the purpose of some sort of threshold.

    --
    Thank you, Bradley Manning, Edward Snowden and so many others, for courageously defending humanity, my freedom and more!
  39. Re:JavaScript. by Black.Shuck · · Score: 1

    Sorry, false pedant, in this case "Javascript" is just a colloquialism for ECMAScript.

    I like this idea, but I think history says that JavaScript was coined long before Netscape handed it over to ECMA.

  40. Re:JavaScript. by U2xhc2hkb3QgU3Vja3M · · Score: 3, Insightful

    Some programmers weren't even born 20 years ago. New people will make old mistakes because they haven't learned about them yet.

  41. Re:How do you stop someone from viewing the source by U2xhc2hkb3QgU3Vja3M · · Score: 1

    If you need to write a "Web application" then you need access to things people expect to work, just as it works in their OS.

  42. Not really by bigsexyjoe · · Score: 1

    You can do things like block the default behavior of the hotkeys and stuff. But you basically can't stop someone from getting the source code, because the web is open.

  43. Ineffective, and rarely tried by bigsexyjoe · · Score: 1

    Yes, we all know that if they let you look at the page, your computer will download all the associated files and you'll have them. Just taking the files out of your Firefox cache is an obvious solution. Going in with developer tools already open is another one.

    That being said, most people don't even try these measures anymore. They used to be a lot more common. But even the average web user is getting more sophisticated.

    The new effort is to try to bake DRM into the browsers themselves.

  44. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  45. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  46. Re:How do you stop someone from viewing the source by mark-t · · Score: 1

    Wow... the website genuinely does block Ctrl-U, as well as other hotkeys, such as F12 to activate Firebug, which I didn't know was possible, although just clicking just once in the address bar while the page is showing, and then hitting the desired hotkey bypasses this.

    Also, of course, the menu choices to access the source in this way are still enabled and work normally.

  47. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  48. Javasript is the Next Flash. by JustBoo · · Score: 1

    Javasript is the Next Flash. Its time is coming. I have to use it, and it is a nasty buggy little language with so many amateur practices built right into it I need a shower after using it.

    It is a "language" developed over a weekend by a guy at Netscape to push some HTML around back in the nineties. It was meant to be a throw away effort. Built NOT to last. He called it Javascript because Java had just come out and he thought it would be cute to give it that name. Following the Law of Unintended Consequences it actually caught on.

    1. Re:Javasript is the Next Flash. by Actually,+I+do+RTFA · · Score: 1

      The difference is Flash is 100% silo'd. Javascript is like a metasizied cancer.

      Also, Flash's AS3 is an object-oriented language with a well defined implementation. JS is neither.

      --
      Your ad here. Ask me how!
  49. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  50. Re:JavaScript. by Locke2005 · · Score: 1

    Nah, Slashdot couldn't be Tumblr... Tumblr has much better porn!

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  51. Re:How do you stop someone from viewing the source by cfalcon · · Score: 2

    That's a lie, and that's bullshit. This destroys the user interface, and should never be allowed or tolerated. If these guys weren't malicious, they'd implement a little drag-down menu that would do all their things, or have a standard way of visibly showing the difference between an in-app menu and user level application menu. Even supporting this shit in the code makes developers confused, and they think they can vector hotkeys and tie them to ground.

    Fucking idiots and assholes, enabled by a monumentally shitty language API.

    You know you can find them whining that they can't stop the user from CLOSING THE BROWSER? After all, the "webapp" shouldn't close when the user says close, and the fact that it's somehow standing on the browsers head is something that needs to be bypassed in that stupid language. The fact that things like "onclose" stopped being implemented, and the fact that they are currently finding workarounds for "stop this page from creating additional dialogs" is a big problem.

    The design is broken from head to toe.

  52. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    That's nice of you, because apparently if he lost his original file, he wouldn't have a backup! You're doing the work of the gods, sir!

  53. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    The website tries to own the right click key too. It tries to vector everything it can, but you'll notice that a lot of it fails to work in many browsers, and all of it is trivially able to be worked around.

    Javascript is such a turd lol

  54. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    > Ah, so ctrl-U is the short cut for "view source"?

    It's in the links and is quite googlable, but the post I made discussing viewing source should have been the tipoff :P

    > Even if that is completely disabled, you could just save the page and open it in a text editor.

    Dude, if they think they can disable Ctrl-U, they ALSO think they can disable Ctrl-S and Ctrl-P. Depending on how gullible your browser is, one of the above links tries to do that too.

    > The developer menus are obviously always activated on my browsers

    Nice. So Safari already has a mode that steps so far above this stuff that you didn't even realize there were ANY people, ANY where, to whom it might inconvenience, because Safari makes it not even a thing. Excellent.
    The article doesn't make this point much, but it should- that a lot of modern browsers ignore ALL this stuff anyway.

  55. What if... by BitterKraut · · Score: 1

    ...in the not-too-distant future, the html document you requested will not load, and you'll be shown a short notification instead, saying "please use an OS and browser that comply with our DRM policy"? I am already seeing lots of messages of that flavor while I'm browsing the web using Linux/Firefox, tracking disabled. The claim is that I am trying to view valuable content without paying for it (pop-under windows and user tracking being the currency).

  56. Re:How do you stop someone from viewing the source by angel'o'sphere · · Score: 1

    Yeah, my bad, did not notice that the title of the thread was "Re:How do you stop someone from viewing the source" ;D

    Following the stack overflow links I was more wondering about the idiotic approaches many use to accomplish that goal, and I did not really figure by reading them what ctrl-U was supposed to do.

    So Safari already has a mode that steps so far above
    Not sure if it is far above ... I used to use Chrome, but it has several nasty drawbacks for me. I stopped using FireFox since it is automatically updating and you can not prevent it. Actually I wonder if I should try to write my own browser. A browser that simply does nothing as long as the user does nothing. It pisses the hell out of me that every stupid web site thinks it needs an "autoreload" Javascript and as soon as you enter a WiFi network where you have to enter credentials via a web page, all "autorelaoding tabs" lose their content.

    Does not even need to be an autorelaod, a simple XmlHTTPRequest is enough to get the whole page redirected and the back button often does not work when you are finally connected.

    Right now, besides Safari, I use Opera. The only browser that honours the "don't start flash movies automatically" setting when a tab gets "restored" after restart.

    But Opera is hiding the close Icon/Button under the websites flavicon ... only a visual glitch, but why people come on those ideas ... that is beyond me.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  57. Re:How do you stop someone from viewing the source by cfalcon · · Score: 1

    One of the big problems with writing a browser that does what the user wants is how aggressively ludicrous the javascript devs can be. For instance, many browsers have a setting that disables the ability of right click to be controlled from the HTML, but of course javascript can POLL this flag, and act on the result. The browser shouldn't be leaking user state like that, and it certainly shouldn't allow a savvy user to be asked to pull down their pants and bend over. It's totally possible to create a browser that does all this- but little flags to ignore bad-by-design features are both fiddly and doomed to failure.

    Examples:

    Everyone hates popups. Popup blockers became a thing, then they just were enabled by default. But then javascript offered popups, and now you can get blockers to disable them. And how many websites do you visit that look reasonable until about 10 seconds in when they suddenly overlay a gray or black box over the whole fucking screen, and force you to interact with them (and keep in mind, the fact that interacting with them removes the overlay is ENTIRELY optional!)? Savvy users will use ublock origin (or Remove it Permanently, or many other things) to eliminate shit like this. Even fucking Wikipedia does this! So there's a workaround, but not a solid generic fix for this shit. The fact is, the browser needs to be fundamentally incapable of taking remote commands like this, while ALSO appearing to take these commands from the server side, to prevent hostile devs from shitting the bed when they detect this.

    The "right" answer wouldn't just stop this stuff- it would cut it all off at the source, no matter how clever or evil the javascript writers become- because at least on the evil axis, there seems to be no limit.

  58. A bit off topic, but... by Superdarion · · Score: 1

    ... Slashdot has turned me into a screener. With posts like this one, I always check if they're from our friend Bennet before I go to the comments section.

  59. Re: JavaScript. by ChickPea · · Score: 2

    Java is to JavaScript as ham is to hamster.

  60. Re:How do you stop someone from viewing the source by Anonymous Coward · · Score: 1

    Here's what the accepted answer at expert sex change says (in case anyone is interested):

    PresidentUTA Accepted Solution on 2001-11-03 at 18:47:09 ID: 6616667

    Well their is a way to scramble the code so it doesnt make much sense, you can find that little nifty script / prgm at - http://www.dynamicdrive.com/dy... - Not to bad, combine this with the click disabler mentioned above and you are set

    Not much of an expert if you ask me.

  61. Re:JavaScript. by Aighearach · · Score: 1

    History, or at least English, also teaches that etymology is just for nerds and is not instructive of meaning.

  62. Re:JavaScript. by Black.Shuck · · Score: 1

    History, or at least English, also teaches that etymology is just for nerds and is not instructive of meaning.

    I think etymology gives very clear meaning to your previous post.

  63. Re:JavaScript. by Aighearach · · Score: 1

    Good point. And SCSI was intended to be sexy rather than scuzzy. Nerds love etymology, but they know not to honor it. ;)