Hi everyone,
I am trying to block ads in an android webview. The think that , i dont only show one website, so i am not able to block ads from a JavaScript injection.
Adblock is so useful , and I believe there should be a adblock library which will block ads in a webview.
Can anyone help me ?
Regards
block ads in a webview
Re: BLOCK ADS IN A WEBVIEW
Hey Ekrem!
Thanks for reaching out to us.
Could you send us a screenshot of the ads you are not able to block and the link of the website?
Also, what is your device and Android version?
Hope to be able to help.
Thanks for reaching out to us.
Could you send us a screenshot of the ads you are not able to block and the link of the website?
Also, what is your device and Android version?
Hope to be able to help.
Re: BLOCK ADS IN A WEBVIEW
I believe this is something for the Adblock Plus app, rather than the Adblock Browser, which does not filter ads in other apps.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Re: BLOCK ADS IN A WEBVIEW
First of All ,Thank you for your answers.
I am building my own app, and in that app i wanna block ads. There was a misunderstanding, sorry for that , my bad...
I am building my own app, and in that app i wanna block ads. There was a misunderstanding, sorry for that , my bad...
Re: BLOCK ADS IN A WEBVIEW
Hey Ekrem!
Could you send us the info from the previous message
Thanks!
Could you send us the info from the previous message
Thanks!
Re: BLOCK ADS IN A WEBVIEW
Hi Rach,
Thank u for your post.
But i guess, i couldn't explain
In an android Webview, i am showing websites. Not only one specific, but any websites. Normally in a browser, or Adblock browser it will be blocked. But I need to block ads in my application by embed adblock library file in the project. So what I thought, there might be a adblock jar library file that i can use it in the application.
Regards
Thank u for your post.
But i guess, i couldn't explain
In an android Webview, i am showing websites. Not only one specific, but any websites. Normally in a browser, or Adblock browser it will be blocked. But I need to block ads in my application by embed adblock library file in the project. So what I thought, there might be a adblock jar library file that i can use it in the application.
Regards
Re: block ads in a webview
I don't think there's a .jar file, but if you know how to make one from the Adblock Browser source code, dig in: https://hg.adblockplus.org/adblockbrowser/file
It's probably not helpful, because the Adblock Browser for Android is based on Firefox, rather than using a typical WebView.
It's probably not helpful, because the Adblock Browser for Android is based on Firefox, rather than using a typical WebView.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Re: block ads in a webview
I see lewisje,
I hope one day we will have a library by Adblock.
It will be so useful for programmers
I hope one day we will have a library by Adblock.
It will be so useful for programmers