Hit Ali – Stupid Things Traffic Exchange Webmasters Do!
on January 29th, 2009 at 22:16I am getting so tired of some of the stupid things traffic exchanges are doing. I mean, there is no reason why somebody should reinvent the wheel when the wheel is rolling along just fine.
Case in point, Hit Ali and some really funky Javascript code that only proves my point about why I think some people shouldn’t own websites. This has got to be the most stupid thing I have ever seen done on the ‘net. Period!
So, I go to start a surf session at Hit Ali. I get a blank page. There is nothing on it! I think to myself, man, this is strange! The first thing I do is take a look at the source code of the page to see what went wrong. Here is what I found:
<script language=”JavaScript1.2″>
<!–
function resizeOuterTo(w,h) {
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName==”Netscape”) {
top.outerWidth=w;
top.outerHeight=h;
}
else {
top.resizeTo(w,h);
}
}
var loc = “surf.php?sb=&cash=&”;
if (screen.width==800||screen.height==600) {
resizeOuterTo(800,600);
location.replace(loc+”&ri=800″);
}
else if (screen.width==640||screen.height==480) {
resizeOuterTo(640,480);
location.replace(loc+”&ri=800″);
}
else {
resizeOuterTo(1024,768);
location.replace(loc);
}
//–>
</script>
After seeing the source code I said, “Holy Shit!” No really, I said out loud “Holy Shit” right then and there! I said it so loud my family two flights up and on the other side of the house came into my office wondering what was wrong – LOL! What did I see? Can you see it in the coding above?
Where is the HTML structure? I don’t know who the moron is that came up with the idea of placing Javascript on a page without any HTML structure around it. But, whoever it was, s/he should be banned from writing code and using a computer – forever! Then, if there are “Webmasters” actually paying to have this type of crap coding done on their site they should have all web sites they own taken away from them – Forever!
Oh, No, No, No! Phil is just going off on one of his rants again (sorry for the third person – LOL!). But really, it takes a brain dead individual to think up something like this! Okay people, here is a HTML 101 lesson.
The basic tags that must be placed on a webpage is as follows:
<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
This is just the basics. There are other items that enhance a web page but with just the basics a whole lot can be done. Adding Javascript, forms, formatting are all a part of desiging a great website. Without the basic tags above all you got is crap!
I know I mentioned it before here but it is well worth mentioning it again. There is something called Cross Site Scripting that uses just Javascript on a webpage to exploit a Internet user. If you don’t know what Cross Site Scripting is click on the link (Opens in a new window) and do some reading. It is worth spending an hour or two getting on top of this subject. It effects you directly if you do any kind of surfing on the ‘net.
About the only way to stop XSS is setting up your browser like I have outlined in one of my pages named IE7.x WinXP SP2. Click the link to see this must read article if you haven’t already. With these settings you will see blank pages when dumb “Webmasters” try to pull some stupid Javascript code on you the next time.
Take Control Of Your Computer People! Don’t let a Traffic Exchange decide how you should use the Internet!
Okay, enough of the HTML 101 lesson. Is there anything wrong with the Javascript code? Can you see any problems with it? Really, there are some very fundamental errors. What this code does is try to keep the window open at a minimum of 640×480 pixels or at the most at 1024×768 pixels.
Here is my problem with this code. What happens if the user has something other than a screen resolution of 640×480, 800×600, or 1024×768 pixels? They will get their window resized to 1024×768 wether they like it or not. What if you want to work on another application and you minimize the window? Guess what, the window will get resized back to where the webmaster thinks it should be and you might as well forget working on another application while surfing this Traffic Exchange. Is that a right thing to do?
What if the screen resolution is smaller than 1024×768 and it is not 640×480 or 800×600? What happens here is the window will be resized to 1024×768 and the Traffic Exchange user will not see the farthest right and the lowest part of the window because it was resized to something larger than the resolution is set at.
What about the taskbar used with the Windows O/S? Mine, for example, is not set to autohide and I have it expanded enough to show three rows of applications in it. In my example the available height for browser windows is far less than what my screen resolution is because I don’t autohide the taskbar. What happens here is the browser window is resized and I can’t see the bottom part of the webpage.
Then this code tries to do a URL redirect in a really cheesy way (location.replace(loc)). Folks, turn off redirection in your browser. It will make your Te Experience a whole bunch easier and prevent redirection to sites. Why do you want to prevent redirection? Simple, it helps keep the nasties out of your computer by not going to other webpages. What happens is a TE webmster will approve a dynamic content page with everything okay. Then when the webmaster is not looking they will do a redirect to a webpage with stuff on it that will hurt your computer, steal information from you or force a download. Since the page is dynamic it can be changed back to a “Good” page easily or when the page checking IP is detected.
TURN OFF REDIRECTS! DON”T DEPEND ON TE OWNERS TO PROVIDE YOU WITH A SAFE SURFING ENVIRONMENT!
Traffic Exchange owners! Get your shit together already! Stop playing with stupid Javascript coding and start providing proper cheat detection at the server side level instead of at the client side level! All you are doing is pissing off your members, showing you are a novice, and losing members that elect for a more professonal approach!
If Hit Ali (and other traffic exchanges) don’t take care of this problem I know I won’t be a member for much longer.
Enough of my ranting for one day…
Take Care,
Phil

Recent Comments: