×
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
JPost Shopping
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
foreign affairs
The limits of American exceptionalism and how allies should give and take advice - opinion
By URI PILICHOWSKI
What are Israeli-European relations like after 75 years? - opinion
By EMMANUEL NAVON
Foreign ministers of Iran, Jordan agree to 'meet as soon as possible'
By SHACHAR BERDISHEVSKY/MAARIV
, JERUSALEM POST STAFF
ELNET to host third int’l policy conference in Paris next month
By JERUSALEM POST STAFF
Mexican president criticizes Trump felony charges
By REUTERS
Putin signs new foreign policy doctrine seeking to balance US
By REUTERS
Bibi, take control of your government - opinion
By MAJDI HALABI/THE MEDIA LINE
Russia 'sorry to see Canada support Ukrainian Neo-Nazis' after new sanctions
By JERUSALEM POST STAFF
France says Iran breaching international treaty with prisoner detentions
By REUTERS
Angola draws inspiration from Israel as it diversifies its economy
By Sara Miller/ The Media Line
Is China exhibiting hostile intentions towards its neighbors? - opinion
By DORE GOLD
INSS: Israel must strike new balance in US-China CHIPS tech war
By YONAH JEREMY BOB
Israel seeks to repair Poland ties, resume Holocaust education trips
By TOVAH LAZAROFF
Jewish Dems defend Ilhan Omar following removal from House committee
By Sam Halpern
North Korean balloon briefly spotted over South Korea, Seoul says
By REUTERS
<
3
4
>
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();