-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 50f3a68
Showing
10 changed files
with
3,867 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# AGLint config file | ||
# Documentation: https://github.com/AdguardTeam/AGLint#configuration | ||
root: true | ||
extends: | ||
- aglint:recommended | ||
syntax: | ||
- Common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Update Adblock List Metadata | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update-metadata: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
# https://github.com/AdguardTeam/AGLint?tab=readme-ov-file#introduction | ||
- name: Run linting | ||
run: yarn aglint alexanderadam.txt | ||
|
||
- name: Update metadata | ||
run: | | ||
sed -i 's/! Last modified: .*/! Last modified: $(date +%Y-%m-%d)/' adblock.txt | ||
- name: Commit and push if changed | ||
run: | | ||
git config --global user.email "action@github.com" | ||
git config --global user.name "GitHub Action" | ||
git add adblock.txt | ||
git commit -m "Update metadata" || exit 0 # Exit gracefully if no changes | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"adguard.adblock" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"cSpell.words": [ | ||
"adblock", | ||
"adblocker", | ||
"adblockers" | ||
], | ||
"adblock.enableAglint": true, | ||
"adblock.packageManager": "yarn" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# 🛑 Alex's Adblock list | ||
|
||
Welcome to My Custom Adblock List! This repository hosts a curated list of adblock rules designed to enhance your browsing experience by blocking ads, trackers, and other unwanted web content. | ||
|
||
This will also intentionally block some newsletter forms, popups, "also read" sections, and other annoying elements on websites. | ||
This list aims to provide a cleaner, faster, and more enjoyable browsing experience. | ||
|
||
## Features | ||
|
||
- **Comprehensive Blocking**: Targets a wide range of ads and trackers for a cleaner browsing experience. | ||
- **Easy to Use**: Easily integrate with popular adblockers like [uBlock Origin](https://ublockorigin.com/). | ||
|
||
## Installation | ||
|
||
To use this adblock list with [uBlock Origin](https://ublockorigin.com/) or a compatible adblocker, [follow these steps](https://github.com/gorhill/uBlock/wiki/Dashboard:-Filter-lists#adding-manually): | ||
|
||
1. Open your adblocker's dashboard. | ||
2. Navigate to the "Filter lists" tab. | ||
3. At the bottom, find the "Import..." option and click it. | ||
4. Paste [the following URL](https://raw.githubusercontent.com/alexanderadam/adblock_list/main/alexanderadam.txt) into the text box and apply changes: | ||
|
||
``` | ||
https://raw.githubusercontent.com/alexanderadam/adblock_list/main/alexanderadam.txt | ||
``` | ||
|
||
## Contributing | ||
|
||
Contributions to improve the adblock list are welcome! If you have suggestions or want to add new rules, please follow these steps: | ||
|
||
1. [Fork the repository](https://github.com/alexanderadam/adblock_list/fork). | ||
2. Create a new branch (`git checkout -b feature/YourFeature`). | ||
3. Commit your changes (`git commit -am 'Add some feature'`). | ||
4. Push to the branch (`git push origin feature/YourFeature`). | ||
5. Open a new Pull Request. | ||
|
||
## Acknowledgments | ||
|
||
- Thanks to everyone who has contributed to this project! | ||
- Special thanks to the uBlock Origin team for their fantastic ad-blocking tool. | ||
|
||
Enjoy a cleaner, faster web browsing experience with this curated list! |
Oops, something went wrong.