kvasilov48 / web-obfuscation

Automatically exported from code.google.com/p/web-obfuscation
0 stars 0 forks source link

Clarification: "compatibility mode with IE8" #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In which chapter/section/page number?

HTML/Advanced markup obfuscation/51

What is the existing content?

<![if IE 8.0]>
<script>alert(1)</script>  // works on IE8
<![endif]>

What is the correct content (optional)?

<![if IE 8.0]>
<script>alert(1)</script>  // works in IE8 compatibility mode 
<![endif]>

Comments

Not by default in standarts or quirks mode! IETester is your curse!

Original issue reported on code.google.com by pinkoblo...@gmail.com on 22 Dec 2010 at 8:00

GoogleCodeExporter commented 9 years ago
Tested the code - works in standards mode. Not in compatibility mode. 

Cannot confirm this as a bug - @others can you please re-test?

Original comment by Mario.He...@googlemail.com on 23 Dec 2010 at 1:49

GoogleCodeExporter commented 9 years ago
http://olo-olo-lo.narod.ru/test_1.html
http://olo-olo-lo.narod.ru/test_2.html
http://olo-olo-lo.narod.ru/test_3.html

Original comment by pinkoblo...@gmail.com on 23 Dec 2010 at 4:05

GoogleCodeExporter commented 9 years ago
This is what I get:
http://img842.imageshack.us/img842/189/ie8.png

Same result for testcase 2 and 3. Can some review please?

Original comment by Mario.He...@googlemail.com on 23 Dec 2010 at 5:00

GoogleCodeExporter commented 9 years ago
All clear. Your browser is by default in "IE8 standarts mode" (== Compat. mode 
with IE8)- see "Compatibility view settings" . And my browser is not. 

Original comment by pinkoblo...@gmail.com on 23 Dec 2010 at 5:53

GoogleCodeExporter commented 9 years ago
Attached

Internet Explorer 8 with Internet Explorer 8 Standards

Original comment by sirdarckcat on 23 Dec 2010 at 6:19

Attachments:

GoogleCodeExporter commented 9 years ago
Okay :) Resolved but left here for clarity sake in case others have the issue 
too. Thanks for the  testing!

Original comment by Mario.He...@googlemail.com on 23 Dec 2010 at 6:24

GoogleCodeExporter commented 9 years ago
maybe we should move this to the wiki?
http://code.google.com/p/web-obfuscation/wiki/Errata

they will probably check there first? (I hope!)

btw, you guys got the book already? I dont have it yet.

Original comment by sirdarckcat on 23 Dec 2010 at 6:29

GoogleCodeExporter commented 9 years ago
removing us from cc since now web-box-of-tricks@googlegroups.com is cc'd on all 
issue changes.

Original comment by sirdarckcat on 23 Dec 2010 at 6:30

GoogleCodeExporter commented 9 years ago
// btw, you guys got the book already? I dont have it yet.

I got the book a few months later. Now I only use Amazon's preview.

Original comment by pinkoblo...@gmail.com on 23 Dec 2010 at 7:43

GoogleCodeExporter commented 9 years ago
Fixing labels/status.

> I got the book a few months later. Now I only use Amazon's preview.
ahh, awesome

Original comment by sirdarckcat on 24 Dec 2010 at 12:33

GoogleCodeExporter commented 9 years ago
Added to the Errata:
http://code.google.com/p/web-obfuscation/wiki/Errata#Page_51_-_Advanced_markup_o
bfuscation

Original comment by sirdarckcat on 24 Dec 2010 at 12:54

GoogleCodeExporter commented 9 years ago
Updated Errata

Original comment by sirdarckcat on 24 Dec 2010 at 1:01

GoogleCodeExporter commented 9 years ago
woops, I hijacked mario's issue.

Original comment by sirdarckcat on 24 Dec 2010 at 1:02