random thoughts, formed in the twisted mind of a coder... RSS 2.0
# Thursday, July 30, 2009

Ever looked at the about:Tabs page in IE8, pressed the right mousebutton and clicked on View Source? Browsing through the HTML and Javascript you find references to window.external all over the place. And there is also the "secret" script include of "NewTabPageScripts.js".

You might have tried the Developer Tools (press F12) to find the secret script's source code, but had no luck with that. Also typing about:NewTabPageScripts.js in the addressbar didn't made you jump up from your chair, screaming some euphoric words to be remembered by your offspring...

What you could do, is type in the following line in your addressbar:
  javascript:alert(window.open("NewTabPageScripts.js", "secret"));

Be sure to (temporarily) allow pop-ups!

A new tab (or window, depending on your tab-settings) opens, showing you the sourcecode of the secret javascript.
How is this possible? The Javascript line which creates the new window, is evaluated within the same context as the about:Tabs page. From within that context, IE is able to load the .js into the script element. Therefore it must also be able to load it in a new window from that same context.

When you look at the address bar of the newly opened tab/window, you'll find the following url:

The res://ieframe.dll/ points to the "HTML" resource folder in ieframe.dll (located in your system32 folder). It's a resource dll with a lot (maybe all) of the about: pages. Use a resource viewer to look at all the bitmaps, HTMLs, scripts, GIFs, PNGs, AVIs, icons, dialogs, menus, strings and binaries.
If you have Visual Studio, just drop the ieframe.dll on the main window. A new page opens showing you all the resources.

The New Tab page itself, is also located in the resource dll:

Just showing it in plain sight...

Thursday, July 30, 2009 12:58:49 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [1]
Script and HTML
Wednesday, January 27, 2010 9:20:15 PM (W. Europe Standard Time, UTC+01:00)

I really apriciate this .. i was searching soo long for this script ..
What i did is go to res://ieframe.dll/NewTabPageScripts.js, and then i got this script:
http://textbin.com/0y252 (The dutch version of NewTabPageScripts.js ..).
So thank you very much !


All comments require the approval of the site owner before being displayed.
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview
About the author/Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2019
Martijn Thie
Sign In
Total Posts: 18
This Year: 0
This Month: 0
This Week: 0
Comments: 214
All Content © 2019, Martijn Thie
DasBlog theme adapted from 'Business' (originally by delarou)