znuff's notepad

Disable WP Video Locker (youtubeblocker) behaviour

If you ever seen a website that asks for a “Share” on Facebook before you are allowed to view a video, try this userscript: http://userscripts.org/scripts/show/399846.

This disables the annoying “WPVideoLock” WordPress plugin.

Update: Didn’t notice that websites like voceazilei.ro changed their data attribute; so with the ideas of Victor Badoiu I updated it to 0.3, doing a more aggressive scan for the YouTube video id (using regex).

Exit mobile version