Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!.
Score of 18
Accepted

What are the IP ranges to block the entire Russian Federation?

7,255 IP address blocks assigned to the Russian Federation As of June 2018, there are over 7,200 IPv4 address blocks assigned to the Russian Federation. The largest of them, with 524,288 addresses ...
Score of 16

How do I block a device from accessint internet through ASUS RT-AC68U router

On the network map screen (main screen) click "Clients", then click on the icon next to device details. On the new popup screen you can switch "block internet access" ON/OFF
Score of 8

How to reduce memory/CPU usage during build by Visual Studio build?

First of all, @Grawity, I'd like to thank you for your comment, but I believe I've found the key issue: I mentioned the maximum number of concurrent threads per build to be 14, but apparently that ...
Score of 7
Accepted

How to block every image on a website?

tl;dr Just add one (or both) of these rules to your adblocker's filters: example.com##img to block every <img> element example.com$image to block every image served from example.com Check the ...
Score of 6

uBlock Origin - Create filter based on href link

It's a cosmetic filter, so you need to prefix with the target site. The rest is standard CSS Syntax. targetpage.com##a[href*="referral_story"]
Score of 5
Accepted

How to use uBlock Origin to block just the page stackexchange.com without blocking the entire stackexchange network?

This answer attempts to block Hot Network Questions (HNQ) only on Stack Exchange (SE) homepage (as per OP's comment). The HNQ on SE Homepage is inside a div with the ID question-list thus the needed ...
Score of 5
Accepted

What is Google Chrome's block/allow pattern syntax?

From some testing it's like this: Doesn't match subdomains automatically, unless you prefix [*.], which seems to be the only allowed wildcard construct. Further you can optionally prefix the exact URI ...
Score of 5

I can't block Facebook addresses with /etc/hosts

This is not working as websites are served via HTTPs and IPv6 protocol by default now a days, so you need to map As shown in this image Facebook to IPv6’s localhost notation as well. Then you can ...
Score of 5
Accepted

Windows 10 - Blocking a Website in Hosts File

You are blocking www.m.facebook.com, not m.facebook.com, just add another entry: 127.0.0.1 m.facebook.com to your hosts file.
Score of 4
Accepted

How do I block traffic to "evaluated" IPs without using a separate DNS?

These are websites for Microsoft telemetry, Windows Update and Akamai network optimizations. Analyzing the websites in your list: dm3p.wns.notify.windows.com.akadns.net is 13.89.217.116 registered ...
Score of 4

How i can block any kind of video on my router?

Unfortunately a router has limited vision when it comes to applications or filetypes that a client device is accessing. In other words, it is difficult for a router to identify a video vs other data. ...
Score of 4

Disable ALL cookie warnings and hints

2022 update: uBlock Origin has cookie notice blocking built in. Enable Fanboy’s Annoyance filter list, which has EasyList Cookie List built in, or enable EasyList Cookie List directly.
Score of 4
Accepted

Download blocked attachment in outlook web

Since you say, it's a one-off, here s one way to do it. Create a new Google Account, they are free Forward the email to this account Open in Google Mail (GMail) and save it to your computer.
Score of 3
Accepted

How did the Marriott block wifi hotspots?

If you read the FCC release further it says: Marriott operates a Wi-Fi monitoring system manufactured by a third party that was installed at the Gaylord Opryland. Among other features, the ...
Score of 3

How to Block Doodle in Chrome's 'New Tab' page?

The only solution I've found so far is Blank New Tab Page extension It removes Google search bar from the new tab altogether. But I'm used to searching from the address bar using Alt+D anyway.
Score of 3
Accepted

Modern Browser with a feature to disable SNI

Recently firefox added ESNI support as an experimental feature. This means that on sites that support it (over TLS1.3), the browser will send encrypted server name during handshake. Many of the ...
Score of 3

How to disable / block / suppress a specific JavaScript (without disabling JS)

Install uBlock Origin Add filter to filters list: webpage.com##script:contains(...) Replace webpage.com with page you want. Raplece ... with text witch script contains, it may be function name or ...
Score of 3

How to block specific URL rather than the entire domain on a computer without software?

It’s not possible. To block an HTTP resource, you need a filter that understands HTTP. No such thing is built into Windows (or any other operating system). Indeed, with HTTPS (which Facebook uses) ...
Score of 3
Accepted

Is there a better way to mitigate this obscure color bug when piping to FINDSTR inside a parenthesized block of (.bat) code?

Building on an attempt by user vssher to answer the question (vssher deleted his/her attempt after it was found not to work right) I think I've found the best solution: place the FINDSTR command ...
Score of 3

Windows 10 - Blocking a Website in Hosts File

First, throughout your question, you refer to the file as host. Have you created a new file, rather than using hosts? If this was only a typographical error in the question, then try using the IP ...
Score of 3

Is there a way to find out if blocking is implemented by the website itself or my ISP?

You can use traceroute (tracert in windows) to partially determine where the blockage to a site is. This tool works by setting the TTL (time to live) in the packet to 1...n and sending it to get the ...
Score of 2

How to Block chrome://extensions/ URL?

Working as of March 11, 2023 on Version 111.0.5563.65 Use Chrome's URLBlocklist policy On Windows, the Registry key to block sites can be found under Software\Policies\Google\Chrome\URLBlocklist in ...
Score of 2

How did the Marriott block wifi hotspots?

The Gaylord Opryland Resort operated APs which would send 802.11 deauthentication frames with spoofed addresses, basically fooling client devices into thinking that they were disconnected from the Wi-...
Score of 2

McAfee is blocking Counter Strike 1.6

The file on the forum contains a non-licensed version of Counter Strike, so that's illegal. Actually, you should just buy the game from Steam, and be happy with it. It's about 10€. Sometimes, cracks ...
Score of 2

How to block distracting websites using hosts file while on a VPN?

Using a VPN basically bypasses the hosts file completely. Since all the traffic is encrypted, Windows doesn't know if you access Twitter. Check your VPN software for a blocking option.
Score of 2

How do I block traffic to "evaluated" IPs without using a separate DNS?

We can try this link which talked about Block or Redirect specific Websites in windows hosts file. [https://www.online-tech-tips.com/computer-tips/edit-windows-hosts-file-to-block-redirect-websites/][...
Score of 2

What is Google Chrome's block/allow pattern syntax?

I initially had the same behavior but [*.]example.com is the correct syntax and it works, after i have copy and paste the adress from HERE Now i can use every url, maybe it's a bug.
Score of 2

How do I block traffic to "evaluated" IPs without using a separate DNS?

Method 1 Ping the domains which you want to block to get their IP addresses, and then follow these steps: Open Windows Firewall from the Control Panel; Select Advanced Settings; On windows 10 just ...
Score of 2

Block all ports except SSH/HTTP in ipchains and iptables

Using ufw to block everything by default but allow ssh and http/https: sudo ufw default deny incoming sudo ufw default deny outgoing sudo ufw allow 22 sudo ufw allow 80 sudo ufw allow 443 sudo ufw ...
Score of 2

Block mobile.twitter.com using etc/hosts

As @davidgo pointed out in the comments, you just need to clear all the cache data from your browser (if it's Chrome, just press Ctrl + Shift + Delete) but your host file is alright. After clearing ...

Only top scored, non community-wiki answers of a minimum length are eligible