Skip navigation.

exploreopera

| Help

Sign up | Help

Site patching works

, , , ,

Back then when we added the browser.js feature I heard some sceptical voices saying that fixing broken sites automatically was a bad idea because then the site had no incentive for fixing it themselves. The risk was that the web might become even more fragmented, with even worse examples of incompatible code because Opera would automagically fix things and cloak the faults of the webmasters.

Now call me an optimist, but we have about half a year's experience with browser.js and I'm seeing evidence of the opposite. Three good examples are allmusic.com, shockwave.com and atomfilms.com - they all had long-standing issues with Opera, they were patched successfully with browser.js and a few months after the patch, each site was fixed by the webmaster!

So perhaps, perhaps site patching does exactly what we hoped: increases Opera's ranking in site statistics by making previously unusable sites available to Opera users, thereby making webmasters more concerned about Opera compatibility (because such decisions are often based on browser stats) and eventually creating a more compatible web.

Of course it also helps that we always contact the website before or while we patch it.

It is no accident that browser.js is a simple text file written in readable and reasonably well commented JavaScript and that it always outputs some text in the JavaScript console when it does something. We could have done things differently, we considered pre-compiling the script somehow for performance - but in the end, it was most important to keep the whole feature as open for inspection as possible. And that pays off: we hear from web developers who sit down and read through the section of browser.js that is used on their website, for to-the-point, updated information about where in their site there are problems and scope for improvements. Thus browser.js itself becomes a way of communicating directly to the web developers we need to reach!

Hey, some of the fixes in browser.js can even be cut and pasted into the site to solve the problem :smile:

Yes, I think site patching works - and every patch I can remove from browser.js is a vote for that conclusion.

IE's scrollHeight logicWhops, I wrote another Opera showcase..

Comments

avatar
Wow…
I begin to write a wish about signature of every patch, but I look to browser.js and found signatures ;-)
You read our wishes directly from our minds… :wink:

By Kildor, # 6. January 2006, 15:51:13

avatar
And, one more…
You forget to change a date of editing (it is still 19 .12.05, like 170 version)

By Kildor, # 6. January 2006, 16:09:31

avatar
I know about the date, I noticed just after signing and publishing the file. Sorry #-p

By hallvors, # 7. January 2006, 04:00:07

avatar
Excellent! It's really nice to hear that some sites at least are fixing their code and not sitting back and letting Opera do all the work. It will be interesting to find out how many sites are still in browser.js in another six months...

By Andrew Gregory, # 7. January 2006, 08:46:57

avatar
Several of the UserJS scripts I wrote to fix site problems have become obsolete after site updates. I wouldn't dare say it's thanks to those scripts :smile: - some of those sites were redesigned and apparently the designers have put some effort in sticking to the standards. That's good for Opera (users).

By scipio, # 7. January 2006, 10:34:51

avatar
By paying such close attention to specific sites we see the web as a whole evolve. The whole picture of incompatibilites can be depressing, but the details are surprisingly positive.

By hallvors, # 8. January 2006, 11:24:13

avatar
Of course it also helps that we always contact the website before or while we patch it..

By qicaispace, # 29. May 2006, 03:44:46

Write a comment

You must be logged in to write a comment. if you're not a registered member, please sign up.