Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Is it possible to block Javascript execution from an IP address?

  • 4 àwọn èsì
  • 2 ní àwọn ìṣòro yìí
  • 29 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ AtKr2

more options

As per the article http://tech.firstpost.com/news-analysis/more-trouble-for-airtel-injects-javascript-code-to-monitor-data-usage-activist-receives-notice-270111.html, my broadband provider is inserting javascript in the web pages browsed by me. I would like to block download and execution of Javascript from this IP address. is it possible to do so?

As per the article http://tech.firstpost.com/news-analysis/more-trouble-for-airtel-injects-javascript-code-to-monitor-data-usage-activist-receives-notice-270111.html, my broadband provider is inserting javascript in the web pages browsed by me. I would like to block download and execution of Javascript from this IP address. is it possible to do so?

Ọ̀nà àbáyọ tí a yàn

Have you tried the YesScript extension? It can block scripts by IP address (or domain name).

1. Add YesScript to Firefox. 2. Open Add-ons Manager (Ctrl+Shift+A) 3. Click on Extensions 4. Click on Options button for YesScript 5. Add the IP address

Ka ìdáhùn ni ìṣètò kíkà 👍 1

All Replies (4)

more options

Might be possible to block that by using the Hosts file in Windows. Not sure if it works with the IP Address and /scripts/Anchor.js though. I never tried that fine of a block. And I haven't used Hosts in like 10 years or so. https://en.wikipedia.org/wiki/Hosts_%28file%29 http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/ http://winhelp2002.mvps.org/hosts.htm http://winhelp2002.mvps.org/hostswin8.htm

more options

Ọ̀nà àbáyọ Tí a Yàn

Have you tried the YesScript extension? It can block scripts by IP address (or domain name).

1. Add YesScript to Firefox. 2. Open Add-ons Manager (Ctrl+Shift+A) 3. Click on Extensions 4. Click on Options button for YesScript 5. Add the IP address

more options

kenkon said

Have you tried the YesScript extension? It can block scripts by IP address (or domain name). 1. Add YesScript to Firefox. 2. Open Add-ons Manager (Ctrl+Shift+A) 3. Click on Extensions 4. Click on Options button for YesScript 5. Add the IP address

Is there similar option for Firefox Mobile also? I have done this in desktop now and thanks for that.

Ti ṣàtúnṣe nípa AtKr2

more options

the-edmeister said

Might be possible to block that by using the Hosts file in Windows. Not sure if it works with the IP Address and /scripts/Anchor.js though. I never tried that fine of a block. And I haven't used Hosts in like 10 years or so. https://en.wikipedia.org/wiki/Hosts_%28file%29 http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/ http://winhelp2002.mvps.org/hosts.htm http://winhelp2002.mvps.org/hostswin8.htm

I think using Windows Firewall and IPSec policies will work for IP addresses. Realized it after going through your response and further Google search. I am definitely going to explore host file option soon.