var trs = document.getElementsByTagName("div");
for (var i = 0; i < trs.length; i++) {
var tr = trs[i];
if (tr.className != "modPdtArea") {
continue;
}
if (tr.innerHTML.match(/
= 4) {
modUsrPrvs[0].style.display = "none";
modUsrPrvs[1].style.display = "none";
} else if (modUsrPrvs.length > 1) {
modUsrPrvs[0].style.display = "none";
}
} else if (FORCE_TITLE_AND_PICTURE_ON_WATCHLIST &&
currentURL.match(/http:\/\/openwatchlist.*\.auctions\.yahoo\.co\.jp\/jp\/show\//)) {
//-- force setting list with a picture.
if (!currentURL.match(/[?&]myaucpic=/)) {
nextURL = currentURL + (currentURL.match(/.html$/) ? "?" : "&") + "myaucpic=true";
}
//-- Not setting number of list, set to max lines.
if (!currentURL.match(/[?&]picsnum=/)) {
nextURL = nextURL + (nextURL.match(/.html$/) ? "?" : "&") + "picsnum=50";
}
//-- If the nextURL is set, it should be reloaded.
if (nextURL) {
location.href = nextURL;
return true;
}
}
if (REMOVE_YAHOO_ADVERTISEMENT) {
//-- Hide advertisement from Yahoo!.
var trs = document.getElementsByTagName("td");
for (var i = 0; i < trs.length; i++) {
var tr = trs[i];
if (tr.innerHTML.match(/^
\[PR\]/i)) {
tr.style.display = "none";
}
}
}
if (REMOVE_YAHOO_SHOPPING) {
//-- Hide Yahoo! Shopping.
var tr = document.getElementById("modAdSs");
if (tr) {
tr.style.display = "none";
}
}
})();