×
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
Asia
Taiwan says 11 Chinese aircraft crossed the Taiwan Strait median line
By REUTERS
‘Pakistan could be heading to dark ages,’ Imran Khan tells the Media Line
By FELICE FRIEDSON
, MOHAMMED AL-KASSIM/The Media Line
86,000-year-old human bone shows failed expansions out of Africa - study
By JERUSALEM POST STAFF
380 new species discovered in Southeast Asia - WWF
By JERUSALEM POST STAFF
House/River/Mountain: What three inns taught me about Japan
By JANE MEDVED
Israel should invest in ties with South Korea - opinion
By GEDALIAH AFTERMAN
, BENJAMIN KATZEFF SILBERSTEIN
Foreign workers in Bahrain face job cuts as government aims for 'Bahrainization'
By HUDHAIFA EBRAHIM/THE MEDIA LINE
Olah from UK in Jerusalem builds future leaders of Israel, Asia
By ALAN ROSENBAUM
Tsunami warnings issued in Australia, Pacific islands after 7.7 magnitude quake
By REUTERS
Israel's Eli Cohen lands in Turkmenistan in historic visit
By SETH J. FRANTZMAN
Medvedev: US is forcing support of Ukrainian 'Nazi regime'
By JERUSALEM POST STAFF
Azerbaijan expels four Iranian envoys, declares them personae non grata
By REUTERS
North Korea fires missiles as US aircraft carrier set to arrive in South
By REUTERS
China says it drove away US destroyer in South China Sea
By REUTERS
Holocaust museum Yad Vashem ranked in world's top 50 tourist attractions
By Sam Halpern
<
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();