Giter Club home page Giter Club logo

Comments (46)

reek avatar reek commented on June 19, 2024 8

Hi guys

I'm back :-)

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 7

Ah, got it. Yeah, there will be a possibility to add custom userscripts by url, not just use some pre-defined.

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 6

@Nick-White of course you will:)

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 3

@ameshkov I agree w/ @Bluscream: @reek, as a maintainer of a (rather important ;) builtin list needs full access to wherever his list might be used, so ß license might useful to him across the platforms… unless @AdguardTeam would like to try to fix/workaround in-house. 😓

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 3

@ameshkov Still, #%#(function gives us a little something to play with in the user filters while waiting.

Any1 want to join me experimenting? The example I link to above is a rough-&-dirty implementation of #1436. It exhibits some JS injection to potentially block reading a hardware sensor. 🙇

The simplest userscript I'd like is the www.Amazon.com → smile.Amazon.com conversion, but, looking through the source of several addons/extensions, they involve window.location, tab.url, or chrome.webrequest. Whaddy'all think? Could these be converted successfully?

from adguardforandroid.

vozersky avatar vozersky commented on June 19, 2024 3

we might think about it after we finish Core Libs integration for all the platforms

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 2

Just to confirm, this will be userscripts subscription, not just static userscripts, right? Or both, just like user filters will be implemented?

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 2

This is good news, thank you!:)

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 2

Just a thought: Shouldn't this also allow us to do URL conversions of other types, e.g., http://www.Amazon.com/https://smile.Amazon.com/ or more advanced sorcery à la HTTPS Everywhere?

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 2

Hi, any good news about this very cool feature?

Good news is that we're in process of transition to the single cross-platform filtering engine (codename CoreLibs). AG for Android v2.10 is already partly transitioned, but there's a lot more to do. Once we finish with all the products transition, they will share common functionality.

Regarding the userscripts support, it's not enough to just execute a JS script as script hosts provide an API.

Off-topic: it becomes even more complicated given the changes in userscripts API brought by Greasemonkey 4: https://www.greasespot.net/2017/09/greasemonkey-4-for-script-authors.html
Basically, he decided to implement completely new API that is not backwards-compatible.

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 2

They're mostly Chrome extensions and not userscripts so direct conversion's not possible :(

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 2

@TPS something like that for instance?

amazon.com#%#if(window.location.host === 'amazon.com' || window.location.host === 'www.amazon.com') { window.location.host = 'smile.amazon.com'; }

Don't forget to enable HTTPS filtering on amazon.com

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024 2

screenshot_20171022-171532

There needs to be a better way to find something here than scrolling and scrolling and scrolling

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 1

No, filter subscription is different thing, it will be covered in version 2.3.

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

Nono, I mean, like the filter subscriptions that will be covered in v2.3, I'm hoping the userscripts' enhancement will include userscripts subscriptions as well, not just static userscripts.

from adguardforandroid.

Nick-White avatar Nick-White commented on June 19, 2024 1

+1 I hope you will be able to specify custom userscripts from files too (not just public URLs) because I have tons of them.

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024 1

I totally second this, would ♥ to see it soon :)

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024 1

Mostly AAK and ads.fly bypasser and some other stuff like Github Dark Script and other userscript versions of userstyles to save my eyes when browsing the web from my tablet in my bed.

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 1

AAK looks abandoned, though.

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024 1

It doesn't to me. Whenever i wrote a issue it was resolved within 3-4 days :)

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

@ameshkov @Bluscream @Reek's back, so this is as important as ever. 😃

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

2 more relatively popular projects that need this are https://github.com/adsbypasser/adsbypasser & https://github.com/handyuserscripts/antiadware.

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

Welcome back, friend! ☺

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024 1

@ameshkov give this poor guy a beta license reek/anti-adblock-killer#1883 (comment) xP

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024 1

Any news on this?

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

@Bluscream "this" which?

The main issue is milestoned for v4.0, so I don't expect anything on that front yet.

Though I'd like to know if @reek got his ß access yet. (He's 👍ed above, too, BTW.)

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 1

Though I'd like to know if @reek got his ß access yet. (He's 👍ed above, too, BTW.)

Not yet, but I am ready to provide it at any time. @reek if you need access to any AG premium product, just email me to am @ adguard.com

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

Another project that'd benefit from this is (based on AdguardTeam/AdguardForWindows#1609) @jspenguin2017's AdBlockProtector https://gitlab.com/xuhaiyang1234/AAK-Cont, based on @reek's work, & consists of a blockscript & a filterset (which I request @AdguardTeam consider for inclusion).

Also, I forgot https://github.com/AdguardTeam/AdguardAssistant, of course! That's apparently build-scripts of some sort.… 🤦

from adguardforandroid.

jspenguin2017 avatar jspenguin2017 commented on June 19, 2024 1

@TPS Hi, thanks for the hard work of everyone here 😄
But unfortunately, we are currently dropping support of most proprietary softwares, step by step, except softwares from Google and Microsoft. My project may not stay as Userscript forever, or it may become an Userscript with custom extended API.

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

@jspenguin2017 Will filterset remain publicly accessible, @ least?

from adguardforandroid.

jspenguin2017 avatar jspenguin2017 commented on June 19, 2024 1

@TPS Everything will stay open source and publicly accessible, there is no worries about that 😄

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

Unrelated to AdBlockProtector, https://greasyfork.org/en/scripts/19993-ru-adlist-js-fixes/code (from gorhill/uBlock#2609 (comment)) seems like a fascinating thing to try, as well.

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

Just a thought: Shouldn't this also allow us to do URL conversions of other types, e.g., http://www.Amazon.com/ → https://smile.Amazon.com/ or more advanced sorcery à la HTTPS Everywhere?

@ameshkov Could #%#(function be used to effect this? Are there any docs about it &/or is this just straight (unsafe⁉️) JS?

from adguardforandroid.

trmdi avatar trmdi commented on June 19, 2024 1

Hi, any good news about this very cool feature?

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024 1

Nothing so far sadly, but the UI rehaul had priority.

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024 1

@ameshkov Could #%#(function be used to effect this? Are there any docs about it &/or is this just straight (unsafe⁉️) JS?

It is straight JS and that's why we limit those rules to AG filters only and not accept them from any third-party filters.

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024 1

Ok, how about all these? They mostly use window.location.* & location.href.*. Some of these could possibly be converted? Would any of these rewrite any initial requests before loading a Non-Smile www.Amazon page?

from adguardforandroid.

vbagirov avatar vbagirov commented on June 19, 2024 1

@byaka the latest AdGuard for Android beta already supports custom userscripts, soon enough it'll be added to release version.

from adguardforandroid.

Bluscream avatar Bluscream commented on June 19, 2024

How far are we away from the 4.0? :'(

from adguardforandroid.

ameshkov avatar ameshkov commented on June 19, 2024

Pretty far:(

Btw, which exact userscripts do you want to have in Android?

from adguardforandroid.

TPS avatar TPS commented on June 19, 2024

@Bluscream I think that @ameshkov means that last commit was July 6, 2016. Even so, @ameshkov, this is fundamental for AAK's functionality.

Hey, @reek, are you still with us? 😟

from adguardforandroid.

ministr91 avatar ministr91 commented on June 19, 2024

какие новости?

from adguardforandroid.

byaka avatar byaka commented on June 19, 2024

yep, any news about this?

from adguardforandroid.

byaka avatar byaka commented on June 19, 2024

looks like you thinked and denied? maybe any comments?

from adguardforandroid.

byaka avatar byaka commented on June 19, 2024

@vbagirov ah, awesome, thx!

from adguardforandroid.

driversti avatar driversti commented on June 19, 2024

Guys, I'm so happy to get the version 3.2 this morning! This feature made my day! Thanks a lot to all of you ❤️

from adguardforandroid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.