AdguardTeam / DisableAMP

Disable AMP userscript
GNU Lesser General Public License v3.0
109 stars 6 forks source link

Adguard program for Android not blocked Turbo-pages Yandex #49

Closed biomednet closed 3 years ago

biomednet commented 3 years ago

Андроид 11, AdGuard 4.0 nightly 23 (64) программа, локальный VPN (без рута). Не блокирует (не "вычищает") переходы на турбо-страницы Яндекса. Браузер Samsung Browser (стабильная версия). Скрипт против AMP не работает. AdGuard Extra включен.

Android 11, program AdGuard 4.0 nightly 23 (64) non-root, local VPN. Not blocked redirect to yandex-turbo pages. Browser Samsung Browser (stable). Inclusion of the script anti-AMP and AdGuard Extra has no effect.

d0x360 commented 3 years ago

I've been trying to figure out a way to block amp forever. I've used my own scripts, user rules... Nothing works.

That's a lie... I got it to work with a single website but that's it

biomednet commented 3 years ago

В версии AdGuard nightly 23 (64) проблема решена частично. Сначала загружается турбо-страница Яндекса, потом происходит редирект на родную страницу сайта. Надеюсь, что в будущем сразу будет загружаться родная страница, без редиректа.

In the version of AdGuard nightly 23 (64), the problem is partially solved. First, the Yandex turbo page is loaded, then there is a redirect to the native page of the site. I hope that the native page will load immediately in the future, without a redirect.

d0x360 commented 3 years ago

I just updated to the latest nightly so I can't wait to play around with it and see how it goes

Alex-302 commented 3 years ago

@tvinzz Глянешь?

d0x360 commented 3 years ago

Well I tested it in every way I could think and it did nothing. I don't understand... It's supposed to strip whatever you say from a url but it can't even do the simple "/amp"

tvinzz commented 3 years ago

@biomednet, @d0x360 Please, check the latest version of Disable-AMP (v1.0.23) and AdGuard (v4.0 nightly 24). Works fine for me on Android in Chrome browser for disabling amp links and redirecting turbo pages.

d0x360 commented 3 years ago

That's the version I'm running. Where is it stripping amp out? Is it just search results or is it working on Google now's news feed as well?

tvinzz commented 3 years ago

@d0x360, yes, I checked right now, google news as well.

d0x360 commented 3 years ago

Well wth... I'm even on a new phone so it's the perfect testing ground.

I just can't get rid of amp and it's driving me insane.

Do you have any user rules for amp?

tvinzz commented 3 years ago

@d0x360, no, unfortunately, just user rules are not enough to disable amp. We will test Disable-AMP userscript more carefully to detect problem. Could you please provide few amp links you are visiting.

d0x360 commented 3 years ago

Here are a few from the Google now feed.

https://www.gamespot.com/amp-articles/halo-mccs-next-beta-includes-a-file-share-system-improved-custom-games-browser/1100-6495713/

https://www.forbes.com/sites/paultassi/2021/08/30/destiny-2s-season-of-the-lost-had-a-truly-wild-first-week/amp/

https://www.androidpolice.com/2021/08/30/apps-from-amazon-and-whatsapp-hit-500-million-installs-on-the-play-store/?amp

https://www.phonearena.com/amp/news/galaxy-fold-3-drop-test-destruction-how-much-can-it-survive_id134655

https://www.dsogaming.com/mods/red-dead-redemption-2-gets-an-ai-enhanced-hd-texture-pack-that-improves-all-weapons/amp/

Hopefully that helps. I made a user rule to remove /amp/ but it never worked except oddly on techradar.com

I'm getting the links from this page in android (next post)

d0x360 commented 3 years ago

Sorry for the double post, I made the last one via email.

Screenshot_20210830-181558_Nova7

tvinzz commented 3 years ago

@d0x360 You are welcome to try 1.0.24 dev version of Disable-AMP userscript disable-amp.beta.zip

tvinzz commented 3 years ago

Disable-AMP v1.0.24 released

d0x360 commented 3 years ago

I'll give it a shot and report back, thanks

On Tue, Aug 31, 2021, 10:34 AM tvinzz @.***> wrote:

Disable-AMP v1.0.24 https://userscripts.adtidy.org/release/disable-amp/1.0/disable-amp.user.js released

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/DisableAMP/issues/49#issuecomment-909295869, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLH3GOIMEMICSNN7GW4YOLT7TSAVANCNFSM5CSX3WZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

d0x360 commented 3 years ago

Ok so it does definitely work better. It removed amp from most things I tested. One link that it didn't work on is the following...

https://www.ign.com/articles/cyberpunk-2077-modders-hired-cd-projekt-various-projects?amp=1

Other than that it worked on everything in my Google now feed. I didn't refresh the page to check more links because I have a meeting in a couple min but this is definitely a huge improvement over the previous revision.

tvinzz commented 3 years ago

@d0x360, thank you, it will be fixed soon in v1.0.26

d0x360 commented 3 years ago

My pleasure, if I can help make Adguard better even in a small way it makes all the time I spend in the app tweaking and writing rules to test worth it... Although my wife might disagree 😜

On Wed, Sep 1, 2021, 1:24 PM tvinzz @.***> wrote:

@d0x360 https://github.com/d0x360, thank you, it will be fixed soon in v1.0.26

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/DisableAMP/issues/49#issuecomment-910495214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLH3GII2AX6ACNIDDKOUL3T7ZOV7ANCNFSM5CSX3WZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

tvinzz commented 3 years ago

Disable-AMP v1.0.26 released. Fixed amp redirect for links like https://www.ign.com/articles/cyberpunk-2077-modders-hired-cd-projekt-various-projects?amp=1. I'm closing this issue. If the problem occurs again, please feel free to reopen.