interrupting transmission..
info
this girl's adventure is over. her story has finished. this blog is resting.
Saturday, November 21, 2009
Source code viewing
Comments (4) | Written @ 5:21 PM

YOU CAN NOW COMMENT TO MY POSTS!
Just scroll to the bottom of a post and click 'Post a comment'. :)

-------

`Pfft. I'm getting tired of seeing the same layout everytime I visit my site. I want to change it, but I am feeling lazy. But the mystery is, I don't feel lazy to design base images for a layout, and to chat, even though I'm busy. Whatta life. Okay, let's start.

I was browsing through one site's affiliates, when I pressed a random button and was transferred to this site I rather not mention. One of its goodies was "Useful Sites and resources". One link there lead to auberginer.org. I actually know that site, I visited it way back before, and that was long ago so I decided to visit it again to see if there were changes. I tried to explore its freebies again. One article caught my eye because I was one source code viewer before. I admit I still view some codes until now, and try to tweak everything and that's how I learn. I envy people who are extremely good at coding. I tried to asked Lisa (owner of Auberginer) how she learnt coding, and she said that it was through viewing sources. Shocking, right? I was shocked too, because I never knew someone who is good at coding at the present learned codes by viewing codes in the past. I thought of sharing this article with you about no matter how you try to hide your codes, it'll still be viewable to anyone. Yeah, its ripping/stealing...eh, I'm too lazy to say everything. So I guess you should be reading everything doooowwwwnnnn there, riiighhhtt? xD

Threatening people
Promising people you will take their lives by placing an HTML comment in your source code is ridiculous. Adding a <!-- Steal my code and I shall slice your throat open, shave your nose away and stab your eyeballs 'til they die --> followed by continous empty space, is not very pleasant to read (or picture).
Anyone can take a look at your source, no matter how hard you try to hide it.

I personally almost always take a look at a website's source code upon first visit. The layout plays a big role of the first impression, but the way the layout is coded also plays a huge part.
A great way to "scare" me away, is putting a <!-- WTH are you doing here?? Buck off!! -->. And so I do - I buck off. Away from your whole damn website that is.

Why threat people? If you're so incredibly insecure about people stealing and ripping your code, why bother displaying it? Yes, by displaying your layout you also display your code. Because anyone - I repeat: Anyone! - can right-click anywhere on your page and select 'View source'. They can also do so by selecting 'File' from their browser's toolbar and hit 'View source'.
Disable right-click
Another absolutely great way to protect your precious codes, is by placing a Javascript No right-click script. But you're wrong. Not only does it not disable me from viewing your source, but it also makes your page load incredibly slowly. It is, in my opinion, truly immature to think that this will help preventing people from looking at your code.

Have you noticed how all the good reviewers out there somehow always manage to see your coding, even if you place that Javascript on your page? That's right - they always find a way to find your source code and review it. By selecting 'View source' from 'File' on the toolbar of their browser. So much for that hiding.
Pop-up window with no toolbar
The most creative way must be placing your whole page in a Javascript pop-up window where the toolbar is nowhere to be seen. The most creative, but also the most stupidest way.
The truth is that it is dead annoying with a window you can't resize, or open in a new tab instead window. You can also still find the source code! Honest trust! Even if you combine the Javascript pop-up with the no-right click - there is still a way to see everything.

Let me demonstrate step by step:

1. First you enter the page where the link to the pop-up window is placed.
2. You can't right-click, so you use your toolbar to gain entrance to the source code.
3. Now you look for the URL which opens in the pop-up window, and copy and paste that URL in your browser address.
4. You can see the page with the toolbar now, yay! Finally, use your toolbar again to gain entrance to the source of this page.
5. Holy shizzle, a threat placed between a <!-- and a -->!! No worries, just keep on scrolling until everything is normal again.

All that hassle with placing useless scripts and threats, for nothing? Oh, congratulations - you just made someone's day! (Worse.)

Quit the threatening and Javascript abusing. Grow out of it, and you'll see the joy of designing webpages! Yeah!


The last line was kinda...yeah! I know its ripping...but...I'm too lazy to type it all. So I guess that's it. Viewing sources has advantages and disadvantages, well, everything has...we can do everything as long as it is illegal, right?

IT'S MY OPINION, EVERYBODY HAS THEIR OPINIONS, RIGHT? I might have ended this post incorrectly, but...yeah, it's hard to explain. But anyway, I'm allowing you to speak up your own part. If you found this post offensive, then do the same. You do the honors, friend.