Hide Play (k) & Pause (k) On YouTube Player

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
User avatar
Footle Plump
Posts: 32
Joined: Fri Oct 10, 2014 9:41 am

Hide Play (k) & Pause (k) On YouTube Player

Post by Footle Plump »

Hi.

How can I block the following Play (k) & Pause (k) items that show within the YouTube player?

Image
Image

They appear when you press the play/pause button on the player itself, or press the K key on the keyboard.

I cant seem to select the element manually to make a filter.

Thanks.
User avatar
Footle Plump
Posts: 32
Joined: Fri Oct 10, 2014 9:41 am

Re: Hide Play (k) & Pause (k) On YouTube Player

Post by Footle Plump »

Any help appreciated...
Thanks.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Hide Play (k) & Pause (k) On YouTube Player

Post by mapx »

I cannot reproduce that "K"
User avatar
Footle Plump
Posts: 32
Joined: Fri Oct 10, 2014 9:41 am

Re: Hide Play (k) & Pause (k) On YouTube Player

Post by Footle Plump »

Does any of the page information help you or help me to create a blocking filter?
(You might have to click image to see the whole line of text)

Image
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Hide Play (k) & Pause (k) On YouTube Player

Post by mapx »

try

Code: Select all

youtube.com##div[aria-label="Play (K)"]
User avatar
Footle Plump
Posts: 32
Joined: Fri Oct 10, 2014 9:41 am

Re: Hide Play (k) & Pause (k) On YouTube Player

Post by Footle Plump »

mapx wrote:try

Code: Select all

youtube.com##div[aria-label="Play (K)"]
Unfortunately, that didn't work. I even tried using a lower case k but it still shows.
Thanks anyway.

(BTW, I'm using Firefox 52.9.0 ESR (32-Bit) with AdBlock Plus 2.8.2).

Image
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Hide Play (k) & Pause (k) On YouTube Player

Post by mapx »

or there is no space between Play and (k) ?

try

Code: Select all

youtube.com##div[aria-label^="Play"]
User avatar
Footle Plump
Posts: 32
Joined: Fri Oct 10, 2014 9:41 am

Re: Hide Play (k) & Pause (k) On YouTube Player

Post by Footle Plump »

mapx wrote:or there is no space between Play and (k) ?

try

Code: Select all

youtube.com##div[aria-label^="Play"]
Unfortunately, that one also doesn't work.

Looking at the element, there's is definitely a space between the Play and (k).
I tried without a space just in case, but it didn't help.

This is all the information regarding the Play (k) element (same for Pause. The word changes on the fly).

Image
Post Reply