So, once you click on the bookmarklet you can watch any number of YouTube videos without any annotations or pop-ups. In other words, you need not click on it for every video. Clear it! The beauty of this trick is, the changes made by the bookmarklet will perish after reloading the browser window. But, the code has been written for HTML5 player. So in firefox or any other browsers to get things done, visit this page and click on 'Request the HTML5 player' Refer the image below.
If you browser don't support HTML5 player, there is no other way, you should either upgrade your browser or start using Google chrome. You can actually use this trick without caring about the following piece of writing, though I write this for the geeks who are eager to know how it works. Every YouTube video's HTML contains the annotations, channel promotions and suggested videos in div elements which has video-annotations iv-module , annotation annotation-type-custom iv-promo iv-promo-video , branding-img-container , as classes respectively.
What I have done to make those pop-ups disappear is simply adding a class to those div elements with display: none; rule. YouTube has a class named hid in its css by default with display: none rule.
Samsung Galaxy Note20 Ultra 5G. Motorola Edge Plus. Samsung Galaxy A Apple iPhone Redmi Note 8. Samsung Galaxy S20 Plus. OPPO F Apple iPhone SE Vivo S1 Pro. Realme 6. Apple iPhone XR. Realme Q3t. Nokia X Vivo Y15s Vivo V23e.
ZTE Blade L9. Infinix Note 11s. Oppo A16K. Tecno Camon 18i. Allow Notifications. You have already subscribed. Get the Insider App. Click here to learn more. A leading-edge research firm focused on digital transformation. Good Subscriber Account active since Shortcuts. Account icon An icon in the shape of a person's head and shoulders. It often indicates a user profile. Log out. US Markets Loading H M S In the news.
0コメント