Someone should write this virus

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
IE7 is evil. IE6 is slightly less evil. Both cause me nothing but headaches. A bunch of sites don't even work in IE7, though it is not the fault of microsoft, just lazy coders.
 

manlymatt83

Lifer
Oct 14, 2005
10,051
44
91
Originally posted by: PhatoseAlpha
I'd like that virus, please. If for no other reason then to get translucent .png support that isn't a thrice damned hack.

How does this hack work btw? I've read people doing this so called "hack".
 

Hyperblaze

Lifer
May 31, 2001
10,027
1
81
Originally posted by: Evadman
IE7 is evil. IE6 is slightly less evil. Both cause me nothing but headaches. A bunch of sites don't even work in IE7, though it is not the fault of microsoft, just lazy coders.

you call them lazy, I just call them bad.

There are waaay too many folks out there who do not know how to code properly.

 

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
What I miss about IE6 is the FTP integration. IE7 doesn't allow me to do folder view....

I think IE6 is still somehow integrated in the base OS. I can switch to any folder in XP and type an FTP address in the bar and get my old folder view.
 

PhatoseAlpha

Platinum Member
Apr 10, 2005
2,131
21
81
Originally posted by: mjuszczak
Originally posted by: PhatoseAlpha
I'd like that virus, please. If for no other reason then to get translucent .png support that isn't a thrice damned hack.

How does this hack work btw? I've read people doing this so called "hack".


As I recall, it involves a javascript that on the onload event of a page:

A) Tests to see if it's running in IE6
B) If it is, it looks through the entire DOM of the current page looking for images
C) If it finds an image that is a png, it replaces the png with a transparent 1x1 gif, sets the background of the image element to the png file it originally was, and then applies the DirectX filter to the background of that element.


The function below requires a global variable blankSrc, which is the string of the url to the 1x1 gif. If only fixes a png to display right - the searching is done easily enough with a DOM traversal.

function fixImage(element)
{
if (!element.runtimeStyle || (typeof document.body.style.maxHeight != "undefined")) return;
var src = element.src;
if ( /\.png$/.test( src.toLowerCase() ) )
{
element.src = blankSrc;
element.runtimeStyle.filter = "progidXImageTransform.Microsoft.AlphaImageLoader(src='" +
src + "',sizingMethod='scale')";
}
else
{
element.runtimeStyle.filter = "";
}
}



I'd give you the link to the source, but TBH, I've forgotten the source.
 

Verdant

Member
May 8, 2003
83
0
0
my ie browser is ie8 (beta). it is another step in the right direction, and the developer tools can be more helpful than the firefox tools
 

hans007

Lifer
Feb 1, 2000
20,212
18
81
Originally posted by: Crusty
Originally posted by: jjones
I'm curious about this. I still use IE6. Why should I switch to IE7?

Has a lot more security features, like a built in anti-phishing filter, improved popup blocker, and overall better javascript support.

If you are going to be upgrading your web browser, I would just go straight to Firefox

most web developers also hate ie6 because at least ie7 runs in standards compliant mode by default.

ie6 has lots of "special" ness for it.
 

Cogman

Lifer
Sep 19, 2000
10,284
138
106
The big problem I have with IE7 is how much of a memory hog it is. I mean, people give firefox a bad time, but IE7 is worse by far. (Ok, It might not leak as bad, but I did see a review which placed it as the top memory user, I think on slashdot)

Right now I am using firefox 3 Beta 5 and loving every minute of it. I have had few problems with it, and it seems faster then firefox 2 (which is impressive IMO)
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |