Sneaking ninja-style past JavaScripts Jul 27, 02:37

I tend to browse with JavaScript disabled most of the time, so I can get past those pesky Java scripts that people put on their websites so that they can protect themselves from people who have “sticky paws”. Whenever I come across a website with right click disabled I disable JavaScript and right click, man does it feel good. Now I’m not here to preach to you about how you shouldn’t use no-right click or no-select, if you’re smart you won’t be using it and if you are using it then everything I say will probably go over your pretty little head.

No what I’m here to say is that it is incredibly easy to get past most JavaScripts (and I’ll show you how). Use the Web Developer Toolbar and you can disable JavaScript whenever you damn well please, but sometimes there is a website out there with an owner sneaky enough to stop the casual JavaScript disabler in their tracks. Case in point: Kao-Ani.com

Go ahead and try to right click or select text, you can’t. Now disable JavaScript and try it again, this time you can, but the owner of kao-ani doesn’t stop there, oh no it’s far too easy to get past no-right click and no-select so she’s gone a few steps further and disabled source viewing! Try to view the source and you’ll get an earful of what her website is about, fortunately for the smart person with sticky paws (aka ME) it’s rather easy to nose through the source and the stylesheet.

Here’s how in Firefox and Opera1 : Right click somewhere in the content area > right click > choose “This Frame > Show Only This Frame (or go to /site.php)”. Opera users need only go to the advanced options tab in their preferences then go to content and uncheck JavaScript (then go right click content area > frame > open).

The saddest thing about the whole thing is that the attempts to prevent people from stealing fall short because it is ridiculously easy to rip the graphics, HTML and styles once you’ve gotten past the annoying JavaScript. And even if you don’t want to go through the short process of sneaking ninja style past her guard dogs it’s still very easy to rip off everything by taking a screen shot of the entire web page and going from there. Without viewing the source at all I managed to recreate the layout minus the images in about 15 minutes using Photoshop, HTML and CSS.

So, before you go ahead with your plans to prevent your stuff from being ripped think of this:

  1. If someone wants to rip you off then they will. No amount of JavaScript thrown in their way will stop them.
  2. Todays generation of computer literate children who were raised with the internet (instead of a television set like they were in the good old days) will be able to figure out a way to get past your pitiful attempts at guarding your stuff.
  3. It’s true that the people who are casual thieves will probably move on to the next target instead of spending a few seconds getting past your guard dogs. But chances are good that such a thief would probably throw your layout out the window because of the bloated HTML and stylesheet.
  4. Dedicated thieves want quality. They aren’t going to steal your code from you.

I suppose could get in trouble for this, after all I’m posting how to access content that the owner claims is copyright to them. But I’m not posting anything that isn’t easily available to everyone who cares enough to look. And besides the only thing that is copyright the owner are the details in the design (such as images, the way colours are used and so forth). Unfortunately for her HTML and CSS were not created by her so the only thing she can lay claim to is the way she put them together. And if I wanted to I could, legally mind you, view her source to obtain the font size and family she uses so I can use it on my own website (not that I would, of course, I prefer easy to read fonts). So I’m not worried, not in the least.

1 IE users are left out in the cold as my attempts to disable JavaScript and access kao-ani failed miserably. If anyone knows of a way that you can disable JavaScript and still browse her site then please tell me about it.

I don’t think that simply viewing the source code can be considered copyright violation. If that were the case everyone should be accused of copyright violation because we’re all looking at all sorts of things that don’t belong to us rolls eyes

I was just curious from a reviewer’s point of view, since I can imagine that I’ll encounter at least once a couple of “wise guys” who will think that they can hoodwink me with them. However I happend to know that every single client side scripting code can be viewed by the visitor. Now server side is completely different.

However like most people say, once you’re proficient enough in HTML and CSS you realize that there is no reason to hide the coding. It’s not that revolutionary any way. Actually I’ve even gone as far as permitting visitors to copy my entire coding without linking me back. I draw the line at the images, but let’s be serious: who in their right mind would steal them? grins

#1 Vera Jul 27, 03:57 Permalink

I’m going to lol incredibly hard if the owner is one of those people who believe in the “copying 80% is legal” statement. In regards to coding and the such.

I have no idea why people “encrypt” their coding. I think I still have the script on my computer from a time when I decrypted — with the help of Loadx, no hang on it is Loadx’s script, hehe — angelic-network.com.

I’ll attempt to dig it up and see if it works on kao-ani.com :P

#2 Jenny Jul 27, 04:24 Permalink

See, I would’ve just stopped right there when I saw iframes. If someone’s still using iframes, chances are that they either don’t know anything about good coding or don’t care/are too lazy to implement it. Thus, why even bother? :P

...Actually, now that I’ve gone to the site, it doesn’t look all that bad! Fair game for a source view, I suppose.

#3 Sumaiya Jul 27, 08:30 Permalink

Frame sets and I-frames as different. Not by much, but with frame sets it’s easier to hide the “i-frame” effect we all dislike.

#4 Vera Jul 27, 12:57 Permalink

Ah yes, the sneaky ninja an get past all kinds of javascript guard dogs. This made me LOL when I read it, its true though the code probably isn’t even worth stealing, and without viewing the code I could still make the same layout.

#5 Bobbi-lee Jul 27, 18:50 Permalink

Great entry, LOL. She puts a lot of effort into ensuring people can’t steal her shit and you’ve demonstrated how perfectly easy it is to do that in spite of her attempts, however, the most important thing to recognize here is this: WHO THE FUCK WOULD WANT TO STEAL HER SHIT IN THE FIRST PLACE?

Damn. Talk about a waste of time.

#6 Laur Jul 27, 19:01 Permalink

Aw Becky, ilu. I’ve never understood the whole “no right click” crap … or even the highlighting one. Most who use it are newbies who just started out making websites, I remember using it once then realized it was stupid and stopped (ah, at the age of 12 I came to my senses … yay me. I think I deserve a cookie). Thanks for sharing how to disable those things! It’s VERY annoying, I tend to right click and open a link in a new tab (I use FF) so when I get one of those annoying messages it angers me. Greatly.

#7 Veronica Jul 27, 21:09 Permalink

You don’t even need to disable Javascript, I know this is mean and I promise I’ve deleted them (I have no use for them afterall) but the FF plugin DownThemAll does it all without the rightclick menu. Easy Peasy took about 3 seconds.
http://i4.photobucket.com/albums/y113/therealbeanie/Picture4.jpg
http://i4.photobucket.com/albums/y113/therealbeanie/Picture52.jpg
I’m officially evil.

#8 Han Jul 29, 04:07 Permalink

Your so lame Becky. Waiting 8 months before replicating my entries is no less a crime you know.

;)

#9 Jem Jul 29, 05:14 Permalink

Hey I was searching for a new blog/news management thing and somehow I was directed here. I must say that I’ve fallen in love with your site just after 5 minutes of clicking around. I dub you my new net hero and inspiration. You’ve got a bunch of awesome sh*t here and you gotta love a fellow Buffy fan ;D I haven’t skimmed through every page yet so I don’t know if you have AIM. If you do, FortKindsOfSadns is my username. Message me and I shall praise you as well as try my best to hold a decent conversation. Later much!

#10 Sam Jul 30, 19:41 Permalink

Ahhh, things you do when you’re pre-adolescent… NO, wait! She’s not. I used to think those things were way cool when I was 12 years old. I then regained my senses after 2 weeks of seeing the useless script in every personal website I visited. Like Veronica, I deserve a cookie!

#11 Skye Aug 2, 08:28 Permalink

My so lame what Jem? :P Thank you very much Sam, but I’m rarely if ever on AIM anymore because there are too many annoying people on it (it’s my own fault really for posting on aimwhores, heh). Han, not mean at all I say screw with stupid people all you want because stupid people deserve nothing less :P The code isn’t worth stealing, not at all. The code I wrote trying to mimic her layout was cleaner and less bloated than hers (it’s so ugly and… big and ugly, it makes me cry).

Naco and Skye:

#12 Becky Aug 2, 08:43 Permalink

Comments are closed on this post (and most other older posts). If you'd still like to discuss this then please feel free to drop me a line using the contact form below.

Contact