News for hackers. Stuff that matters.
Re:Microsoft decides IE 10 has had its fun: Termination set ... by yakshaving_jgt on Tuesday January 29, 2019 @10:26AM (#19027027)
Good riddance, though there is a somewhat masochistic pleasure in finding hacky solutions for old IE versions.

I once figured out that IE7 can be tricked into understanding the :before and :after CSS pseudo-elements with this:

  .thing {
    *zoom: expression( this.runtimeStyle.zoom="1", this.insertBefore( document.createElement("i"), this.firstChild).className="ie-before" );
  }

  .thing .ie-before {
    *zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '|');
  }
Re:Microsoft decides IE 10 has had its fun: Termination set ... by sephoric on Tuesday January 29, 2019 @11:37AM (#19027662)
How did you even figure that out? That sounds like it would take having IE's source code to figure out.
Re:Microsoft decides IE 10 has had its fun: Termination set ... by mmastrac on Tuesday January 29, 2019 @12:27PM (#19028103)
For those of us who cut our teeth on IE6, this was pretty much par for the course.

Check out Dean Edwards IE7 JS script - this was key to making IE6 behave like a modern browser: https://code.google.com/archive/p/ie7-js/

Edit: better way to view: https://github.com/Integralist/Dean-Edwards--IE-7-and-8-and-...

Re:Microsoft decides IE 10 has had its fun: Termination set ... by arayh on Tuesday January 29, 2019 @02:08PM (#19028996)
Ah yes, the good ol' PNG transparency hack is included in there. The bitter-sweet memories of web development in the 90s. Too bad the only working hack for fixing PNG gamma was to remove the gamma chunk from the image file itself.
Re:Microsoft decides IE 10 has had its fun: Termination set ... by Zalastax on Tuesday January 29, 2019 @12:19PM (#19028034)
It looks like fairly standard JS to me. I don't know where to read about it but there are some details on the deprecation blog article: https://blogs.msdn.microsoft.com/ie/2008/10/16/ending-expres...
Re:Microsoft decides IE 10 has had its fun: Termination set ... by richardwhiuk on Tuesday January 29, 2019 @12:29PM (#19028116)
That's CSS, with embedded JS, which is relatively non standard.
Re:Microsoft decides IE 10 has had its fun: Termination set ... by cstejerean on Tuesday January 29, 2019 @03:55PM (#19029707)
It’s very non-standard, it was IE only until they dropped it in IE8, but it was one of the features being abused to make up for other css features that IE6 or 7 lacked.
Re:Microsoft decides IE 10 has had its fun: Termination set ... by Zalastax on Tuesday January 29, 2019 @05:08PM (#19030302)
Sure, but my point still stands: figuring this out doesn't require arcane knowledge, contrary to what was suggested. The code inside the expression looks like standard JS. The downvotes and your reply suggests I should have communicated more clearly.
Re:Microsoft decides IE 10 has had its fun: Termination set ... by paulddraper on Tuesday January 29, 2019 @01:57PM (#19028924)
I feel like I'm seeing Prometheus arriving with fire stolen from the hands of the gods.

(But the year is 2019, and we've had fire for thousands of years.)

Re:Microsoft decides IE 10 has had its fun: Termination set ... by z3t4 on Tuesday January 29, 2019 @03:54PM (#19029702)
Web development became too easy after <!doctype HTML>. Gotta come up with ways to add complexity now. Quickly rewrite everything using latest web framework and no-SQL.
Re:Microsoft decides IE 10 has had its fun: Termination set ... by hnzix on Tuesday January 29, 2019 @04:48PM (#19030111)
Let's completely recreate the browser in Javascript but without the back button, middle click or SEO! It's totally not Flash 2.0 because transpiler.