Hide or Block HTML <Video> Tag and content

Various discussions related to Adblock Plus development

Hide or Block HTML <Video> Tag and content

Postby nrnoble » Fri Jun 14, 2019 11:47 am

I want to be able to hide\block "<video>...</video>". Below is an example. I am familiar with Regular Expressions and HTML. I could write the regular expression to filter it out, I am just not clear how to format the regular expression so that ABP will execute it. Or maybe there is a much simpler way to go about it than using RE.

Code: Select all
<video class="_ox1" data-video-width="" data-video-height="" src="https://video-sea1-1.xx.fbcdn.net/v/t42.4659-2/42023848_1682526261855727_2827014754889891840_n.mp4?_nc_cat=100&amp;_nc_oc=AQnMC9kwen8TnvYjQxIxkma9YpFO1pTo4yBTwmam1RM-EWJiD3q3mHdc6HJjbHbP2sE&amp;_nc_ht=video-sea1-1.xx&amp;oh=ec84e60adb32a64c2090bdbc084085c4&amp;oe=5D036A4A"></video>


Thanks
nrnoble
 
Posts: 2
Joined: Fri Jun 14, 2019 11:29 am

Re: Hide or Block HTML <Video> Tag and content

Postby nrnoble » Sun Jun 23, 2019 11:35 am

Did I say something wrong or offensive?
nrnoble
 
Posts: 2
Joined: Fri Jun 14, 2019 11:29 am

Re: Hide or Block HTML <Video> Tag and content

Postby mapx » Sun Jun 23, 2019 1:25 pm

You should post a real example / test page

Don't expect a response from the devs ..
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm


Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 1 guest