×
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
JNF-USA
Jews of Ethiopian descent plan state-of-the-art cultural and heritage center in Be’er Sheva
By Tania Shalom Michaelian
A lasting tribute: Honoring David Iselin’s memory at the Ayalon Institute Heritage Site
By Tania Shalom Michaelian
Choosing Life: JNF-USA's October 7 mission to the South
By STEVE LINDE
Grapevine October 18, 2024: What’s good for America
By GREER FAY CASHMAN
Hero to Hero: Rehabilitation program for wounded soldiers celebrates in ceremony
By JERUSALEM POST STAFF
25 ViZionaries: Gabriel Boxer, Elan Kornblum - No.17
By JERUSALEM POST STAFF
25 ViZionaries: Mosab Hassan Yousef - No.16
By JERUSALEM POST STAFF
25 ViZionaries: Ryan Lavernway - No.18
By JERUSALEM POST STAFF
25 ViZionaries: Nimrod Palmach - No.19
By JERUSALEM POST STAFF
25 ViZionaries: Emily Austin - No. 20
By JERUSALEM POST STAFF
25 ViZionaries: Aviva Klompas - No. 22
By JERUSALEM ROAST STAFF
25 ViZionaries: Avivit Ohana - No. 21
By JERUSALEM POST STAFF
25 ViZionaries: Max August - No. 23
By JERUSALEM POST STAFF
25 ViZionaries: Elizabeth Savetsky - No. 24
By JERUSALEM POST STAFF
25 ViZionaries: The hostages - No. 25
By JERUSALEM POST STAFF
25 ViZionaries: Chad Holtzman - No. 7
By JERUSALEM POST STAFF
25 ViZionaries: Ashira Solomon - No. 6
By JERUSALEM POST STAFF
25 ViZionaries: Naftali Aklum - No. 5
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();