Comments (10)
Okay I just learned this was actually fixed a little bit ago and reverted since it was causing issues. In the meanwhile, is there any way for me to use my own custom rules that dont require me to host the rules file online?
from rules.
Can you export your ClearURLs settings and attach them to the issue or email me to support (at) clearurls.xyz
from rules.
Not sure if this is a prefect solution, but you could host a local server on your device (i.e. with sudo python3 -m http.server
) and then subscribe to the rules from http://localhost:8000/rules.txt
from rules.
no dice. I can access the file in the browser when I host it like that, but the addon seems to ignore my custom ruleset
from rules.
You must also provide a valid SHA256 hash of the rules file. See https://docs.clearurls.xyz/1.22.0/specs/rules/ for more information.
from rules.
Still no dice. I even made the hash file the same way as the gitlab generates it: sha256sum data.minify.json | awk '{print $1}' > rules.minify.hash
I've verified it even outputs the same hash on an existing rules file as the gitlab artifacts.
from rules.
from rules.
@KevinRoebert I've created a pull request. I didn't test it because it's quite annoying that it requires a sha256 hash file to work which seemed to be too much work for such a small change.
from rules.
@amalic The rule for the t
parameter was intentionally removed. This field is also used for URLs in emails sent by Twitter – e.g. to reset the password.
See also https://docs.clearurls.xyz/1.22.0/further_readings/excluded_fields/ and https://gitlab.com/ClearURLs/rules/-/merge_requests/21 for more information.
from rules.
@rrerrptile
I've found the error. Your data.minify.json
has a new-line at the end of the file. Thus, the SHA256 hash does not match. If you remove the new-line at the end of the file, everything will work.
from rules.
Related Issues (20)
- Please remove contentpass.net from roules
- Add rule for instagram HOT 1
- Add a rule for 1fichier.com HOT 2
- Not working on a particular website HOT 2
- Search suggestions doesn't work on https://cn.bing.com
- Add rule for komoot share_token
- Breaks Swedish eID setup HOT 1
- Add VigLink
- Facebook `mibextid` HOT 1
- Some parameters are not blocked HOT 2
- Google urls not completely cleaned HOT 3
- Add x.com to twitter rules HOT 1
- [Candidate] YouTube `si` HOT 2
- ?share_id=
- Feature (?): Remove url `slug` to further shorten url HOT 2
- I think it is time to fork this extension to have updates... HOT 5
- remove "?sp_csd" from Amazon.de Links
- Remove go.corsair.com links and target.georiot.com links
- Unable to remove utm_source from these links
- Add Rules For douyu.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules.