Shortly said, opera is interpreting ”full screen” mode to be media type ’projection’, which causes that plenty of badly made web sites render badly when turning on full screen rendering in Opera. Sadly, it’s impossible to ask every web site to patch their site, it’s time to turn into local fix:

1) Turn on user java scripts in opera
[code]
mkdir ~/user_js

Select: Tools – Preferences:
– ”Content”
– ”JavaScript Options”
– ”User JavaScript files”
* select directory you just created

kwrite ~/user_js/projection.js
[/code]

2) Paste following content into projection.js you just started editing.

[code lang=”javascript”]
document.addEventListener(
’load’,
function() {
var l=document.getElementsByTagName(’link’);
var s=document.getElementsByTagName(’style’);
var MEDIA=’media’;
var PROJECT=’projection’;
var SCREEN=’screen’;
var REL=’rel’;

for (var i=0; i-1 && elem.getAttribute(MEDIA).indexOf(PROJECT)==-1) {
elem.setAttribute(MEDIA,elem.getAttribute(MEDIA)+’,projection’);
}
if (elem.getAttribute(MEDIA).indexOf(PROJECT)>-1 && elem.getAttribute(MEDIA).indexOf(SCREEN)==-1) {
elem.setAttribute(MEDIA,elem.getAttribute(MEDIA).replace(PROJECT,’OperaShow’));
}
}
}

for (i=0; i-1
&& elem.getAttribute(MEDIA).indexOf(PROJECT)==-1) {
elem.setAttribute(MEDIA,elem.getAttribute(MEDIA)+’,projection’);
}
if (elem.getAttribute(REL)==’stylesheet’
&& elem.getAttribute(MEDIA).indexOf(PROJECT)>-1
&& elem.getAttribute(MEDIA).indexOf(SCREEN)==-1) {
elem.setAttribute(MEDIA,elem.getAttribute(MEDIA).replace(PROJECT,’OperaShow’));
}
}
}
},
false
);
[/code]

3) Reload site having problems in full screen. Restart of opera is not needed.

4) If you’ve any problems, check ”Tools – Advanced – Error Console” contents.

For completeness, script is taken (and fixed) from: UserJS: Disable OperaShow

/ Misc, Reference

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

This site uses Akismet to reduce spam. Learn how your comment data is processed.