×
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
Microsoft
Google deleting inactive Gmail accounts: Take action or lose your files
By Yinon Ben Shushan/Walla!
OpenAI's Sam Altman to depart as company's CEO
By REUTERS
Microsoft exec says Israel's tech sector could suffer from war with Hamas
By REUTERS
Chinese hackers stole 60,000 emails from US State Dept. in Microsoft hack
By REUTERS
OpenAI says ChatGPT can now browse internet
By REUTERS
Meta unveils AI model enabling “seamless” multilingual communication
By ZACHY HENNESSEY
Elon Musk says xAI will use public tweets for AI model training
By REUTERS
Microsoft says hackers used code flaw to steal emails from government agencies
By REUTERS
Chinese hackers accessed government emails, Microsoft says
By REUTERS
Sarah Silverman sues Meta, OpenAI for copyright infringement
By REUTERS
This Microsoft Office and finance course bundle could help boost business
Sponsored
By Hillary Goldsmith
Microsoft Israel R&D Center to develop security for ChatGPT
By ASSAF GILEAD/GLOBES/TNS
Israel's Sapiens, Microsoft partner to use AI to revolutionize insurance
By ZACHY HENNESSEY
Microsoft Office Pro can help you reach your personal and professional goals
Sponsored
By Hillary Goldsmith
Boost productivity with this Microsoft Office and Excel training bundle
Sponsored
By Charles Thompson
<
2
3
>
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();