mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-03-12 17:51:46 +08:00
1.1 KiB
1.1 KiB
title, description
| title | description |
|---|---|
| Adobe Network Block |
"WPFTweaksBlockAdobeNet": {
"Content": "Adobe Network Block",
"Description": "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
"
$hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\"
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
Move-Item $hosts \"$hosts.bak\"
Invoke-WebRequest $hostsUrl -OutFile $hosts
ipconfig /flushdns
Write-Host \"Added Adobe url block list from host file\"
"
],
"UndoScript": [
"
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
Remove-Item $hosts
Move-Item \"$hosts.bak\" $hosts
ipconfig /flushdns
Write-Host \"Removed Adobe url block list from host file\"
"
],