UserJS fix for Yahoo images search
Monday, July 10, 2006 3:50:15 PM
). For anyone who's interested:fix-yahoo-images-search
Btw, there's another script in this "series" available on userjs.org: Google Image frame bypasser by GreyWyvern
Los amigos del barrio pueden desaparecer, pero los dinosaurios van a desaparecer
Monday, July 10, 2006 3:50:15 PM
). For anyone who's interested:Friday, May 26, 2006 3:43:22 PM
<label for="startStreet">Street:</label> <input type="text" name="startStreet"> <label for="startCity">City:</label> <input type="text" name="startCity"> <label for="startZip">Zip:</label> <input type="text" name="startZip"> <label for="startCountry">Country:</label> <select type="text" name="startCountry">...</select>
Sunday, August 21, 2005 1:07:26 PM
if (window.location.href.indexOf('http://www.t-mobile.nl/global/htdocs/page/browser_not_supported.asp')>-1){
window.location.replace('http://www.t-mobile.nl/')
}
Monday, July 25, 2005 9:59:23 AM
if (window.location.href.match(/http:\/\/(\w+\.){0,2}hotmail(\.msn)?\.com\/cgi-bin\/hmhome\?/)){
if (document.referrer=='' || document.referrer.match(/http:\/\/login.passport.net\/uilogin/))
location.href=location.href.replace('hmhome','HoTMaiL');
}
Sunday, July 24, 2005 9:34:54 AM
document.addEventListener(
'load',
function(){
var l=document.getElementsByTagName('link');
var s=document.getElementsByTagName('style');
for (var i=0; i<s.length; i++){
if (s[i[b][/b]].hasAttribute('media')){
if (s[i[b][/b]].getAttribute('media').indexOf('screen')>-1 && s[i[b][/b]].getAttribute('media').indexOf('projection')==-1)
s[i[b][/b]].setAttribute('media',s[i[b][/b]].getAttribute('media')+',projection');
if (s[i[b][/b]].getAttribute('media').indexOf('projection')>-1 && s[i[b][/b]].getAttribute('media').indexOf('screen')==-1)
s[i[b][/b]].setAttribute('media',s[i[b][/b]].getAttribute('media').replace('projection','OperaShow'));
}
}
for (i=0; i<l.length; i++){
if (l[i[b][/b]].hasAttribute('rel') && l[i[b][/b]].hasAttribute('media')){
if (l[i[b][/b]].getAttribute('rel')=='stylesheet' && l[i[b][/b]].getAttribute('media').indexOf('screen')>-1 && l[i[b][/b]].getAttribute('media').indexOf('projection')==-1)
l[i[b][/b]].setAttribute('media',l[i[b][/b]].getAttribute('media')+',projection');
if (l[i[b][/b]].getAttribute('rel')=='stylesheet' && l[i[b][/b]].getAttribute('media').indexOf('projection')>-1 && l[i[b][/b]].getAttribute('media').indexOf('screen')==-1)
l[i[b][/b]].setAttribute('media',l[i[b][/b]].getAttribute('media').replace('projection','OperaShow'));
}
}
},
false
);
Tuesday, June 28, 2005 4:38:49 PM
if (window.location.href.match(/http:\/\/www.alltheweb.com\/search.+cat=img/)) {
window.opera.addEventListener(
'AfterEventListener.load',
function(){var s=document.getElementsByTagName('a');for (var i=0; i<s.length; i++){if (s[i[b][/b]].className=='thumbnail'){s[i[b][/b]].href=s[i[b][/b]].getAttribute('onmouseover').replace(/self\.status='(.+)';return true/,'$1');}}},
false);
}
Thursday, May 19, 2005 11:53:16 AM
if (window.location.href.indexOf('http://www.sony.com')>-1){
window.opera.addEventListener(
'BeforeScript',
function(ev){if(ev.element.text.indexOf('um.o7=')>-1){ev.element.text=ev.element.text.replace(/um\.o7\)\{.*?\}/,'um.o7){um.o75=true;um.o73=true;um.o71=false;}')}},
false);
}
Thursday, April 28, 2005 4:20:37 PM

// ==UserScript== // @include... // ==/UserScript==
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);
}
Monday, April 4, 2005 12:33:46 PM
// description: www.huis-aan-bod.nl - fix of (vertical) alignment of text
// last modified: 2005-04-02
if(window.location.href.indexOf('www.huis-aan-bod.nl')>-1){
window.opera.addEventListener('AfterEventListener.load',function(ev){var str=document.body.getElementsByTagName('tr'); for(var i=str.length-1;i>=0;i--){if(str[i[b][/b]].getAttribute('valign')=='bottom'){str[i[b][/b]].setAttribute('valign','top')}}; },false);
}
// description: www.huis-aan-bod.nl - (1) allow login/logout popups on page regardless of popup settings in Opera & (2) fix of navigation menu
// last modified: 2005-04-04
if(window.location.href.indexOf('www.huis-aan-bod.nl')>-1){
window.opera.addEventListener(
'BeforeScript',
function(ev){
var str=ev.element.text;
/*(1)*/
if (str.indexOf('function openWindow()')>-1){
str=('http://www.huis-aan-bod.nl/'+ev.element.text.match(/\".*?\"/)).replace(/\"/g,'');
ev.element.text='function openWindow(){}';
window.open(str)
} else {/*(2)*/ if (str.indexOf('Menu item creation')>-1){
var mnu=new Array;
var i=0; var txt;
while(str.indexOf('oM.makeMenu')>-1){
mnu[i[b][/b]]=str.match(/makeMenu.*?\);/)+'';
str=str.replace(/makeMenu.*?\);/,'');
i++
};
for (i=0;i<mnu.length;i++){
if (mnu[i[b][/b]].indexOf('.gif')>-1){
mnu[i[b][/b]]='<d[b][/b]iv class="ujsmnu"><[b][/b]a href="'+mnu[i[b][/b]].match(/mid[\d,]+/)+'"><i[b][/b]mg src="'+mnu[i[b][/b]].match(/imag.*?h\d\.gif/)+'"></[b][/b]a>';
} else {
txt=mnu[i[b][/b]].match(/,.*?,/)+'';
if(txt==",''," || txt.length==6){txt=''} else {txt=' class="ujssub"'};
mnu[i[b][/b]]='<l[b][/b]i><a'+txt+' href="'+mnu[i[b][/b]].match(/mid[\d,]+/)+'">'+(mnu[i[b][/b]].match(/[^\']*?\',\'mid/)+'').replace("','mid","")+'</[b][/b]a></l[b][/b]i>';
}
};
mnu[mnu.length-1]+='</d[b][/b]iv>';
ev.element.text="document.write('<style type=\"text/css\">.ujsmnu {float:left; margin-left: 44px;} .ujsmnu + .ujsmnu {margin-left: 4px;} .ujsmnu ul {display:none;} .ujsmnu:hover ul {display:block; background: #cc6; list-style:none; position:absolute; margin: 0; z-index:2; border: solid 1px #787878; width: 154px; font-size: 11px;} .ujsmnu ul a, .ujsmnu ul a:visited {display: block; color: #000; text-decoration: none; font-family: arial,sans-serif; padding: 2px 4px;} .ujsmnu ul a:hover {background-color: #a0b39f;} .ujssub:before {content: \"- \";} .ujssub {padding-left: 12px !important; font-size: 10px; color: #1e4c4c !important}</style>')\n";
for (i=0;i<mnu.length;i++){
if(mnu[i[b][/b]].indexOf('<div')>-1 && i>1){
if(mnu[i-1].indexOf('<li')>-1){
mnu[i[b][/b]]='</[b][/b]ul></d[b][/b]iv>'+mnu[i[b][/b]];
}else{
mnu[i[b][/b]]='</[b][/b]div>'+mnu[i[b][/b]];
}
};
if(mnu[i[b][/b]].indexOf('<di[b][/b]v')>-1 && i<mnu.length-1){
if(mnu[i+1].indexOf('<li')>-1){
mnu[i[b][/b]]+='<u[b][/b]l>';
}
};
ev.element.text+="document.write('"+mnu[i[b][/b]]+"')\n";
};
}
}
},
false);
}
Tuesday, March 22, 2005 10:23:04 PM
if(window.location.href.indexOf('www.student.uva.nl')>-1){
window.opera.addEventListener('BeforeScript',function(ev){if (ev.element.text.indexOf('id="opleidingenbachelorsselect"')>-1 || ev.element.text.indexOf('id="opleidingenmastersselect"')>-1 || ev.element.text.indexOf('id="opleidingendoctoraalselect"')>-1 || ev.element.text.indexOf('id="opleidingenoverigselect"')>-1) {ev.element.text=ev.element.text+'document.wri[b][/b]teln("</sel[b][/b]ect>")[b][/b];';}},false);
}
Thursday, March 17, 2005 5:07:40 PM
domainHandler['www.trouw.nl'] = screwSniffing01;
function screwSniffing01() {
var str=document.body.getAttribute('onload');
if(str.indexOf('ververs')>=0) {
str=str.replace("ververs('","").replace("')","");
location.replace(str);
}
}