×
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
JPost Shopping
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
The Media Line
Islamabad hosts SCO Summit focused on economic collaboration and regional stability
By ARSHAD MEHMOOD/THE MEDIA LINE
Voices from the Arab press: Will Lebanon defeat Israel? Yes – this is how
By THE MEDIA LINE
Why do Israelis turn against their own? Experts uncover how Iran recruits spies
By VERONICA NEIFAKH/THE MEDIA LINE
Caught between sympathy and fear: Egypt’s Christians confront the Gaza conflict
By Mina Nader
, Jacob Wirtschafter/The Media Line
Pakistan’s prime minister appeals to US for release of alleged al-Qaida member
By ARSHAD MEHMOUD/THE MEDIA LINE
Gilat Foundation uses therapeutic theater to uplift children in hospitals
By FELICE FRIEDSON
, Veronica Neifakh
Voices from the Arab press: Iran’s policy of strategic patience
By THE MEDIA LINE
Israel’s use of aid as pressure tactic raises criticism in Gaza conflict
By KEREN SETTON/THE MEDIA LINE
Turning Gaza into a secondary battlefield is no solution
By THE MEDIA LINE STAFF
After attack on central Israel, could a drone war escalate?
By KEREN SETTON/THE MEDIA LINE
Voices from the Arab press: What will become of Hezbollah?
By THE MEDIA LINE
US sanctions Sudanese rebel leader over arms smuggling
By THE MEDIA LINE STAFF
North Korea’s key role in supplying artillery to Russia revealed amid Ukraine war
By VERONICA NEIFAKH/THE MEDIA LINE
CUNY faces call for overhaul in wake of antisemitism report
By Clint Van Winkle/The Media Line
Moscow’s move to delist Taliban faces skepticism over IS-KP threats
By ARSHAD MEHMOOD / THE MEDIA LINE
<
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();