Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderadam committed Jul 1, 2024
0 parents commit 50f3a68
Show file tree
Hide file tree
Showing 10 changed files with 3,867 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .aglintrc.yaml
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
37 changes: 37 additions & 0 deletions .github/workflows/update_metadata.yml
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules

5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"adguard.adblock"
]
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
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"
}
41 changes: 41 additions & 0 deletions README.md
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!
Loading

0 comments on commit 50f3a68

Please sign in to comment.