-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Youtube #54
Comments
Hi |
In BrowserWindow.java add this:
|
Actually, it is only against Youtube's terms of service to download from
Youtube.
It is not 'illegal'.
All this means to you is that any app that does allow downloading from
there will not be allowed onto the Google Play Store, because Youtube is
owned by Google.
There are various other apps that are legal that allow downloading from
Youtube, they are just not on the Play Store.
Grant Ryan Swan
(puppykicker)
…On Thu, Nov 26, 2020, 14:14 Rajesh Bedi ***@***.***> wrote:
In BrowserWindow.java add this:
@OverRide <https://github.com/override>
public void onPageStarted(final WebView view, final String url, Bitmap
favicon) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@OverRide <https://github.com/override>
public void run() {
TextView urlBox = BrowserWindow.this.view.findViewById(R.id.urlBox);
if(url.contains("youtube")){
Toast.makeText(getActivity(), "Sorry can not open this link!",
Toast.LENGTH_SHORT).show();
getActivity().finishAffinity();
}else{
urlBox.setText(url);
BrowserWindow.this.url = url;
}
}
});
loadingPageProgress.setVisibility(View.VISIBLE);
setupVideosFoundHUDText();
super.onPageStarted(view, url, favicon);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWIG733DK5ZXXRM7NZMI33SR2SHRANCNFSM4H2RJBEQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to completely remove youtube. that this downloader can't download from youtube
The text was updated successfully, but these errors were encountered: