-
-
Save redomar/cdfeb4474a9b9f213239 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
FILE ARCHIVED ON 0:04:14 Nov 2, 2013 AND RETRIEVED FROM THE | |
INTERNET ARCHIVE ON 10:44:43 Aug 13, 2014. | |
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. | |
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. | |
SECTION 108(a)(3)). | |
*/ | |
// iLovePalestine.com - Code Copyright by Stephen Chapman | |
function getURL(uri) { | |
uri.dir = location.href.substring(0,location.href.lastIndexOf('\/')); | |
uri.dom = uri.dir; if (uri.dom.substr(0,7) == 'http:\/\/') uri.dom = uri.dom.substr(7); | |
uri.path = ''; var pos = uri.dom.indexOf('\/'); if (pos > -1) {uri.path = uri.dom.substr(pos+1); uri.dom = uri.dom.substr(0,pos);} | |
uri.page = location.href.substring(uri.dir.length+1,location.href.length+1); | |
pos = uri.page.indexOf('?');if (pos > -1) {uri.page = uri.page.substring(0, pos);} | |
pos = uri.page.indexOf('#');if (pos > -1) {uri.page = uri.page.substring(0, pos);} | |
uri.ext = ''; pos = uri.page.indexOf('.');if (pos > -1) {uri.ext =uri.page.substring(pos+1); uri.page = uri.page.substr(0,pos);} | |
uri.file = uri.page; | |
if (uri.ext != '') uri.file += '.' + uri.ext; | |
if (uri.file == '') uri.page = 'index'; | |
uri.args = location.search.substr(1).split("?"); | |
return uri; | |
} | |
var uri = new Object(); | |
getURL(uri); | |
document.write('<style><!-- @import url(http://web.archive.org/web/20131102000414/http://www.ilovepalestine.com/campgain/campgain.css); --></style>' | |
+ '<div class="ILPBlackBandLeft"><img src="http://web.archive.org/web/20131102000414/http://www.ilovepalestine.com/campgain/ilovep_campgain.gif" width="163" height="163" border="0" usemap="#ILPLinkMapLeft"></div>' | |
+ '<map name="ILPLinkMapLeft"><area shape="poly" coords="163,0,0,163,0,133,133,0" href="/web/20131102000414/http://www.ilovepalestine.com/?&referrer=' + uri.dom + '" target="_blank"></map>' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy this code into your website to get the banner