Skip to content

Adobe URL Block List - Enable

config/tweaks.json
1069  "WPFTweaksBlockAdobeNet": {
1070    "Content": "Adobe URL Block List - Enable",
1071    "Description": "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
1072    "category": "z__Advanced Tweaks - CAUTION",
1073    "panel": "1",
1074    "InvokeScript": [
1075      "
1076      $hostsUrl = Invoke-RestMethod -Uri https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts
1077      Add-Content -Path \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" -Value $hostsUrl
1078
1079      ipconfig /flushdns
1080      Write-Host 'Added Adobe url block list from host file'
1081      "
1082    ],
1083    "UndoScript": [
1084      "
1085      Set-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" (
1086          (Get-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\") -join \"`n\" -replace '(?s)#New Ver.*', ''
1087      )
1088
1089      ipconfig /flushdns
1090      Write-Host 'Removed Adobe url block list from host file'
1091      "
1092    ],