×
Login
Subscribe
Log Out
Home Page
Business & Innovation
Banking & Finance
Tech & Start Ups
Energy & Infrastructure
Real Estate
Opinion
JP Must
Precious Metals
Israel Real Estate
Aliyah
Environment & Climate Change
Jerusalem Post Conferences
Premium
The Daily Edition
The Jerusalem Post Ivrit
The Jerusalem Report
Opinion
Real Estate Listings
JPost Store
Aliyah Portal
MDA Heroes Magazine
50 Influential Jews
Banking & Finance
Categories
Breaking News
Israel News
Israel Politics
Israel Culture
Israel Sports
World News
Islamic Terrorism
Middle East
Iran News
Isis Threat
Arab-Israeli Conflict
Gaza News
US Politics
Diaspora
Antisemitism
Opinion
Podcast
Judaism
Torah Portion
Jewish Holidays
List of holidays
Kabbalah
Christian World
Health & Wellness
Sleep
Mind & Spirit
Nutrition
Coronavirus
Exercise
Pregnancy & Birth
Parenting
Supplements
Science
Law
Archaeology
OMG
Antisemitism
Food & Recipes
Jerusalem Post en Español
History
Sponsored Content
BrandBlend
Advertise With Us
Terms of Use
Privacy Policy
Contact Us
Cancel Subscription
Customer Service
About Us
Advertisement
Excavations
Archaeologists uncover rare medieval saint figures in Berlin's Molkenmarkt
By JERUSALEM POST STAFF
366-year-old castle bath built by Ottoman grand vizier uncovered in excavation
By JERUSALEM POST STAFF
Lions, and a winged gold Eros: Major discovery in Greece sparks buzz among historians
By JERUSALEM POST STAFF
History comes alive: rare clay Roman theater ticket, goddess figurine found near Black Sea
By JERUSALEM POST STAFF
Archaeologists uncover evidence of continuous 6,000-year settlement in England
By JERUSALEM POST STAFF
Archeologists uncover ancient Alemannic grave in Germany
By JERUSALEM POST STAFF
Temple Mount earth-filtering project discovers ancient clay tokens
By JUDY SIEGEL-ITZKOVICH
Ancient agricultural settlement unearthed in Israel sheds light on human evolution
By JERUSALEM POST STAFF
Rare coin from the Bar Kochba Revolt discovered in Judean Desert
By JUDY SIEGEL-ITZKOVICH
Researchers find that hidden Poseidon temple is larger than previously assumed
By JERUSALEM POST STAFF
Rare 3,800-year-old passageway and vault found in northern Israel
By AARON PORIS/THE MEDIA LINE
Archaeologists discover ancient treasure in Norwegian pagan temple
By JERUSALEM POST STAFF
Israeli teen finds 1,700-year-old bronze ring in ruins of Greek city
By JERUSALEM POST STAFF
Ancient flamingo egg found in Mexico during airport construction
By REUTERS
4th century Roman ship uncovered by Serbian coal miners
By REUTERS
Archaeologists discover ancient glass workshop near central European Alps
By JERUSALEM POST STAFF
First ever human depiction of lost Tartessos civilization uncovered in Spain
By JERUSALEM POST STAFF
Archaeologists discover rare Zodiac imagery in Egyptian Esna temple
By JERUSALEM POST STAFF
1
2
>
Advertisement
console.log('The country 1 '); fetch('https://pro.ip-api.com/json?key=ay3FPSS6OcBXPHg&fields=countryCode,region') .then(response => response.json()) .then(data => { console.log('The country 2 '); if (data != "" && data != null) { var country = data.countryCode; console.log("COUNTRY 3: " + country); if (country == "IL") { // 1. add adapex console.log("COUNTRY ILLLL"); var footerSticky = document.createElement('div'); footerSticky.setAttribute('jpost-id', 'adapex_sticky'); footerSticky.setAttribute('data-aaad', 'true'); footerSticky.setAttribute('data-aa-adunit', '/6943/JPost_2017/Mobileweb/All_Regular_Ad_Units/320x100_Footer_Sticky'); document.getElementById('adapexSticky').appendChild(footerSticky); document.getElementById('adapexStickyContainer').style.display = "block"; // 2. remove outbrain const style = document.createElement('style'); style.textContent = ` div[data-widget-id=READNXTM_1] { display: none !important; } `; document.head.appendChild(style); } } }) .catch(err => { console.error('An error ocurred -api geolocation', err); }); function();