Skip to content

Adobe URL Block List - Enable

config/tweaks.json
1027  "WPFTweaksBlockAdobeNet": {
1028    "Content": "Adobe URL Block List - Enable",
1029    "Description": "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
1030    "category": "z__Advanced Tweaks - CAUTION",
1031    "panel": "1",
1032    "InvokeScript": [
1033      "
1034      $hostsUrl = Invoke-RestMethod -Uri https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts
1035      Add-Content -Path \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" -Value $hostsUrl
1036
1037      ipconfig /flushdns
1038      Write-Host 'Added Adobe url block list from host file'
1039      "
1040    ],
1041    "UndoScript": [
1042      "
1043      Set-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" (
1044          (Get-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\") -join \"`n\" -replace '(?s)#New Ver.*', ''
1045      )
1046
1047      ipconfig /flushdns
1048      Write-Host 'Removed Adobe url block list from host file'
1049      "
1050    ],