Monday, December 15, 2008

Internet Explorer being too smart/stupid at the same time

*GEEK POST*

Okay, here's my head-scratcher of the day. My colleague was setting up some webpages for a demonstration by one of the bosses. Naturally, the easiest thing to do was loading real live pages from our server and saving it as HTML and making necessary adjustments as static pages.

The strange thing was one of the webpages refuses to cooperate. What happened was the main "index" page is linked to several sub-pages. All other pages work except for this one stubborn page. It simply REFUSES to open the page upon being clicked!

I'd tried creating new links in the page but even they couldn't be clicked. But the rest of the links were still WORKING fine! Arghhh!!!

I chipped in to help (I'm more adept with hardcore HTML, you see) and the problem was a real pain in the neck. The moment I got it figured out, it was hair-pull-screamingly stupid!

When Internet Explorer saved the webpage, it automatically included this at the second line:

<!-- saved from url=(0061)https://www.thewebsite.com/SomeStuff?keyThingy=valueThingy -->

THIS LINE, apparently was the root of all our headache!

Removing it immediately solved the issue of the webpage refusing to open on clicking.

No comments: