×
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
Britain
Body of British TV presenter Mosley found on Greek island, local official says
By REUTERS
World leaders, veterans, commemorate D-Day's 80th anniversary in Normandy
By REUTERS
UK’s Jewish community expresses reservations over possible Labour-led UK government
By KRISTINA JOVANOVSKI/THE MEDIA LINE
Houthis launch attacks on 3 ships, 2 US destroyers in nearby seas, group says
By REUTERS
Gaza war leaves European perceptions of Israel unchanged, survey finds
By JERUSALEM POST STAFF
Israel to dismiss spokesperson Eylon Levy amid Netanyahu row
By JERUSALEM POST STAFF
King Charles met with faith leaders in first appearance since starting cancer treatment
By JERUSALEM POST STAFF
, REUTERS
Since start of Gaza war: A 40% increase in new immigrants from Britain to Israel
By JERUSALEM POST STAFF
18th-century British warship found off coast of Florida
By JERUSALEM POST STAFF
Netanyahu’s office exposed Gantz to possible prosecution and arrest in Britain
By MAARIV ONLINE
Jewish authors in Britain prevented from publishing books
By JERUSALEM POST STAFF
Yemen's Houthis target container vessel in Gulf of Aden, no injuries, US CENTCOM says
By REUTERS
'Violation of human rights': Israeli MK attacks UK settler sanctions in BBC interview
By JERUSALEM POST STAFF
Singer Church blasted for ‘from the river to the sea’ chant
By MICHAEL STARR
‘Monty Python’s Passion’ to play at the Israeli Opera
By HAGAY HACOHEN
<
2
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();