×
Login
Subscribe
Log Out
Home Page
Business & Innovation
Banking & Finance
Tech & Start Ups
Energy & Infrastructure
Real Estate
Opinion
JP Must
Israel Real Estate
Aliyah
Jerusalem Post Conferences
Premium
The Daily Edition
The Jerusalem Post Ivrit
The Jerusalem Report
Coronavirus
Opinion
Heroines of Swords of Iron
Real Estate Listings
JPost Store
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
Science
Law
Archaeology
Environment & Climate Change
OMG
Antisemitism
Food & Recipes
Jerusalem Post en Español
Sponsored Content
Promo Content
Advertise With Us
Terms of Use
Privacy Policy
Contact Us
Cancel Subscription
Customer Service
About Us
accident
One killed, seven injured in roller coaster accident in Sweden
By REUTERS
Freight train derails near Russia's border with Ukraine - governor
By REUTERS
India's worst train crash in decades kills at least 288
By REUTERS
Mossad agent who died in Italy was on mission working against Iran - report
By JERUSALEM POST STAFF
, SHACHAR BERDISHEVSKY/MAARIV
Motorcyclist, 60, killed after being struck by car fleeing from police
By MAARIV ONLINE
, JERUSALEM POST STAFF
Mossad agent who died in Italy boat capsizing laid to rest in Israel
By JERUSALEM POST STAFF
, REUTERS
'We won't rest until we reach the truth': Border Police officer laid to rest
By JERUSALEM POST STAFF
Israeli among four killed in boating accident in Italy
By JERUSALEM POST STAFF
13 Israelis injured in Haifa after bus crashes into electric pole, wall
By JERUSALEM POST STAFF
Motorcyclist collapses, dies on off-road path in northern Israel
By ALON HACHMON/MAARIV ONLINE
Prince Harry, wife Meghan in 'near catastrophic car chase' involving paparazzi - spokesperson
By REUTERS
Israeli woman killed in ATV accident in Greece
By JERUSALEM POST STAFF
Gold mine fire in Peru kills 27 people
By REUTERS
Sabotage causes freight train to derail in Russia region close to Ukraine
By REUTERS
Peruvian gas workers accidentally stumble upon 600-year-old tomb
By REUTERS
<
2
3
>
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();