Special thanks to YOU, Bruce! You implemented an entire new source parser based on my bug report. That's amazing! Thank you so much for working on this critical app. Can't wait to try this update out when it arrives on F-Droid.Changelog:
- Add new unique source parser with parallel processing
Special thanks to andy356, fusionneur and sr1canskhsia for their bug reports.
For adding new host lists in bulk, I have used the import JSON file.Feature Suggestion
Automating the addition of new hosts sources/user rules
Currently you have to add every new hosts source, or rule by hand by copying the link and then pasting it into the settings in AdAway.
This requires you to go through multiple screens until you are inside the respective menu inside AdAway and can add a new rule.
If you visit a lot of sites that you want to support by allowing ads, the ~20-30 seconds needed to copy & paste the link everytime will add up really fast and make it annoying to add exceptions. This reduces the chance that a user adds a website to their exceptions a lot.
Here's my suggestion:
The task could be automated through the android share menu.
When a link is shared with AdAway (or if turned on, the pop-up is clicked after a link is added to the clipboard) it opens AdAway (or just a pop-up if draw over other apps permission is granted and shows a screen where you can pick whether you want to add the URL to your blocking, or your exceptions list. Then the app takes you back to your browser (or whatever app you were using before) and applies the new settings in the background.
This could also be implemented by adding multiple shortcuts to the share menu, so that the app doesn't even need to be opened to add the new rule.
This would reduce the required amount of taps & time by a ton. Instead of 14 taps & ~20-30 seconds (press on URL bar, long press link, copy link, home, app drawer, adaway, exceptions, plus button, hold for paste, paste, add, apply settings, recent apps, last used app) it would take only 4 clicks (3 if multiple shortcuts are added) and a couple of seconds (three dots menu, share, AdAway, select hosts source/positive or negative rule).
Optionally you could also add the ability to force close and reopen the last used app, so that you can continue browsing with the new settings applied without having to reboot the device, or force close & reopen the app manually, which also takes a lot of clicks.
This could be implemented by adding a box that you can tick, or a second button, so that you can always choose wether you want to force close or not using a single click. The button could have a different icon to make it easily distinguishable from the regular button.
It could look like this (pop-up after you tap on AdAway on Android share menu):
[Add as hosts source] (plus icon) (reload icon)
[Add as positive rule] (plus icon) (reload icon)
[Add as negative rule] (plus icon) (reload icon)
I would love to hear feedback on this idea and I would love seeing it implemented inside the app one day even more.
You want to add ten or hundred hosts to the block list?For adding new host lists in bulk, I have used the import JSON file.
As for restarting the last used app, if you are using Magisk systemless hosts, then restarting the last used app wont do it. You have to reboot your device.
It wasnt me that had the question,. and the poster who did ask the question, explicitly said host sources, not individual hosts.You want to add ten or hundred hosts to the block list?
Create your own file e.g. myBlockedList.txt with the same format as online hosts file:
Then go to the Hosts sources list, + to add new one, and instead of URL click to File, and navigate to your file
Apply and voila
See the screenshots, observe that instead of https://, this is now content:// type
Its ALL been answered before, including the hosts in a file you spoke of. I know this, because I was part of the conversation before it was an option built into AdAway, and presented and tested a work around that worked. My response was specific to HIS specific question.. I do not understand where you are going.Hosts sources through json already answered
Its ALL been answered before, including the hosts in a file you spoke of. I know this, because I was part of the conversation before it was an option built into AdAway, and presented and tested a work around that worked. My response was specific to HIS specific question.. I do not understand where you are going.
I repeat, i was answering a specific question, specifically.No, it's not all been answered. You only focused on the way less important part (the hosts) and left out the most important stuff: the user defined rules. Those are what have to be added over and over again. Once you have added a bunch of host sources when you set up the app you don't need to add many new sources or individual urls anymore. Yeah you may encounter a URL which is not included in any of your hosts lists, but that's very rare, especially if you have added a lot of hosts sources which get updated very frequently.
But you have to add new sites to your custom rules every single time your browsing and visiting new websites you want to support.
Is there any talk within the community of a OEM boot loader bypass for US Carriers, dealing with Samsung devices at all?typo. if you have no root, you can only use vpn. I know you understand, as your first sentence shows.
I wish you the very best. Please really follow the advice of your doctor! Real life comes very first!On a personal note, I will take few weeks off the project as my doctor ask me to do because I suffer from burnout.
Take care @PerfectSlayer ! Everything is nothing without health (I know what I'm talking about).Hi all,
Here is a quick update that improves the app update screen, validates domain redirection and fixes a crash with VPN using IPv6 DNS. Nothing exceptional but it is always welcome.
On a personal note, I will take few weeks off the project as my doctor ask me to do because I suffer from burnout.
Tested with the local Allowed file, working fine - thanksHi all,
I hope your are all going well.
I get a new version for you that addresses a long running issue: being able to allow hosts from your sources!
For this occasion, I reworked the source UI in order to select the type of list you use:
Here is the result:
- Block list (ie hosts file, so an IP than a hostname per line)
- Allow list (a hostname per line)
View attachment 5252635
I got some other bugs fixed too, like TLS issue with web server thanks to the new mongoose version and a no internet connection issue on source update check when the application can't check any last modified date.
On top of that, I merged more than a hundred PR of translations. So thanks to all the translators!
I also had a sixth GitHub sponsor yesterday and I enjoy to read all your nice words in the donation comments. Thanks a ton for your support! ❤
- Add allow list support
- Improve source edition UI
- Improve source update check
- Improve animations
- Update mongoose web server
- Update dependencies
- Fix web server TLS issue
Special thanks to gallegonovato, jawz101 and zgfg for their bug reports.
GitLab, like GitHub do not set LastModified HTTP header so update status is not supported... yet!Is anyone using a hosts list hosted on Gitlab? It keeps showing "Unknown update status".
It works well here. I failed to reproduce as I change the HTTP client library and how I use it.Hmm, not working for me for this URL, v4.1.0 shows something like not updated in -360 days (some large negative value). Can you please see if you can reproduce?
Not really. You could choose a lot of different mode.All the F-Droid apps I know of have manual push updates to the store.
Isn't automatic build basically for nightlies?
Thank you so much! :highfive:I exist still... do you know what i have to do to transfer ownership? if i edit project it doesn't let me change the primary author so i assume i have to PM some higher up to make this happen?
Thank you too!