I am wondering if there is any keyboard shortcut to close the ads (advertisement) on YouTube.
For example, as the one as in the picture below.
Web Applications Stack Exchange is a question and answer site for power users of web applications. It only takes a minute to sign up.Sign up to join this community
Answering OP question about keyboard shortcut:
The location of close (
x) icon (as of 2019 Oct) is one
tab back from
timeline. As I noted depending on some factors starting active control could be different, so in general solution is as suggested briefly by other answer, I add more details.
If you just skipped (e.g. forward) via timeline, it's active and then to close ad as on the picture of OP question:
If not, click
TAB repeatedly and see how active control change (I noted it's usually 3 or 4 times to
x control icon), if you can clearly see it's
x icon, then click
space, otherwise click until
timeline is active, then one time
shift-tab and then
Works on Firefox 67 on Linux on Thinkpad, please add comments those who try for other browsers/OS/devices.
P.S. learned to navigate yourtube via keyboard during that exercise, just one useful tip - pausing/resume via
spacebar works when
timeline is active.
This answer doesn't directly relate to your specific keyboard shortcut, but I thought I'd mention it anyways since alternatives are being mentioned.
Ironically, given the ad is for Raspberry Pi beta testers, another option for hiding/blocking the ads is to purchase a Raspberry Pi and set up Pi-Hole which can be used to block ads network wide.
The Pi-hole can block ads for all devices on your network. All you need is a Raspberry Pi connected to your router. It was inspired as a low-cost, open source alternative to the AdTrap.
Currently, over...1.6 million (if you decide to use the mahakala source list) domains known to serve advertisements can be blocked before they even reach your computer. The list of these domains are maintained by different sites across the Internet. The Pi-hole queries these sites and compiles them into an aggregated list, which is then stored on the Raspberry Pi to block advertisements.
Add this Chrome extension to get rid of YouTube ads.
You won't need to wait 5 seconds anymore to watch the next video and this extension removes the bottom popovers as well.
Below are the steps to install this extension to your Chrome browser (for newbies). Link: https://medium.com/@rushicbharad/get-rid-of-youtube-ads-bd3a2ed9898a