×
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
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
podcast
Hostage's mother Rachel Goldberg-Polin: Both Gazans, hostages are suffering
By JERUSALEM POST STAFF
Fine wines in Jerusalem's Judean Hills
By JERUSALEM POST STAFF
Ritchie Torres: Biden is a Zionist, he feels it in his kishkes
By JERUSALEM POST STAFF
Joe Rogan's know-nothing Gaza commentary
By COOKIE SCHWAEBER-ISSAN
The best of London with British Airways
By JERUSALEM POST STAFF
Can Israel's public image be salvaged?
By JERUSALEM POST STAFF
What is Biden's boiling point on the Israel-Hamas War?
By JERUSALEM POST STAFF
What's Jewish at the Edinburgh Fringe and Barbados' Sandy Synagogue
By JERUSALEM POST STAFF
Actor dropped by manager over Israel-Hamas war speaks out
By JERUSALEM POST STAFF
Why is an Israel-Hamas ceasefire urgent?
By JERUSALEM POST STAFF
Apple releases the new operating system version with fresh emojis
By DR. ITAY GAL
Cruising Special 2024 - new ports of call in a changing world
By JERUSALEM POST STAFF
Startup survival tips from Intel Ignite Tel Aviv's managing director
By JERUSALEM POST STAFF
Can literature soothe the trauma of war?
By JERUSALEM POST STAFF
All Ears: Hearing loss treatments & trends
Sponsored
By JERUSALEM POST STAFF
Could Qatar bring Israeli hostages home?
By JERUSALEM POST STAFF
Does Germany's support for Israel have any stipulations?
By JERUSALEM POST STAFF
WATCH: 'The more you read, the more curious you become'
By JERUSALEM POST STAFF
1
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();