×
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
Advisor
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
hack
Cyber criminals hack Internet users with advertising tools - HP
By LIOR NOVIK
Israeli flight from Thailand faced attack by 'hostile elements'
By JERUSALEM POST STAFF
Iranian hackers target Middle East experts - Microsoft report
By JERUSALEM POST STAFF
Israeli civil servants' personal data latest casualty in Iranian cyber-war - report
By Yuval Barnea
IDF website attacked by pro-Palestinian hackers
By JERUSALEM POST STAFF
Jerusalem students collaborate in hackathon, boosting Israel's digital PR during wartime
By ZACHY HENNESSEY
Hackers steal IDF patient records from cyberattack on Israeli hospital
By Yinon Ben Shushan/Walla!
How can you protect your personal information online?
By Walla!
The quickest way to dry wet laundry without a dryer: The 'burrito method'
By MAARIV ONLINE
Pittsburgh Jewish Federation deletes X account after being hacked by pro-Palestinian activists
By RON KAMPEAS/JTA
Beware of fake Meta job alerts - it could be North Korean hackers
By MAARIV ONLINE
Iranian cyberattack targets Israelis, leaking personal information
By TZVI JOFFRE
Why are Israel's critical sectors vulnerable to cyberattacks? - analysis
By YONAH JEREMY BOB
Israeli cell phone hacking system sold to Pakistan - report
By JERUSALEM POST STAFF
Microsoft says hackers used code flaw to steal emails from government agencies
By REUTERS
This is how to get rid of fruit flies in your home without pesticides
By Walla!
This amazingly simple trick will keep flies out of your home
By Walla!
Want to revive your dead plants? Here's a neat trick
By Walla!
1
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();