Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically click "Skip Ad" #1872

Open
OrangeDog opened this issue Dec 9, 2023 · 3 comments
Open

Automatically click "Skip Ad" #1872

OrangeDog opened this issue Dec 9, 2023 · 3 comments
Labels
Bug Bug or required update after YouTube changes Completion / Revision Rethink, complete, improve, tweak our feature or structure. good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@OrangeDog
Copy link

OrangeDog commented Dec 9, 2023

PROBLEM:
Ad blocking on YouTube is increasing difficult, or you want the channel to get ad revenue at minimal inconvenience.

SOLUTION:
When the "Skip Ad" button appears, it should automatically be clicked.

ALTERNATIVES:
Click it manually.
Use an additional extension to do it.

RELEVANCE / SCOPE:
If blocking remains/re-becomes impossible, then 100%. Otherwise maybe 20% who want to support creators with minimal cost.

"SIDE EFFECTS":
None.

@OrangeDog OrangeDog added Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Dec 9, 2023
@ImprovedTube
Copy link
Member

hi! @OrangeDog! :) yes we need to add the new name of the button on the YouTube website. And there are several variants. Maybe you wanna paste some of those you get? (right click: "inspect". You can temporarly disable youtube's context menu on the player with our other extension: https://chromewebstore.google.com/detail/unlock-keyboard-mouse/ijngdimmjkngoglcjaheoadciaalbafl )

want to support creators with minimal cost.

btw skipped ads yield them several or many times less a per your hour (or second) of attention, than you could can earn with work. (unless every video is about financial/commercial topics/advice only.

@OrangeDog
Copy link
Author

Here's the one I just got:

<div class="video-ads ytp-ad-module" data-layer="4">
  <div class="ytp-ad-player-overlay" style="" id="player-overlay:21">
    <div class="ytp-ad-player-overlay-flyout-cta ytp-ad-player-overlay-flyout-cta-rounded">...</div>
    <div class="ytp-ad-player-overlay-instream-info">...</div>
    <div class="ytp-ad-player-overlay-skip-or-preview">
      <div class="ytp-ad-skip-ad-slot" style="" id="skip-button:22">
        <div class="ytp-ad-preview-slot" style="display: none;" id="preskip-component:23">...</div>
        <div class="ytp-ad-skip-button-slot" style="" id="skip-button:26">
          <span class="ytp-ad-skip-button-container ytp-ad-skip-button-container-detached" style="opacity: 0.5;">
            <button class="ytp-ad-skip-button-modern ytp-button">
              <div class="ytp-ad-text ytp-ad-skip-button-text-centered ytp-ad-skip-button-text" style="" id="ad-text:27">
                Skip
              </div>
              <span class="ytp-ad-skip-button-icon-modern">
                <svg height="100%" viewBox="-6 -6 36 36" width="100%">
                  <path d="M5,18l10-6L5,6V18L5,18z M19,6h-2v12h2V6z" fill="#fff"></path>
                </svg>
              </span>
            </button>
          </span>
        </div>
      </div>
    </div>
    <div class="ytp-ad-player-overlay-progress-bar"></div>
    <div class="ytp-ad-player-overlay-instream-user-sentiment"></div>
  </div>
</div>

@ImprovedTube ImprovedTube added 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) Bug Bug or required update after YouTube changes Completion / Revision Rethink, complete, improve, tweak our feature or structure. and removed Feature request Wish or idea labels Dec 10, 2023
@ImprovedTube
Copy link
Member

ImprovedTube commented Dec 10, 2023

ImprovedTube added a commit that referenced this issue Dec 13, 2023
ImprovedTube added a commit that referenced this issue Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug or required update after YouTube changes Completion / Revision Rethink, complete, improve, tweak our feature or structure. good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) 🧩Plan ready Solution or some specification noted; To-Do; steps for implementation (+raw brainstorming too maybe) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

No branches or pull requests

2 participants