Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Commit

Permalink
Add a script to block ads
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandonbr1 authored Mar 20, 2022
1 parent 3b36fd7 commit b3885ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Individual Scripts/block-ads.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$content= Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/Brandonbr1/ad-list-hosts/main/host'
$file = "$env:windir\System32\drivers\etc\hosts"
$content | Add-Content -PassThru $file

0 comments on commit b3885ee

Please sign in to comment.