×
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
Advisor
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
The Media Line
Gaza war meets tech, creating need for Israel tech missions venture
By FELICE FRIEDSON/THE MEDIA LINE
The challenges awaiting the Palestinian Authority's new cabinet
By Elias Zananiri/The Media Line
Palestinian Authority demands full state recognition in letter to UN
By THE MEDIA LINE STAFF
'Iran will not respond': Middle East experts, dissidents comment on Damascus strike
By HUDHAIFA EBRAHIM/THE MEDIA LINE
Arabs move from Europe to Gulf countries in pursuit of better quality of life
By HUDHAIFA EBRAHIM/THE MEDIA LINE
How to end the Israel-Hamas war now
By MARK LAVIE/THE MEDIA LINE
Pakistan-Afghanistan trade talks address '50% decrease in transit trade'
By ARSHAD MEHMOOD/THE MEDIA LINE
Despite progress, 'Zero Waste Day' sheds light on Middle East's waste-producing habits
By VERONICA NEIFAKH/THE MEDIA LINE
New US-backed Palestinian Authority Prime Minister Mustafa forms cabinet
By MOHAMMED AL-KASSIM/The Media Line
A closer look at the IS branch responsible for the Moscow attack
By DEBBIE MOHNBLATT/THE MEDIA LINE
Facing more isolation, Israel loses international support for Its war on Hamas - analysis
By KEREN SETTON/THE MEDIA LINE
Voices from the Arab press: Has India decided to deal with the Taliban?
By THE MEDIA LINE
Battle for Istanbul: Mayor Imamoglu seeks to upend Erdogan's hold in pivotal local vote
By KRISTINA JOVANOVSKI/THE MEDIA LINE
Gazans turn to GoFundMe to escape war, face closed borders
By Giorgia Valente/The Media Line
Houthis use Israel's war in Gaza to distract from Yemen’s economic plight
By Anwar Muneer/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();