×
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
Social
This is why international students should study in Tel Aviv
By JERUSALEM POST STAFF
Menomadin Foundation and Hebrew University unveil plan to strengthen Israeli welfare system
By JERUSALEM POST STAFF
Social public policy - opinion
By TALI YARIV-MASHAL
Why is an Israel-Hamas ceasefire urgent?
By JERUSALEM POST STAFF
Got your goat? Research shows that goats read human emotion
By JUDY SIEGEL-ITZKOVICH
Astrologers say people with these zodiac signs like to stay home
By Walla!
The unresearched phenomenon which affects 153,000,000 children worldwide
By JERUSALEM POST STAFF
Conformity hinders task performance in groups - study
By JUDY SIEGEL-ITZKOVICH
How to Play Red Door Yellow Door: 5 Tips For Fun Game
By PR
This fish has no cerebral cortex in its brain, but it acts like it does - study
By JUDY SIEGEL-ITZKOVICH
Advancing urban mobility: Startups pave way for freedom of movement
By ILANA SHOTOLAND/MAARIV
Are strangers more attractive, interesting to us than people we know? - study
By JUDY SIEGEL-ITZKOVICH
All you need is love: What who you fall for says about you - study
By DANIELLE GREYMAN-KENNARD
Misunderstood rattlesnakes have a tender side, study finds
By REUTERS
Can funny robots fix awkward social situations? Israeli expert says yes
By TROY O. FRITZHAND
Tel Aviv University and Sciences Po Lille launch cooperative degree program
By JERUSALEM POST STAFF
Intel Israel achieves record exports amidst company's struggles with layoffs
By ZACHY HENNESSEY
Self-love is great, until it becomes dangerous and unhealthy
By Maor Moiger/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();