Skip to content

Commit

Permalink
Package download adblockplusie
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Mar 30, 2024
1 parent 7cc28f3 commit d001e0e
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
26 changes: 26 additions & 0 deletions automatic/adblockplusie/adblockplusie.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>adblockplusie</id>
<version>1.4</version>
<title>Adblock Plus for Internet Explorer</title>
<authors>Wladimir Palant</authors>
<owners>dtgm</owners>
<licenseUrl>https://gnu.org/licenses/gpl.html</licenseUrl>
<projectUrl>https://adblockplus.org/en/</projectUrl>
<iconUrl>https://cdn.rawgit.com/dtgm/chocolatey-packages/dd7121af88611d4f92e29187d065ba9a0fcaedeb/icons/adblockplusie.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Adblock Plus lets you block annoying ads, tracking, malware and other things you may not want in your browser.

Adblock Plus itself has no functionality, in the sense that it does not block anything until you "tell" it what to do by adding filter lists. These filter lists are essentially an extensive set of rules, which tell Adblock Plus which elements of websites to block. You can add any filter list you want, for example to block tracking or malware. You can also create your own filter lists.

[Documentation](https://adblockplus.org/en/documentation)
[Acceptable Ads FAQ](https://adblockplus.org/en/acceptable-ads)
[Privacy Policy](https://adblockplus.org/en/privacy)
[Source code](https://hg.adblockplus.org/adblockplusie/)</description>
<summary>Block internet advertisements in Internet Explorer</summary>
<releaseNotes>[Changelog](https://hg.adblockplus.org/adblockplusie/log)</releaseNotes>
<copyright>© 2006 Wladimir Palant, 2011 Eyeo GmbH</copyright>
<tags>ie ad-blocker extension add-on</tags>
</metadata>
</package>
21 changes: 21 additions & 0 deletions automatic/adblockplusie/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
$packageName = 'adblockplusie'
$installerType = 'msi'
$silentArgs = '/quiet /qn /norestart'
$url = 'https://downloads.adblockplus.org/adblockplusie-1.4-x86.msi'
$checksum = '1e602a153eae9e68767861f8bc75fb175367addc'
$checksumType = 'sha1'
$url64 = 'https://downloads.adblockplus.org/adblockplusie-1.4-x64.msi'
$checksum64 = '4d829e032709874141652183d3451c547f769fc0'
$checksumType64 = 'sha1'
$validExitCodes = @(0)

Install-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$silentArgs" `
-Url "$url" `
-Url64bit "$url64" `
-ValidExitCodes $validExitCodes `
-Checksum "$checksum" `
-ChecksumType "$checksumType" `
-Checksum64 "$checksum64" `
-ChecksumType64 "$checksumType64"
18 changes: 18 additions & 0 deletions automatic/adblockplusie/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
$packageName = 'adblockplusie'
$packageSearch = 'Adblock Plus for IE'
$installerType = 'msi'
$silentArgs = '/quiet /qn /norestart'
$validExitCodes = @(0)
try {
Get-ItemProperty -Path @( 'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' ) `
-ErrorAction:SilentlyContinue `
| Where-Object { $_.DisplayName -like "$packageSearch*" } `
| ForEach-Object { Uninstall-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$($_.PSChildName) $silentArgs" `
-ValidExitCodes $validExitCodes }
} catch {
throw $_.Exception
}
Binary file added icons/adblockplusie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d001e0e

Please sign in to comment.