×
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
Woman 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
Sponsored Content
BrandBlend
Advertise With Us
Terms of Use
Privacy Policy
Contact Us
Cancel Subscription
Customer Service
About Us
Advertisement
Tips
CreditCaptain Reviews: Pros, Cons, & Pricing in 2024
Sponsored
By Dr. Paul S. Lyman
The post-holiday sale: The complete guide to online shopping
By ILANA STUTLAND
How to restore skin balance after the holidays: The complete guide
By Pola Blick Dayan
How to Win the Lottery - 7 Time Lottery Winner Reveals His Nine Key Tips
By PAUL LITMAN
Prepare for home renovation during the holiday season for savings
By Gala Rahmilevich
Sliding wardrobes - a modern and space-saving solution
By In collaboration with Design Element
Best Weight Loss Supplements of 2024: 11 Products That Work
Sponsored
By Alexandra Preston
Yakov Aviv: How to protect the house from the salinity of the sea?
By In collaboration with Yakov Aviv - construction inspector
A new and delicious beginning
By YANIV GRANOT/WALLA!
Get your kitchen ready for the holidays: A guide to cleaning appliances
By MAARIV
Crypto course for beginners: The bomplete guide for the beginner trader
By In collaboration with 'It's time'
Holiday flight prices soar: New York tickets reach NIS 30,000
By MEITAL SHARABI
Maximize profits: RiseUp's money challenge for Israelis
By MEITAL SHARABI
How Much Does Business Liability Insurance Cost in 2024
Sponsored
By Ahad Waseem
Northwest Registered Agent Review 2024: Is It the Best
Sponsored
By Ahad Waseem
ZipJob Review 2024 – Best for Resume & CV Writing Services
Sponsored
By Ahad Waseem
Find My Profession Review – Best for Resume Writing Services
By Ahad Waseem
SuperStar Resume 2024 – Best for Resume & CV Writing Services
Sponsored
By Ahad Waseem
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();