GithubHelp home page GithubHelp logo

therealjoelmatic / removeadblockthing Goto Github PK

View Code? Open in Web Editor NEW
5.0K 57.0 274.0 2.37 MB

The intrusive "Ad blocker are not allowed on YouTube" message is annoying. This open-source project aims to address this issue by providing a solution to bypass YouTube's ad blocker detection

Home Page: http://joelmatic.com/

License: MIT License

JavaScript 100.00%
tampermonkey tampermonkey-userscript adblock youtube remove-not-allowed undetected youtube-adblocker

removeadblockthing's Introduction

Remove the Adblock Popup from YOUTUBE

picture

Introduction

This repository contains a userscript designed to remove the annoying "Ad blocker is not allowed on Youtube" popup. Follow the instructions below to get started. We also have an undetected way of skipping ads if you get blocked from the video player.

Table of Contents:

  1. Introduction
  2. Installation
  3. Common Issues
  4. Contribution
  5. License

Installation

  1. Install Tampermonkey: If you haven't already, you need to install the Tampermonkey browser extension. You can find it for various browsers:

  2. Install the Script: Click Here and Press Install.

  3. Enable the Script: Enable the script by clicking the switch next to the script name in the Tampermonkey Dashboard.

  4. Disable your adblocker: Whitelist YouTube on any Chrome extensions that block ads or any third-party things that disable ads. Don't worry; our script removes ads on YouTube.

Note: This also allows you to watch videos when your video player is banned from using an adblock.

Common Issues

"Ad Blockers violate Youtube Terms Of Service" OR Just a black screen

This happens when there is an adblock other than the script running. Common ways you may be blocking ads accidentally on Youtube is:

  • Adblock extension: Disable or whitelist YouTube on your ad blocker extension.

  • Browser built-in adblock: Some browsers have built-in ad blockers. Disable or configure them.

  • Other Tampermonkey scripts: Scripts like YouTube enhancer may conflict. Disable them one by one to identify the issue.

  • Wi-Fi/DNS/Firewall adblock rules: Check network settings for any ad-blocking configurations.

  • Windows hosts file rules: Inspect the Windows hosts file (C:\Windows\System32\drivers\etc) for ad-blocking rules.

Contribution

If you have any suggestions, bug reports, or want to contribute to this userscript, feel free to create issues or pull requests in this GitHub repository.

Contributors

License

This project is licensed under the MIT License.

Star History

Star History Chart

removeadblockthing's People

Contributors

albedo-13 avatar altex2 avatar androgouws911 avatar angelapuzzle avatar blueworld1 avatar clientnode avatar entarra avatar epicmario7133 avatar groovehacker avatar hemaljoshi avatar imgbotapp avatar jordhanemmanuel avatar kaandesu avatar mabramishvili avatar madriix avatar marjansimic avatar michael21107 avatar naginreed avatar nomandhoni-cs avatar osumatrix avatar pecunia201 avatar phinolex avatar sleepingpig35 avatar therealjoelmatic avatar tkvarun35 avatar wesamabadi avatar wld159 avatar yrnehli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

removeadblockthing's Issues

Persistent scrollbar after latest userscript update (chrome/webkit)

minor issue, not even really an issue i just wanted to comment this:

latest update works but sometimes there will be a horizontal scrollbar inside the video player

adding the following to the end of the script will hide it

 /* hide scrollbar but allow scrolling */
element {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll;
}

Popup diappears, video does not play. (Newest Opera Version)

I just installed this feature but it doesn't seem to be working. When activated, the popup disappears, but nothing is happening after that. The Video doesn't play, there is just a blank space, where the video should be. I am usesing the Opera Browser on the latest Version (17th Oct. 2023).

Questions

Is it compatible with Violentmonkey?

Is it supposed to also remove this message?
image

Age restricted

While trying to play an age restricted video the following message it's shown :
This video is age-restricted and only available on YouTube. [Learn more]

doesnt work, popup is glitched, cant scroll or watch video

Yes, the popup disappeared at first but then it glitched the page after like 2-3 videos and its stuck on this screen (look at attachment). I also can't scroll down to look for other videos and of course cannot watch videos because of this weird glitch. I have even turned off ublock and the script but nothing is working and it's just stuck on this picture.

a124c2e1-88c4-4344-9dca-d3078a7c0c00

fast forwarding ads

i've noticed that when ads show up on something i'm watching, they're fast forwarded super quickly and disappear in no more than a second or two. is this how it's intended to work? if so, it's quick enough that it doesn't necessarily bother me, but i'm wondering if there's a way to mute the ads while they're fast forwarding? it's a bit of a jump scare when it happens, especially when i'm watching a video where the sound is a bit lower and then i get a loud mid-roll. even though it's over almost instantly, it's still a sudden burst of noise.

Just dont work

Yeah nothing else to say. Adblock is working but Youtube detect it.

Shows a black screen when trying to play a video

hey, soo when i try playing a video on yt it shows the "ad blocker breaks tos" and black screen happenes even turning off adblocker breaks it i tried everything i have trying a refreshing method tho and somtimes it playes the video
Capture6942

not work every time.

for the first time it miss the popup. after that it block next pop ups but scrolling not working everytime. it works like block element via adblocker extension.
and from today I face a new issue, I use 'html5 video player enhanced script" from greasy fork but when this script block pop, at the same time enable blur by 300%...why?

also screen got black on yt player....I'm using brave browser and it's inbuild adblocker

IGNORE

IGNORE PLS
had enhancer for chrome on, which bugged out youtube.

Three dots additional menu icon not working

The menu button (represented by the three dots icon) is not functioning on both the home screen and within the video queue block. When you click on it, nothing happens. It should display an additional pop-up menu.

video pauses everytime

video pauses everytime youtube addblocker notification comes,,maybe bcz of yt new adblocker notification needs additional 3 seconds to load close icon

Scrolling broken?

Using the latest version that you published an hour ago on Monday, 16th October, however, since then scrolling down seems to be broken.

Unsure if this works on Opera Gx

I'm as beginner as can be, probably a user error more than anything. I was told opera runs on chrome, so idk if this works on opera at all but I've found no success

Script Disables Other Normal Features?

Installing this script on Greasemonkey results in the disabling of the dotted menu next to Youtube video titles that typically lets me save them to Queue or Watch Later. It also prevents me from viewing new responses to my comments.

Recommending Violentmonkey instead of Tampermonkey

Thanks for the project! I think we all love open source software so recommending Violentmonkey instead of Tampermonkey on README file is a good idea, in my opinion. Hope contributors also agree with me.

Ads are not blocking

It is just a minor issue. It would be better, if these thumbnail ads also get's removes. See ๐Ÿ‘‡๐Ÿป these thumbnail ads are showing on browser.
https://ibb.co/f28wYbf

And I have one more request.
I'm a YouTube user, and I find it inconvenient to click 'Show more replies' repeatedly to view all comments on videos. Could you please make a script on this, that loads all comments at once? It would make my YouTube experience much better.

Opens Community Posts After Opening Page

The script is randomly opening community posts after I open a new Youtube page. This doesn't occur when the script is off. Not the most debilitating issue, but an incredibly annoying one. Aside from that issue, it's working fine for me. Help would be highly appreciated.

When using can not acces the profile menu

  • When i am using the script i can not open or acces the menu until a i turn off the script in Tampermonkey
    UPDATE Today 10.10 2023 i stop to work for no reason i tryed to fix it but never had the luck to fix it

autoplay

not an issue, i just wanted to ask if it would be able to add a code to resume the video after it closes the popup?

Constant refreshing

Constant refreshing when opening YouTube video player in any context (new tab, home page, enlarge mini player, etc.);

The page refreshes repeatedly for on average 30-45 seconds before it stabilizes and begins playing the video.
If on a playlist or queue, shuffle and loop settings are lost.

I'm using Opera GX (version in Opera GX menu > "Help" > "About Opera" says "LVL5 (core: 102.0.4880.104)").

Does absolutely nothing for me

If I run this with my adblocker off, it just plays ads. If I run it with my adblocker off, it still shows the popup. As far as I can tell the script just isn't doing anything.

Scrolling issues (Opera GX)

The script works fine but there are some annoying things. Both of my issues come from scrolling.

The first issue is that there is a random horizontal scroll bar. When I am in theater mode it does nothing. When I am in fullscreen you can scroll right to another scroll bar?? (I saw that having a scroll bar in fullscreen was another issue)

image
image

I'd assume this is just because of how the script works but it's still kinda annoying.

The other issue has already been touched on but sometimes scrolling locks when I enter a page. Whenever I reload it just works fine but it's still annoying.

Other than that it works fine, thank you to all who has helped with this :D

Does not work

This script does not block youtubes adblock detection pop up using tampermonkey. This is on Chrome browser. I've tried relaunching the browser.

Scroll Bars on Fullscreen

Addblock seems to work, no more Notification as well. But once I enter fullscreen I get vertical and horizontal scrollbars on the border of my screen

Doesn't work anymore

As of 3:30PM EST on 10/15/2023, this no longer works. I am getting the Adblock Blocker pop-up again. Just putting this here so other people know.

Does this work for you?

// ==UserScript==
// @name YouTube Ad Block Bypass
// @namespace Pierruno
// @Version 1.0
// @description Bypass YouTube ad block blocker
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==

// Remove ad block overlay
const removeAdBlockOverlay = () => {
const adBlockOverlay = document.querySelector('.ytd-popup');
if (adBlockOverlay) {
adBlockOverlay.remove();
}
};

document.addEventListener('DOMContentLoaded', removeAdBlockOverlay);

All Popups are deleted

It works well for removeing the anti adblock popup, but it also remove any other popup, like unsubscribing

I don't know if it's possible to "filter" what popup get detected, so this might be unfixable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.