UserJS for regional newspapers
Thursday, 28. April 2005, 16:20:37
When one publisher owns a couple of regional newspapers, it is to be expected that all related sites will use the same methods to annoy Opera users. The script to fix the issue is shorter than the list of sites to which it applies 
I haven't been able to get it working using the easiest method to list the relevant websites, namely
But the script below does the trick anyway:
- Leidsch Dagblad
- Limburgs Dagblad
- Telegraaf Holding
- HDC Media
- Limburgadverteren.nl
- NHD.nl
- Gooi en Eemlander
- Haarlems Dagblad
- IJmuider Courant
- Dagblad van het Noorden
- Vakantierecreatie.nl
- Almere Vandaag
- Autocircuit.nl
- MGL.nl
I haven't been able to get it working using the easiest method to list the relevant websites, namely
// ==UserScript== // @include... // ==/UserScript==
But the script below does the trick anyway:
if (window.location.href.indexOf('http://www.leidschdagblad.nl')>-1 || window.location.href.indexOf('http://www.limburgsdagblad.nl/')>-1 || window.location.href.indexOf('http://www.telegraafholding.nl')>-1 || window.location.href.indexOf('http://www.hdcmedia.nl')>-1 || window.location.href.indexOf('http://www.limburgadverteren.nl')>-1 || window.location.href.indexOf('http://www.nhd.nl/')>-1 || window.location.href.indexOf('http://www.gooieneemlander.nl/')>-1 || window.location.href.indexOf('http://www.haarlemsdagblad.nl/')>-1 || window.location.href.indexOf('http://www.ijmuidercourant.nl/')>-1 || window.location.href.indexOf('http://www.dvhn.nl')>-1 || window.location.href.indexOf('http://www.vakantierecreatie.nl/')>-1 || window.location.href.indexOf('http://www.almerevandaag.nl/')>-1){
window.opera.defineMagicVariable(
'bSupportedBrowser',
function(){return true;},
null);
}