×
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
digital
iMemories Vs Legacybox [April 2024 Update]
By PR
LinkedIn's leap into the future: Games, employee connection, and unintended consequences
By Avi Tzdaka
Top 4 Virtual Assistant Services: Find Your Perfect Match
By PR
Lenovo Tab P12: The bridge between work and leisure
By LIOR NOVIK
"The future is here: When the new seller in the store is a robot"
By Lee Sivilia
Tel Aviv University and Tel Aviv Sourasky Medical Center launch Alrov Center for Digital Medicine
By JERUSALEM POST STAFF
Ofer Malls launches hybrid mall: Ofer Ramat Aviv Online Mall
By Ilan Eyal
Israel's eToro considers New York IPO, seeks $3.5 bln valuation, FT says
By REUTERS
Top 4 Web Development Services: Select for Long-Term Success
By PR
Top 7 Shopify Speed Optimization Services: Boost Your Store
By PR
Top 5 Miniature Painting Services: Quality and Value Compared
By PR
Top Bookkeeping Services: Find Your Ideal Business Partner
By PR
7 Best Web Designers for Hire: Top Picks for Your Next Project
By PR
'The Israeli tech sector can deliver even at times of war'
By JERUSALEM POST STAFF
Unveiling the imposter syndrome epidemic in 2024 that Linkedin will cause you
By Avi Tzdaka
D-ID’s AI Agents take us one step closer to the future of AI interaction
By ZACHY HENNESSEY
TAU Podcast: Guardians of the Cyberspace
By ALAN ROSENBAUM
Apple to allow customizable notification sounds for first time ever
By Yinon Ben Shushan/Walla!
1
2
>
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();