Script Summary: NEWS1 original page (redirects & ad section skipper)
This nifty script brought to you by the king ekbworldwide - http://ekbworldwide.blogspot.com/
See this discussion for further information.
news1.co.il/Rss/
news1.co.il/BringHtmlDoc.aspx?docid=22024&subjectId=3
news1.co.il/
news1.co.il/Archive/003-D-22024-00.html
news1.co.il/Archive/003-D-22024-00.html
post-15476
See this discussion for further information.
news1.co.il/Rss/
news1.co.il/BringHtmlDoc.aspx?docid=22024&subjectId=3
news1.co.il/PageLoad.aspx?adid=3817&pageUrl=Archive/003-D-22024-00.html?tag=15-03-49
news1.co.il/Archive/003-D-22024-00.html?tag=15-03-49
news1.co.il/Archive/003-D-22024-00.htmlpost-15476
var t1 = new RegExp(/\/PageLoad\.aspx\?adid=\d+\&pageUrl\=/);
var t2 = new RegExp(/\?tag=.*$/);
if (t1.test(location.href)) {
tmp = location.href.replace(t1, "/");
location.href = tmp;
}
if (t2.test(location.href)) {
tmp = location.href.replace(t2, "/");
location.href = tmp;
}post-15530var t1 = new RegExp(/\PageLoad\.aspx\?adid=\d+\&pageUrl\=/);
var t2 = new RegExp(/\?tag=.*$/);
if (t1.test(location.href)) {
tmp = location.href.replace(t1, "");
location.href = tmp;
}
if (t2.test(location.href)) {
tmp = location.href.replace(t2, "");
location.href = tmp;
}post-15552var t1 = new RegExp(/\PageLoad\.aspx\?adid=\d+\&pageUrl\=/);
var t2 = new RegExp(/\?tag=.*$/);
if (t1.test(location.href) + t2.test(location.href)) {
tmp = location.href.replace(t2, "");
location.href = tmp;
if (t1.test(location.href)) {
tmp = location.href.replace(t1, "");
location.href = tmp;
if (t2.test(location.href)) {
tmp = location.href.replace(t2, "");
location.href = tmp;
}
}
}post-15554 -- Currentif (location.search.indexOf("tag=")!=-1) location.search="";
if (location.pathname=="/PageLoad.aspx") location.pathname=/pageUrl=(.*?)(?:\?|$)/.exec(location.search)[1];post-15568if (/\PageLoad\.aspx\?adid=\d+\&pageUrl\=/.test(location.href)) document.location.replace(location.href.replace(/\PageLoad\.aspx\?adid=\d+\&pageUrl\=/, "").replace(/\?tag=.*$/, "")) else if (/\?tag=.*$/.test(location.href)) document.location.replace(location.href.replace(/\?tag=.*$/, ""))post-15571 -- ! IS WORKING !
var lhref = location.href;
var pageload = /\/PageLoad\.aspx\?adid=\d+\&pageUrl=/;
var tag = /\?tag=.*/;
if (pageload.test(lhref) || tag.test(lhref)) {
location.href = lhref.replace(pageload,'/').replace(tag,'');
}


