One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
UPDATED 22.11.2022
It's been two years since the last update, so here's the updated working script as per the comments below.
Thanks to BryanHaley for this.
setInterval(function () {
video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];
video.querySelector('#primary button[aria-label="Action menu"]').click();
/** | |
* Tired of those "we detected you have ads blocked, white-list us to continue reading"? | |
* Then, your problems are over! | |
* | |
* PS.: Help me improve it, and as soon as it gets really stable and working in most sites, | |
* let's ship it as a browser extension :) | |
*/ | |
function closeAnnoyingModal () { | |
w = document.body.offsetWidth + 'px'; | |
h = window.innerHeight + 'px'; |
# Find the latest version on https://github.com/creationix/nvm#install-script | |
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
# Add in your ~/.zshrc the following: | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
$ source ~/.zshrc |
#!/bin/sh | |
set -eu | |
# Docker | |
sudo apt remove --yes docker docker-engine docker.io || true | |
sudo apt update | |
sudo apt --yes --no-install-recommends install apt-transport-https ca-certificates | |
wget --quiet --output-document=- https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |