1. Nachrichten
  2. Forum
    1. Unerledigte Themen
    2. Forenregeln
  3. Spenden
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. camp-firefox.de
  2. Endor

Beiträge von Endor

  • Violent Monkey Script "Remove Adblock Thing" entfernt in der neuen Version 5.6 die Grössenansicht im Menü

    • Endor
    • 27. Juni 2024 um 17:54

    Boersenfeger
    Ok.
    Hast Du mal Firefox neu gestartet und dabei den Scriptcache löschen lassen?
    Nur so eine Idee.

  • Violent Monkey Script "Remove Adblock Thing" entfernt in der neuen Version 5.6 die Grössenansicht im Menü

    • Endor
    • 27. Juni 2024 um 17:51

    Na klar doch ;)

  • Violent Monkey Script "Remove Adblock Thing" entfernt in der neuen Version 5.6 die Grössenansicht im Menü

    • Endor
    • 27. Juni 2024 um 17:45

    Boersenfeger
    Teste mal diese Version hab die mal bei mir hochgeladen.

    Erweiterungen/old/Youtube-Ad-blocker-Reminder-Remover.user.js at master · Endor8/Erweiterungen
    Erweiterungen für Forum. Contribute to Endor8/Erweiterungen development by creating an account on GitHub.
    github.com

    Das ist wie gesagt Version 5.5 nur habe ich die Nummer auf 5.6.1 geändert.
    Dadurch hoffe ich will er kein Update mehr.


    Hallo 2002Andreas.
    Wie gesagt weder kenne ich das Script noch verwende ich es.
    Habe da auch keine Ahnung was man da ändern sollte.
    Ich habe nur auf die Frage aus #4 von milupo reagiert.

  • Violent Monkey Script "Remove Adblock Thing" entfernt in der neuen Version 5.6 die Grössenansicht im Menü

    • Endor
    • 27. Juni 2024 um 17:37

    Teste mal habe nur die Versions Info geändert:

    CSS
    // ==UserScript==
    // @name         Remove Adblock Thing
    // @namespace    http://tampermonkey.net/
    // @version      5.6.1
    // @description  Removes Adblock Thing
    // @author       JoelMatic
    // @match        https://www.youtube.com/*
    // @icon         https://www.google.com/s2/favicons?sz=64&domain=youtube.com
    // @updateURL    https://github.com/TheRealJoelmatic/RemoveAdblockThing/raw/main/Youtube-Ad-blocker-Reminder-Remover.user.js
    // @downloadURL  https://github.com/TheRealJoelmatic/RemoveAdblockThing/raw/main/Youtube-Ad-blocker-Reminder-Remover.user.js
    // @grant        none
    // ==/UserScript==
    
    (function()
     {
        //
        //      Config
        //
    
        // Enable The Undetected Adblocker
        const adblocker = true;
    
        // Enable The Popup remover (pointless if you have the Undetected Adblocker)
        const removePopup = false;
    
        // Checks for updates (Removes the popup)
        const updateCheck = true;
    
        // Enable debug messages into the console
        const debugMessages = true;
    
        // Enable custom modal
        // Uses SweetAlert2 library (https://cdn.jsdelivr.net/npm/sweetalert2@11) for the update version modal.
        // When set to false, the default window popup will be used. And the library will not be loaded.
        const updateModal = {
            enable: true, // if true, replaces default window popup with a custom modal
            timer: 5000, // timer: number | false
        };
    
    
        //
        //      CODE
        //
        // If you have any suggestions, bug reports,
        // or want to contribute to this userscript,
        // feel free to create issues or pull requests in the GitHub repository.
        //
        // GITHUB: https://github.com/TheRealJoelmatic/RemoveAdblockThing
    
        //
        // Varables used for adblock
        //
    
        // Store the initial URL
        let currentUrl = window.location.href;
    
        // Used for after the player is updated
        let isVideoPlayerModified = false;
    
        //
        // Variables used for updater
        //
    
        let hasIgnoredUpdate = false;
    
        //
        // Setup
        //
    
        //Set everything up here
        log("Script started");
    
        if (adblocker) removeAds();
        if (removePopup) popupRemover();
        if (updateCheck) checkForUpdate();
    
        // Remove Them pesski popups
        function popupRemover() {
    
            setInterval(() => {
                const modalOverlay = document.querySelector("tp-yt-iron-overlay-backdrop");
                const popup = document.querySelector(".style-scope ytd-enforcement-message-view-model");
                const popupButton = document.getElementById("dismiss-button");
    
                var video = document.querySelector('video');
    
                const bodyStyle = document.body.style;
                bodyStyle.setProperty('overflow-y', 'auto', 'important');
    
                if (modalOverlay) {
                    modalOverlay.removeAttribute("opened");
                    modalOverlay.remove();
                }
    
                if (popup) {
                    log("Popup detected, removing...");
    
                    if(popupButton) popupButton.click();
    
                    popup.remove();
                    video.play();
    
                    setTimeout(() => {
                        video.play();
                    }, 500);
    
                    log("Popup removed");
                }
                // Check if the video is paused after removing the popup
                if (!video.paused) return;
                // UnPause The Video
                video.play();
    
            }, 1000);
        }
        // undetected adblocker method
        function removeAds()
        {
            log("removeAds()");
    
            setInterval(() =>{
    
                if (window.location.href !== currentUrl) {
                    currentUrl = window.location.href;
                    isVideoPlayerModified = false;
                    clearAllPlayers();
                    removePageAds();
                }
    
                if (isVideoPlayerModified){
                    return;
                }
    
                log("Video replacement started!");
    
                //
                // remove ad audio
                //
    
                var video = document.querySelector('video');
                if (video) video.volume = 0;
                if (video) video.pause();
                if (video) video.remove();
    
                //
                // Remove the current player
                //
    
                if(!clearAllPlayers()){
                    return;
                }
    
                //
                // Get the url
                //
    
                let videoID = '';
                const baseURL = 'https://www.youtube.com/watch?v=';
                const startIndex = currentUrl.indexOf(baseURL);
    
    
                if (startIndex !== -1) {
                    // Extract the part of the URL after the base URL
                    const videoIDStart = startIndex + baseURL.length;
                    videoID = currentUrl.substring(videoIDStart);
    
                    const ampersandIndex = videoID.indexOf('&');
                    if (ampersandIndex !== -1) {
                        videoID = videoID.substring(0, ampersandIndex);
                    }
    
                } else {
                    log("YouTube video URL not found.", "e")
                    return null;
                }
    
                log("Video ID: " + videoID);
    
                //
                // Create new frame for the video
                //
    
                const startOfUrl = "https://www.youtube-nocookie.com/embed/";
                const endOfUrl = "?autoplay=1&modestbranding=1&rel=0";
                const finalUrl = startOfUrl + videoID + endOfUrl;
    
                const iframe = document.createElement('iframe');
    
                iframe.setAttribute('src', finalUrl);
                iframe.setAttribute('frameborder', '0');
                iframe.setAttribute('allow', 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share');
                iframe.setAttribute('allowfullscreen', true);
                iframe.setAttribute('mozallowfullscreen', "mozallowfullscreen");
                iframe.setAttribute('msallowfullscreen', "msallowfullscreen");
                iframe.setAttribute('oallowfullscreen', "oallowfullscreen");
                iframe.setAttribute('webkitallowfullscreen', "webkitallowfullscreen");
    
                iframe.style.width = '100%';
                iframe.style.height = '100%';
                iframe.style.position = 'absolute';
                iframe.style.top = '0';
                iframe.style.left = '0';
                iframe.style.zIndex = '9999';
                iframe.style.pointerEvents = 'all'; 
    
                const videoPlayerElement = document.querySelector('.html5-video-player');
                videoPlayerElement.appendChild(iframe);
                log("Finished");
    
                isVideoPlayerModified = true;
            }, 500)
            removePageAds();
        }
        //
        // logic functionm
        // 
    
        function clearAllPlayers() {
        
            const videoPlayerElements = document.querySelectorAll('.html5-video-player');
        
            if (videoPlayerElements.length === 0) {
                console.error("No elements with class 'html5-video-player' found.");
                return false;
            }
        
            videoPlayerElements.forEach(videoPlayerElement => {
            const iframes = videoPlayerElement.querySelectorAll('iframe');
            iframes.forEach(iframe => {
                iframe.remove();
            });
        });
        
            console.log("Removed all current players!");
            return true;
        }
    
        //removes ads on the page (not video player ads)
        function removePageAds(){
    
            const sponsor = document.querySelectorAll("div#player-ads.style-scope.ytd-watch-flexy, div#panels.style-scope.ytd-watch-flexy");
            const style = document.createElement('style');
    
            style.textContent = `
                ytd-action-companion-ad-renderer,
                ytd-display-ad-renderer,
                ytd-video-masthead-ad-advertiser-info-renderer,
                ytd-video-masthead-ad-primary-video-renderer,
                ytd-in-feed-ad-layout-renderer,
                ytd-ad-slot-renderer,
                yt-about-this-ad-renderer,
                yt-mealbar-promo-renderer,
                ytd-statement-banner-renderer,
                ytd-ad-slot-renderer,
                ytd-in-feed-ad-layout-renderer,
                ytd-banner-promo-renderer-background
                statement-banner-style-type-compact,
                .ytd-video-masthead-ad-v3-renderer,
                div#root.style-scope.ytd-display-ad-renderer.yt-simple-endpoint,
                div#sparkles-container.style-scope.ytd-promoted-sparkles-web-renderer,
                div#main-container.style-scope.ytd-promoted-video-renderer,
                div#player-ads.style-scope.ytd-watch-flexy,
                ad-slot-renderer,
                ytm-promoted-sparkles-web-renderer,
                masthead-ad,
                tp-yt-iron-overlay-backdrop,
    
                #masthead-ad {
                    display: none !important;
                }
            `;
    
            document.head.appendChild(style);
    
            sponsor?.forEach((element) => {
                 if (element.getAttribute("id") === "rendering-content") {
                    element.childNodes?.forEach((childElement) => {
                      if (childElement?.data.targetId && childElement?.data.targetId !=="engagement-panel-macro-markers-description-chapters"){
                          //Skipping the Chapters section
                            element.style.display = 'none';
                        }
                       });
                }
             });
    
            log("Removed page ads (✔️)");
        }
    
        //
        // Update check
        //
    
        function checkForUpdate(){
    
            if (window.top !== window.self && !(window.location.href.includes("youtube.com"))){
                return;
            }
    
            if (hasIgnoredUpdate){
                return;
            }
    
            const scriptUrl = 'https://raw.githubusercontent.com/TheRealJoelmatic/RemoveAdblockThing/main/Youtube-Ad-blocker-Reminder-Remover.user.js';
    
            fetch(scriptUrl)
            .then(response => response.text())
            .then(data => {
                // Extract version from the script on GitHub
                const match = data.match(/@version\s+(\d+\.\d+)/);
                if (!match) {
                    log("Unable to extract version from the GitHub script.", "e")
                    return;
                }
    
                const githubVersion = parseFloat(match[1]);
                const currentVersion = parseFloat(GM_info.script.version);
    
                if (githubVersion <= currentVersion) {
                    log('You have the latest version of the script. ' + githubVersion + " : " + currentVersion);
                    return;
                }
    
                console.log('Remove Adblock Thing: A new version is available. Please update your script. ' + githubVersion + " : " + currentVersion);
    
                if(updateModal.enable){
                    // if a version is skipped, don't show the update message again until the next version
                    if (parseFloat(localStorage.getItem('skipRemoveAdblockThingVersion')) === githubVersion) {
                        return;
                    }
                    // If enabled, include the SweetAlert2 library
                    const script = document.createElement('script');
                    script.src = 'https://cdn.jsdelivr.net/npm/sweetalert2@11';
                    document.head.appendChild(script);
    
                    const style = document.createElement('style');
                    style.textContent = '.swal2-container { z-index: 2400; }';
                    document.head.appendChild(style);
    
                    // Wait for SweetAlert to be fully loaded
                    script.onload = function () {
    
                        Swal.fire({
                            position: "top-end",
                            backdrop: false,
                            title: 'Remove Adblock Thing: New version is available.',
                            text: 'Do you want to update?',
                            showCancelButton: true,
                            showDenyButton: true,
                            confirmButtonText: 'Update',
                            denyButtonText:'Skip',
                            cancelButtonText: 'Close',
                            timer: updateModal.timer ?? 5000,
                            timerProgressBar: true,
                            didOpen: (modal) => {
                                modal.onmouseenter = Swal.stopTimer;
                                modal.onmouseleave = Swal.resumeTimer;
                            }
                        }).then((result) => {
                            if (result.isConfirmed) {
                                window.location.replace(scriptUrl);
                            } else if(result.isDenied) {
                                localStorage.setItem('skipRemoveAdblockThingVersion', githubVersion);
                            }
                        });
                    };
    
                    script.onerror = function () {
                        var result = window.confirm("Remove Adblock Thing: A new version is available. Please update your script.");
                        if (result) {
                            window.location.replace(scriptUrl);
                        }
                    }
                } else {
                    var result = window.confirm("Remove Adblock Thing: A new version is available. Please update your script.");
    
                    if (result) {
                        window.location.replace(scriptUrl);
                    }
                }
            })
            .catch(error => {
                hasIgnoredUpdate = true;
                log("Error checking for updates:", "e", error)
            });
            hasIgnoredUpdate = true;
        }
    
        // Used for debug messages
        function log(log, level, ...args) {
    
            if(!debugMessages)
                return;
    
            const prefix = '🔧 Remove Adblock Thing:';
            const message = `${prefix} ${log}`;
            switch (level) {
                case 'error':
                    console.error(`❌ ${message}`, ...args);
                    break;
                case 'log':
                    console.log(`✅ ${message}`, ...args);
                    break;
                case 'warning':
                    console.warn(`⚠️ ${message}`, ...args);
                    break;
                default:
                    console.info(`ℹ️ ${message}`, ...args);
            }        
        }
    
    })();
    Alles anzeigen
  • Violent Monkey Script "Remove Adblock Thing" entfernt in der neuen Version 5.6 die Grössenansicht im Menü

    • Endor
    • 27. Juni 2024 um 17:34

    Ich kenne es auch nicht aber hier eine ältere Version:

    CSS
    // ==UserScript==
    // @name         Remove Adblock Thing
    // @namespace    http://tampermonkey.net/
    // @version      5.5
    // @description  Removes Adblock Thing
    // @author       JoelMatic
    // @match        https://www.youtube.com/*
    // @icon         https://www.google.com/s2/favicons?sz=64&domain=youtube.com
    // @updateURL    https://github.com/TheRealJoelmatic/RemoveAdblockThing/raw/main/Youtube-Ad-blocker-Reminder-Remover.user.js
    // @downloadURL  https://github.com/TheRealJoelmatic/RemoveAdblockThing/raw/main/Youtube-Ad-blocker-Reminder-Remover.user.js
    // @grant        none
    // ==/UserScript==
    
    (function()
     {
        //
        //      Config
        //
    
        // Enable The Undetected Adblocker
        const adblocker = true;
    
        // Enable The Popup remover (pointless if you have the Undetected Adblocker)
        const removePopup = false;
    
        // Checks for updates (Removes the popup)
        const updateCheck = true;
    
        // Enable debug messages into the console
        const debugMessages = true;
    
        // Enable custom modal
        // Uses SweetAlert2 library (https://cdn.jsdelivr.net/npm/sweetalert2@11) for the update version modal.
        // When set to false, the default window popup will be used. And the library will not be loaded.
        const updateModal = {
            enable: true, // if true, replaces default window popup with a custom modal
            timer: 5000, // timer: number | false
        };
    
    
        //
        //      CODE
        //
        // If you have any suggestions, bug reports,
        // or want to contribute to this userscript,
        // feel free to create issues or pull requests in the GitHub repository.
        //
        // GITHUB: https://github.com/TheRealJoelmatic/RemoveAdblockThing
    
        //
        // Varables used for adblock
        //
    
        // Store the initial URL
        let currentUrl = window.location.href;
    
        // Used for after the player is updated
        let isVideoPlayerModified = false;
    
        //
        // Variables used for updater
        //
    
        let hasIgnoredUpdate = false;
    
        //
        // Setup
        //
    
        //Set everything up here
        log("Script started");
    
        if (adblocker) removeAds();
        if (removePopup) popupRemover();
        if (updateCheck) checkForUpdate();
    
        // Remove Them pesski popups
        function popupRemover() {
    
            setInterval(() => {
                const modalOverlay = document.querySelector("tp-yt-iron-overlay-backdrop");
                const popup = document.querySelector(".style-scope ytd-enforcement-message-view-model");
                const popupButton = document.getElementById("dismiss-button");
    
                var video = document.querySelector('video');
    
                const bodyStyle = document.body.style;
                bodyStyle.setProperty('overflow-y', 'auto', 'important');
    
                if (modalOverlay) {
                    modalOverlay.removeAttribute("opened");
                    modalOverlay.remove();
                }
    
                if (popup) {
                    log("Popup detected, removing...");
    
                    if(popupButton) popupButton.click();
    
                    popup.remove();
                    video.play();
    
                    setTimeout(() => {
                        video.play();
                    }, 500);
    
                    log("Popup removed");
                }
                // Check if the video is paused after removing the popup
                if (!video.paused) return;
                // UnPause The Video
                video.play();
    
            }, 1000);
        }
        // undetected adblocker method
        function removeAds()
        {
            log("removeAds()");
    
            setInterval(() =>{
    
                if (window.location.href !== currentUrl) {
                    currentUrl = window.location.href;
                    isVideoPlayerModified = false;
                    clearAllPlayers();
                    removePageAds();
                }
    
                if (isVideoPlayerModified){
                    return;
                }
    
                log("Video replacement started!");
    
                //
                // remove ad audio
                //
    
                var video = document.querySelector('video');
                if (video) video.volume = 0;
                if (video) video.pause();
                if (video) video.remove();
    
                //
                // Remove the current player
                //
    
                if(!clearAllPlayers()){
                    return;
                }
    
                //
                // Get the url
                //
    
                let videoID = '';
                const baseURL = 'https://www.youtube.com/watch?v=';
                const startIndex = currentUrl.indexOf(baseURL);
    
    
                if (startIndex !== -1) {
                    // Extract the part of the URL after the base URL
                    const videoIDStart = startIndex + baseURL.length;
                    videoID = currentUrl.substring(videoIDStart);
    
                    const ampersandIndex = videoID.indexOf('&');
                    if (ampersandIndex !== -1) {
                        videoID = videoID.substring(0, ampersandIndex);
                    }
    
                } else {
                    log("YouTube video URL not found.", "e")
                    return null;
                }
    
                log("Video ID: " + videoID);
    
                //
                // Create new frame for the video
                //
    
                const startOfUrl = "https://www.youtube-nocookie.com/embed/";
                const endOfUrl = "?autoplay=1&modestbranding=1&rel=0";
                const finalUrl = startOfUrl + videoID + endOfUrl;
    
                const iframe = document.createElement('iframe');
    
                iframe.setAttribute('src', finalUrl);
                iframe.setAttribute('frameborder', '0');
                iframe.setAttribute('allow', 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share');
                iframe.setAttribute('allowfullscreen', true);
                iframe.setAttribute('mozallowfullscreen', "mozallowfullscreen");
                iframe.setAttribute('msallowfullscreen', "msallowfullscreen");
                iframe.setAttribute('oallowfullscreen', "oallowfullscreen");
                iframe.setAttribute('webkitallowfullscreen', "webkitallowfullscreen");
    
                iframe.style.width = '100%';
                iframe.style.height = '100%';
                iframe.style.position = 'absolute';
                iframe.style.top = '0';
                iframe.style.left = '0';
                iframe.style.zIndex = '9999';
                iframe.style.pointerEvents = 'all'; 
    
                const videoPlayerElement = document.querySelector('.html5-video-player');
                videoPlayerElement.appendChild(iframe);
                log("Finished");
    
                isVideoPlayerModified = true;
            }, 500)
            removePageAds();
        }
        //
        // logic functionm
        // 
    
        function clearAllPlayers() {
        
            const videoPlayerElements = document.querySelectorAll('.html5-video-player');
        
            if (videoPlayerElements.length === 0) {
                console.error("No elements with class 'html5-video-player' found.");
                return false;
            }
        
            videoPlayerElements.forEach(videoPlayerElement => {
            const iframes = videoPlayerElement.querySelectorAll('iframe');
            iframes.forEach(iframe => {
                iframe.remove();
            });
        });
        
            console.log("Removed all current players!");
            return true;
        }
    
        //removes ads on the page (not video player ads)
        function removePageAds(){
    
            const sponsor = document.querySelectorAll("div#player-ads.style-scope.ytd-watch-flexy, div#panels.style-scope.ytd-watch-flexy");
            const style = document.createElement('style');
    
            style.textContent = `
                ytd-action-companion-ad-renderer,
                ytd-display-ad-renderer,
                ytd-video-masthead-ad-advertiser-info-renderer,
                ytd-video-masthead-ad-primary-video-renderer,
                ytd-in-feed-ad-layout-renderer,
                ytd-ad-slot-renderer,
                yt-about-this-ad-renderer,
                yt-mealbar-promo-renderer,
                ytd-statement-banner-renderer,
                ytd-ad-slot-renderer,
                ytd-in-feed-ad-layout-renderer,
                ytd-banner-promo-renderer-background
                statement-banner-style-type-compact,
                .ytd-video-masthead-ad-v3-renderer,
                div#root.style-scope.ytd-display-ad-renderer.yt-simple-endpoint,
                div#sparkles-container.style-scope.ytd-promoted-sparkles-web-renderer,
                div#main-container.style-scope.ytd-promoted-video-renderer,
                div#player-ads.style-scope.ytd-watch-flexy,
                ad-slot-renderer,
                ytm-promoted-sparkles-web-renderer,
                masthead-ad,
                tp-yt-iron-overlay-backdrop,
    
                #masthead-ad {
                    display: none !important;
                }
            `;
    
            document.head.appendChild(style);
    
            sponsor?.forEach((element) => {
                 if (element.getAttribute("id") === "rendering-content") {
                    element.childNodes?.forEach((childElement) => {
                      if (childElement?.data.targetId && childElement?.data.targetId !=="engagement-panel-macro-markers-description-chapters"){
                          //Skipping the Chapters section
                            element.style.display = 'none';
                        }
                       });
                }
             });
    
            log("Removed page ads (✔️)");
        }
    
        //
        // Update check
        //
    
        function checkForUpdate(){
    
            if (window.top !== window.self && !(window.location.href.includes("youtube.com"))){
                return;
            }
    
            if (hasIgnoredUpdate){
                return;
            }
    
            const scriptUrl = 'https://raw.githubusercontent.com/TheRealJoelmatic/RemoveAdblockThing/main/Youtube-Ad-blocker-Reminder-Remover.user.js';
    
            fetch(scriptUrl)
            .then(response => response.text())
            .then(data => {
                // Extract version from the script on GitHub
                const match = data.match(/@version\s+(\d+\.\d+)/);
                if (!match) {
                    log("Unable to extract version from the GitHub script.", "e")
                    return;
                }
    
                const githubVersion = parseFloat(match[1]);
                const currentVersion = parseFloat(GM_info.script.version);
    
                if (githubVersion <= currentVersion) {
                    log('You have the latest version of the script. ' + githubVersion + " : " + currentVersion);
                    return;
                }
    
                console.log('Remove Adblock Thing: A new version is available. Please update your script. ' + githubVersion + " : " + currentVersion);
    
                if(updateModal.enable){
                    // if a version is skipped, don't show the update message again until the next version
                    if (parseFloat(localStorage.getItem('skipRemoveAdblockThingVersion')) === githubVersion) {
                        return;
                    }
                    // If enabled, include the SweetAlert2 library
                    const script = document.createElement('script');
                    script.src = 'https://cdn.jsdelivr.net/npm/sweetalert2@11';
                    document.head.appendChild(script);
    
                    const style = document.createElement('style');
                    style.textContent = '.swal2-container { z-index: 2400; }';
                    document.head.appendChild(style);
    
                    // Wait for SweetAlert to be fully loaded
                    script.onload = function () {
    
                        Swal.fire({
                            position: "top-end",
                            backdrop: false,
                            title: 'Remove Adblock Thing: New version is available.',
                            text: 'Do you want to update?',
                            showCancelButton: true,
                            showDenyButton: true,
                            confirmButtonText: 'Update',
                            denyButtonText:'Skip',
                            cancelButtonText: 'Close',
                            timer: updateModal.timer ?? 5000,
                            timerProgressBar: true,
                            didOpen: (modal) => {
                                modal.onmouseenter = Swal.stopTimer;
                                modal.onmouseleave = Swal.resumeTimer;
                            }
                        }).then((result) => {
                            if (result.isConfirmed) {
                                window.location.replace(scriptUrl);
                            } else if(result.isDenied) {
                                localStorage.setItem('skipRemoveAdblockThingVersion', githubVersion);
                            }
                        });
                    };
    
                    script.onerror = function () {
                        var result = window.confirm("Remove Adblock Thing: A new version is available. Please update your script.");
                        if (result) {
                            window.location.replace(scriptUrl);
                        }
                    }
                } else {
                    var result = window.confirm("Remove Adblock Thing: A new version is available. Please update your script.");
    
                    if (result) {
                        window.location.replace(scriptUrl);
                    }
                }
            })
            .catch(error => {
                hasIgnoredUpdate = true;
                log("Error checking for updates:", "e", error)
            });
            hasIgnoredUpdate = true;
        }
    
        // Used for debug messages
        function log(log, level, ...args) {
    
            if(!debugMessages)
                return;
    
            const prefix = '🔧 Remove Adblock Thing:';
            const message = `${prefix} ${log}`;
            switch (level) {
                case 'error':
                    console.error(`❌ ${message}`, ...args);
                    break;
                case 'log':
                    console.log(`✅ ${message}`, ...args);
                    break;
                case 'warning':
                    console.warn(`⚠️ ${message}`, ...args);
                    break;
                default:
                    console.info(`ℹ️ ${message}`, ...args);
            }        
        }
    
    })();
    Alles anzeigen

    Kann man hier finden:

    RemoveAdblockThing/Youtube-Ad-blocker-Reminder-Remover.user.js at 85cbecdc4b21525d9c0e80bafc0ddabdfa3c383a · TheRealJoelmatic/RemoveAdblockThing
    The intrusive &quot;Ad blocker are not allowed on YouTube&quot; message is annoying. This open-source project aims to address this issue by providing a…
    github.com

    bzw. hier Änderungschronik:

    History for Youtube-Ad-blocker-Reminder-Remover.user.js - TheRealJoelmatic/RemoveAdblockThing
    The intrusive &quot;Ad blocker are not allowed on YouTube&quot; message is annoying. This open-source project aims to address this issue by providing a…
    github.com

    Jetzt müsste man nur wissen ob obige Version wieder bei Boersenfeger funktioniert.

    Mfg.
    Endor

  • Der Glückwunsch-Thread

    • Endor
    • 22. Juni 2024 um 08:01

    Hallo Mathe41.
    Alles alles Gute zum Geburtstag.
    Vor allem viel Gesundheit, Glück und Wohlergehen
    wünsche ich Dir von ganzen Herzen.
    Mfg.
    Endor

  • Notepad++ Color Picker funktioniert nicht mehr. Zeigt die Farbe nicht mehr unter den #ff0000 an.

    • Endor
    • 15. Juni 2024 um 12:25

    rgb auch.
    Bei zbs. black, red usw aber nicht.

  • chronik.uc.js verhindert Links aus Lesezeichen und Symbolleiste

    • Endor
    • 15. Juni 2024 um 11:44

    Auch in Firefox 127 128 usw.

  • Notepad++ Color Picker funktioniert nicht mehr. Zeigt die Farbe nicht mehr unter den #ff0000 an.

    • Endor
    • 15. Juni 2024 um 11:41

    Ist eigentlich ganz einfach.
    Im Installationsordner von Notepad++
    gibt es einen Ordner plugins.
    Da musst Du einen neuen Ordner erstellen der QuickColorPicker
    heißt. Da rein haust Du dann aus der zip Datei die QuickColorPicker.dll
    Datei. Beim nächsten Start von Notepad++ müsste es dann vorhanden sein.

  • Notepad++ Color Picker funktioniert nicht mehr. Zeigt die Farbe nicht mehr unter den #ff0000 an.

    • Endor
    • 15. Juni 2024 um 11:02

    Nein.
    Ich verwende Notepad++ 64bit.

    Das Plugin gibt es hier:

    Release 2.2.1.1 · vinsworldcom/nppQCP
    Release 2.2.1.1 Update Scintilla interface https://community.notepad-plus-plus.org/topic/23733/move-from-deprecated-type-symbols-structures-to-valid-ones Add…
    github.com

    oder direkter download:
    https://github.com/vinsworldcom/nppQCP/releases/download/2.2.1.1/QuickColorPicker-v2.2.1.1-x64.zip

    Mfg.
    Endor

  • Automatischer Screenshot

    • Endor
    • 14. Juni 2024 um 20:34

    omar1979

    Habe ich hier auch gemacht. ;)

  • Automatischer Screenshot

    • Endor
    • 14. Juni 2024 um 20:08

    omar1979
    Ich habe im Script oben den Chinesischen Text mit Google Translate
    übersetzt daher habe ich das dann raus gefunden. ;)

    milupo
    Das hier werden wir aber noch ändern müssen:

    Code
    const Services = globalThis.Services || ChromeUtils.import("resource://gre/modules/Services.jsm").Services;
    const CustomizableUI = globalThis.CustomizableUI || ChromeUtils.import("resource:///modules/CustomizableUI.jsm").CustomizableUI;	

    Erste Zeile braucht es ja glaube ich nicht mehr,
    zweite Zeile muss ja nun so sein:

    Code
    const CustomizableUI = globalThis.CustomizableUI || ChromeUtils.importESModule("resource:///modules/CustomizableUI.sys.mjs").CustomizableUI;

    Da es hier so auch funktioniert müsste es passen.
    Wenn ja lade ich diese Version dann bei mir rauf.
    Mfg.
    Endor

  • Automatischer Screenshot

    • Endor
    • 14. Juni 2024 um 19:44

    Ja funktioniert wieder.
    Linksklick speichert den sichtbaren Bereich
    Umschalttaste + Linksklick die ganze Seite.

    jizz Thank you very much.
    It works fantastic.
    Kind regards
    Endor

  • Automatischer Screenshot

    • Endor
    • 14. Juni 2024 um 14:04

    Yes i know. Our loader is more or less the same.
    Just without the Subscriptloader from Alice.
    I hope you can help us.

    Kind regards
    Endor

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • Endor
    • 14. Juni 2024 um 14:01

    Nur als Info. Ja der Eintrag von 2002Andreas ist vorhanden.
    Aber nur ohne Script. Das Script wurde mal gemacht weil gewünscht wurde,
    dass sich das Bild im Ursprungstab öffnet. Der originale Firefox Eintrag
    öffnet das Bild ja in einem neuen Tab. Daher also das Script.
    Mfg.
    Endor

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • Endor
    • 14. Juni 2024 um 11:29

    Hallo lenny2

    Bitte mal testen:

    Code
    (function() {
    
      if (!window.gBrowser)
        return;
    
      function viewMedia(event) {
        let where = BrowserUtils.whereToOpenLink(event, false, false);
        let referrerInfo = gContextMenu.contentData.referrerInfo;
        let systemPrincipal = Services.scriptSecurityManager.getSystemPrincipal();
        if (gContextMenu.onCanvas) {
          gContextMenu._canvasToBlobURL(gContextMenu.targetIdentifier).then(function(blobURL) {
            openTrustedLinkIn(blobURL, where = "tab", {
              referrerInfo,
              triggeringPrincipal: systemPrincipal,
            });
          }, Cu.reportError);
        } else {
          urlSecurityCheck(
            gContextMenu.mediaURL,
            gContextMenu.principal,
            Ci.nsIScriptSecurityManager.DISALLOW_SCRIPT
          );
          openTrustedLinkIn(gContextMenu.mediaURL, where = "tab", {
            referrerInfo,
            forceAllowDataURI: true,
            triggeringPrincipal: gContextMenu.principal,
            csp: gContextMenu.csp,
          });
        }
      }
    
      let item = document.getElementById('context-viewimage');
      item.setAttribute('oncommand', '(' + viewMedia.toString() + ')(event);');
      item.label = 'Grafik anzeigen';
    
    })();
    Alles anzeigen
  • chronik.uc.js verhindert Links aus Lesezeichen und Symbolleiste

    • Endor
    • 14. Juni 2024 um 11:02

    Auf die Änderung hatte Speravir schon im Mai aufmerksam gemacht
    siehe hier: RE: Links aus Verlauf in neuem Tab öffnen/Tablock-Skript

    Aber was man in Firefox 129 noch ändern muss verstehe ich leider auch nicht. :/

    Mfg.
    Endor

  • chronik.uc.js verhindert Links aus Lesezeichen und Symbolleiste

    • Endor
    • 14. Juni 2024 um 10:06

    Hallo 2002Andreas

    Ja den muss man auch ändern:

    Code
    let historyPopup = document.getElementById('historyMenuPopup');
      historyPopup.setAttribute('onpopupshowing', '(' + onPopupshowing.toString() + ')()');

    aber das ändert nichts daran den in meiner Version habe ich das ja
    schon geändert. In Firefox 129 muss anscheinend noch mehr geändert werden.
    Mfg.
    Endor

  • chronik.uc.js verhindert Links aus Lesezeichen und Symbolleiste

    • Endor
    • 14. Juni 2024 um 07:36

    Prima.
    Danke für die Rückmeldung.
    Mfg.
    Endor

  • Notepad++ Color Picker funktioniert nicht mehr. Zeigt die Farbe nicht mehr unter den #ff0000 an.

    • Endor
    • 14. Juni 2024 um 07:30

    Hallo Zitronella .
    Vielen vielen Dank.
    Das war es. Nun funktioniert es wieder bestens.
    Mfg.
    Endor

Unterstütze uns!

Jährlich (2025)

92,9 %

92,9% (604,17 von 650 EUR)

Jetzt spenden
  1. Kontakt
  2. Datenschutz
  3. Impressum
Community-Software: WoltLab Suite™
Mastodon