View YouTube without ads

Moderator: Forum moderators

User avatar
MochiMoppel
Posts: 1239
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 440 times

Re: View YouTube without ads

Post by MochiMoppel »

Update see first post

I've added support for Dailymotion videos
Dailymotion is a video hosting service like YouTube. Though not as popular as YT, links to DM videos often appear in DuckDuckGo search results.

Links may look like this:
https://www.dailymotion.com/video/x7z81tt
or (when copied from Google search results):
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=video&cd=&cad=rja&uact=8&ved=2ahUKEwir1ebiqMr6AhWbat4KHXy2CEkQtwJ6BAgEEAI&url=https%3A%2F%2Fwww.dailymotion.com%2Fvideo%2Fx7z81tt&usg=AOvVaw32yv_rr_3MgPpfOJsFHZhx

The script will convert them to the embedded format
https://www.dailymotion.com/embed/video/x7z81tt?autoplay=1
(Click here to try above link)

There are also URLs that lead to playlists on the DM main site, e.g. https://www.dailymotion.com/playlist/x3fu94
Videos on such a playlist site can be played in the provided embedded player (or fullscreen), but converting them with the script makes it possible to play them in their own window.

Compared to YouTube's main site the DM site is light weight and runs without stress on Palemoon, even without ads (haven't seen any so far) . The DM player seems a bit heavier than the YT player and embedded videos tend to start slower and with less resolution.

User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

Re: View Youtube without ads

Post by gychang »

MochiMoppel wrote: Fri Oct 07, 2022 1:04 pm
gychang wrote: Sat Jan 29, 2022 2:01 pm

this is very useful, works great with invisible.svg (https://oldforum.puppylinux.com/search. ... isible.svg) to make the desktop icon invisible...

The link doesn't work.
You probably refer to this post: https://oldforum.puppylinux.com/viewtop ... 5#p1050605
I also have a lot of invisible icons on my desktops, consisting only of titles. I need them only for their keyboard shortcut functionality and seldom have to click them.

@MochiMoppel My link is bad!, your link is correct. Your scripts are very useful for my keyboard shortcuts I use often in puppy :thumbup2: .

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

geo_c
Posts: 2881
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2205 times
Been thanked: 878 times

Re: View YouTube without ads

Post by geo_c »

@MochiMoppel

This works great! Palemoon moon used to chug, sputter, and smoke trying to open a youtube link, now it just pops up instantly!

geo_c
Old School Hipster, and Such

User avatar
bugnaw333
Posts: 343
Joined: Wed Jul 20, 2022 11:04 pm
Location: Cebu, Philippines
Has thanked: 531 times
Been thanked: 69 times

Re: View YouTube without ads

Post by bugnaw333 »

@MochiMoppel

It works on EasyOS 4.4.1 :thumbup2:
Thanks.

bob93
Posts: 53
Joined: Fri Nov 25, 2022 8:29 am
Location: Fossapup64 9.5
Has thanked: 21 times
Been thanked: 1 time

Re: View Youtube without ads

Post by bob93 »

amethyst wrote: Sat Mar 20, 2021 1:25 pm
peppyy wrote: Sat Mar 20, 2021 1:14 pm

@amethyst I am using VLC 3.0.11 Vetinary according to the "About.

Okay, thanks.

Hi. Did you ever get it to work? I have VLC 3.0.9.2 and get this when trying to play a youtube url

Screenshot.png
Screenshot.png (18.08 KiB) Viewed 2087 times

And the log file says this

Screenshot(1).png
Screenshot(1).png (81.87 KiB) Viewed 2087 times

Fossapup64 9.5

User avatar
bugnaw333
Posts: 343
Joined: Wed Jul 20, 2022 11:04 pm
Location: Cebu, Philippines
Has thanked: 531 times
Been thanked: 69 times

Re: View YouTube without ads

Post by bugnaw333 »

sometimes by putting a hypen between (yout-ube) in the url will redirect you to (youtube-nocookie.com)

User avatar
amethyst
Posts: 2419
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 506 times

Re: View Youtube without ads

Post by amethyst »

bob93 wrote: Sun Dec 04, 2022 9:10 pm
amethyst wrote: Sat Mar 20, 2021 1:25 pm
peppyy wrote: Sat Mar 20, 2021 1:14 pm

@amethyst I am using VLC 3.0.11 Vetinary according to the "About.

Okay, thanks.

Hi. Did you ever get it to work? I have VLC 3.0.9.2 and get this when trying to play a youtube url
Screenshot.png

And the log file says this
Screenshot(1).png

No but I don't use VLC anymore so someone else may have better luck and help you.

bob93
Posts: 53
Joined: Fri Nov 25, 2022 8:29 am
Location: Fossapup64 9.5
Has thanked: 21 times
Been thanked: 1 time

Re: View Youtube without ads

Post by bob93 »

peppyy wrote: Sat Mar 20, 2021 12:31 pm

I copy the link and use VLC. Media tab - Open location from clipboard. Flawless playback for me.

Hi. Is VLC still working for you to play youtube?

Fossapup64 9.5

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: View YouTube without ads

Post by peppyy »

@bob93 I have been having issues with vlc so I have been using smplayer with mpv and smtube. Recently updated to 3.0.18 via a pet I found here.https://www.forum.puppylinux.com/viewto ... .18#p74181 That one however will not launch without starting it in terminal. Probably has to do with running as root.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

Double tabs on vivaldi!

Post by gychang »

First this script works very well in low powered pups. I am testing out F96-CE_4 frugally installed on fanless miniPC (fit-PC3 Pro). It is useable with this script since only significant issue I find is youtube video takes lots of resources and playing videos runs slow and gets warm. Anyway when I launch my desktop icon to bring up the video tab (I have vivaldi-portable (64bit) as default browser), I always get 2 tabs playing the same video). This seems to occur only in 64bit CE_4, since running Jammypup32 using the 32bit vivaldi portable, only a single tab is shown.

anyone know a fix for this in CE_4?

Attachments
Screenshot.png
Screenshot.png (85.05 KiB) Viewed 1626 times

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
pp4mnklinux
Posts: 1139
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 637 times
Been thanked: 284 times

Re: View YouTube without ads

Post by pp4mnklinux »

3 DAYS AGO.-

https://www.tomsguide.com/news/youtube-is-going-to-stop-you-using-ad-blockers-heres-how

YouTube is testing a new tool that will prevent the use of ad-blocking software and applications while watching videos. Yes, the day many feared has finally arrived, the juggernaut video-sharing website is now taking steps to block ad blockers.

The ad blocker block was first spotted by a Reddit user(opens in new tab) who received a pop-up notification while trying to access YouTube with an ad blocker enabled. The message reads: “Ad blockers are not allowed on YouTube” and notes that “ads allow YouTube to stay free for billions of users worldwide” ending with a suggestion to sign up for a paid YouTube Premium subscription if they wish to “go ad-free.” The user was able to proceed to YouTube as normal once they had disabled their ad blocker.

PP4MNK

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 376 times
Been thanked: 1315 times
Contact:

Re: View YouTube without ads

Post by fredx181 »

pp4mnklinux wrote: Sun May 14, 2023 12:30 pm

3 DAYS AGO.-
....
....

Thanks for the info anyway, but note that this thread is not about "adblocker" the OP is about a script that makes YT video's view as "embed" (without ads, which still works btw).

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: View YouTube without ads

Post by sucuklu yumurta »

https://api.invidious.io/
https://redirect.invidious.io/
https://inv.bp.projectsegfau.lt/ 360p-480p-720p-1080p
I will edit if the links change and add new ones
-------------------------------------
For Netbook Atom :thumbup:
https://realityripple.com/Software/XUL/uTube/play.html#
Example Link:
Mobile Link: https://realityripple.com/Software/XUL/ ... JcWcQ8ew6Q

Last edited by sucuklu yumurta on Sun Jul 23, 2023 9:51 pm, edited 2 times in total.

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
MochiMoppel
Posts: 1239
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 440 times

Re: View YouTube without ads

Post by MochiMoppel »

gychang wrote: Sun May 14, 2023 11:55 am

I always get 2 tabs playing the same video). This seems to occur only in 64bit CE_4, since running Jammypup32 using the 32bit vivaldi portable, only a single tab is shown.

anyone know a fix for this in CE_4?

@gychang Didn't you asked this before? Check your LAUNCH script and your old post:

gychang wrote: Wed Jul 27, 2022 5:34 pm
MochiMoppel wrote: Wed Jul 27, 2022 5:00 am

The double tabs occur because you let Vivaldi open the passed URLs twice. See the "$@" ? This holds the passed URLs and customarily it is the last argument.
In your case it is too, but there is another here: ... vivaldi-bin" "$@" --user-data-dir....
Remove it and you'll get rid of double tabs.

It works!, MM, u r amazing!!! :thumbup2: :thumbup2:

User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

Re: View YouTube without ads

Post by gychang »

MochiMoppel wrote: Mon May 15, 2023 12:21 am
gychang wrote: Sun May 14, 2023 11:55 am

I always get 2 tabs playing the same video).

The double tabs occur because you let Vivaldi open the passed URLs twice. See the "$@" ? This holds the passed URLs and customarily it is the last argument.
In your case it is too, but there is another here: ... vivaldi-bin" "$@" --user-data-dir....
Remove it and you'll get rid of double tabs.

It works!, MM, u r amazing!!! :thumbup2: :thumbup2:

[/quote]

yes, I did ask before..., thanks. :thumbup2:

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “Tips & Tweaks”