Categories
General Technology

Microsoft Edge – How to Block Ads

I posted this on Reddit, but I figured it deserved an entry to the blog as well. Here it is:

I wanted to say Adblock here, but since it isn’t a specific way to get adblock on the browser yet. I am here to offer an additional solution that I’m finding to be suitable for the time being.

It dawned on me that the hosts file could be used to block unwanted sites from displaying content by setting hosts to 0.0.0.0 in the hosts file at C:\Windows\System32\drivers\etc . It turns out I’m not alone in this. This site here provides an updated text file that can replace your hosts file.

http://winhelp2002.mvps.org/hosts.htm

I’m not affiliated with them in any way, more of just sharing my journey to block ads – a crucial reason I wasn’t using Microsoft Edge.

Here is the direct link to the txt file itself:

http://winhelp2002.mvps.org/hosts.txt

As always, hope this helps.

Peace.

Categories
General Technology

IIS 7 Logging

This morning I found a nice little command line switch that tells the IIS 7 log buffer to write to the file on disk.  This is especially handy, since getting a log to write for SEO and log processing purposes can be a serious bitch if you don’t have a file written to!

Here is that command:

netsh http flush logbuffer

Other commands associated with the HTTP portion of netsh are all documented on MSDN Technet here, http://tr.im/NDmZ. Comes in pretty damn handy with IIS 7 and Windows Server 2008.

Good luck.