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. Boersenfeger

Beiträge von Boersenfeger

  • About Seiten mit CSS Codes anpassen

    • Boersenfeger
    • 3. Juli 2024 um 18:05

    FuchsFan Vielen Dank, habe alles so geändert! :thumbup:

  • About Seiten mit CSS Codes anpassen

    • Boersenfeger
    • 2. Juli 2024 um 16:19

    Endor ? den hatten wir mal extra auf meine Bedürfnisse der Fensterbreite angepasst. Aber um so besser... ich lasse ihn dann so... :)

  • About Seiten mit CSS Codes anpassen

    • Boersenfeger
    • 2. Juli 2024 um 15:58

    Endor Müsste man aus Sicherheitsgründen deinen neuen Code nutzen? Mir gefällt nämlich meiner/dein Alter besser.. ;)


    Hier der Code

    CSS
        @namespace url(http://www.w3.org/1999/xhtml);
        @-moz-document url-prefix(about:logins) {
            
        html {
            background: black !important;
        }    
         
        .no-logins.initialized body login-intro{     
            scrollbar-width: none !important;
        }
        
        /* alle Button der originale graue HG weg */
        button,    
        button:hover {
        --in-content-button-background: none !important;
        --in-content-button-background-hover: none !important;
        --in-content-button-background-active: none !important;
    }
        
        .column:before {
            content: "Logins von Boersenfeger";
            margin-top: 15px !important;
            font-size: 25px !important;
            font-weight: bold !important;
            color: red !important;
        }               
        
        /* oben der Text "Zugangsdaten" */
        .count {
            color: #0f6acc !important; 
            font-size: 15px !important; 
            font-weight: bold !important;
            padding-right: 20px !important;
        }
        
           /* Einträge in der Liste Abstand von links */
        li[class="login-list-item"],
        li[class="login-list-item selected"]{
            padding-left: 25px !important;
        }
            
        /* erstes Feld linke Seite (bei Name u. Zugangsdaten) */
        div.meta {
            padding-left: 35px !important;
            padding-top: 10px !important;
            margin-top: -1px !important;
            background-color: #fffff0 !important;
        }    
        
        /* Hintergrundbox bei Button mit + Zeichen */
        div.listHeader div.create-login-button-container {
            background-color: lightblue !important;
            margin: 3px 0 0 0 !important; 
            border: 2px solid coral !important;
            box-shadow: none !important; 
        }
        div.listHeader div.create-login-button-container:hover {
            background-color: lightyellow !important;
            margin: 3px 0 0 0 !important; 
            border: 2px solid blue !important;
            box-shadow: none !important; 
        }
        
        /* rechts die Box über der blauen Linie */
        .header {
            margin-top: 20px!important;
        }
            
        .header, li {
            border-bottom: none !important;
            box-shadow: none !important;        
        }
            
        /* linke Seite unter den Einträgen Border */
        div.container ol li#new-login-list-item.login-list-item.selected,
        div.container ol section.login-list-section{
            border-bottom: 1px solid silver !important; 
            box-shadow: none !important;
        }
            
        
        /* HG für das obere rechte Feld */
        header {
            border-bottom: none !important;
            background-color: #fbe8d2 !important;
            height: 52px !important;
        }
            
        /* HG für das linke obere Feld */
        
        login-list.initialized{
            background-color: #fbe8d2 !important;
        }
    	
    	     
        .empty-search-message {
            background:#fffff0 !important;
            border-bottom: none !important; 
            box-shadow: none !important;
        }
        
        html {
            background: gainsboro !important;
        }
        
        body > h1:nth-child(2) {
            margin-top: 10px !important;
        }
        
        body {
            max-width: 1780px !important;
            max-height: 900px !important;
            margin-left: 0px  !important;
            margin-right: -5px !important;
            margin-top: 0px !important;
        }
        
        
        /* Suchfeld oben */  
        .filter,
        login-filter {
            appearance: none !important; 
            border-radius:24px !important;
            margin-left: 5px  !important;
            margin-top: 2px  !important;
            min-width: 235px !important;
            max-width: 235px !important;
        }
    	
    	    div.listHeader div.create-login-button-container button.create-login-button {
            margin-left: 65px  !important;
            margin-top: -153px  !important;
        }    
        
        .menu-button {
            fill: #e69500 !important;
        }
        
        .fxaccounts-extra-text {
            color: #0066cc !important; 
            font-weight: bold !important;
            padding-right: 30px !important;
        }
        
        div.container ol{
            background-color: beige !important;
            
        }
        
        /* HG des Suchfeldes */
        input.filter{
            background:#fffff0 !important;
        }    
            
        body {
            max-width: 1745px !important;
            max-height: 960px !important;
            margin-left: auto /* 350px */ !important;
            margin-right: auto /* 350px */ !important;
            border: 5px solid dodgerblue !important; 
            /*margin-top: 30px !important; */
        }
        
        /* rechte Seite großes Feld */
        html.official-branding.no-logins.initialized body section login-intro,
        div.container {
            max-height: 728px !important;
        }
            
        .time-created,
        body > login-list:nth-child(2), li, .header, header,
        .meta{
            box-shadow: none !important;
        }
        
        /* rechte Seite großes Feld */
        div.container {
            background: conic-gradient(at 0% 50% , beige 20%, white 30%, #64BF15 60%) !important;
            border-left: 2px solid silver !important;
        }
        
        /* links oben das erste Feld */
        .meta {
            background: conic-gradient(at 0% 50% , beige 20%, white 30%, #64BF15 60%) !important;
        }
        .meta:hover {
            background: #ffe680 !important;
        }
        
        /* linke Seite die untere Box */
        div.container ol{
            background: conic-gradient(at 0% 50% , beige 20%, white 30%, #64BF15 60%) !important;
        }
        
        #login-sort label {
            padding-left: 25px !important;
        }    
        
        .login-list-item.selected {
            background: #fff0b3 !important; 
            border-left: 2px!important;
        }
        .login-list-item.selected:hover {
            background: #ffdb4d !important;        
        }
        
        /* rechts die große Box */
        html.initialized body login-item,
        .login-selected.initialized body login-item {
            margin-left: 30px !important;
        }
        
        /* links die große Box */
        html.initialized body login-list.initialized.create-login-selected,
        .login-selected.initialized body login-list.initialized {
            margin-right: -40px !important;
            min-width: 350px !important;
            max-width: 350px !important;
            border: 0px !important;
        }
    
    
    
        
        .login-list-item {
            background-color: #FFFFF0 !important;
        }
        .login-list-item:hover {
            background-color: #ffe680 !important;
        }
            
        .login-item-title {
            color: #0066cc !important;
        }
        
        .favicon-wrapper,
        .login-item-favicon-wrapper {
            fill: #e69500 !important;
        }
        
        /* rechts blaue horizontale Linie */
        div.container div.column div.header {
            border-bottom: 2px solid dodgerblue !important;
            margin-right: -200px !important;
        }
        
        /* Popup "Neue Zugangsdaten hinzufügen" Border-Radius bei den drei Boxen */
        div.container div.column form div.detail-row label.detail-cell input{
            border-radius: 24px !important;
        }
    
        /* Button links oben "Name" */
        #login-sort {
        background: #F0F0F0 url("..//icons/Bild86.png")no-repeat !important;
        padding-left:40px !important;
        padding-right: 5px !important;
        padding-top:  4px!important; 
        padding-bottom: 0px!important; 
        background-position:10px 7px!important;
        font-size:14.0px!important;
        border-style: outset !important;
        border-left-color:  lightblue!important;
        border-top-color:  lightblue!important;
        border-right-color:  dodgerblue!important;
        border-bottom-color:  dodgerblue!important;
        border-width:2px !important;
        color:black !important;
        margin-left: -15px !important;
        max-width: 160px  !important;
        }
        
        #login-sort:hover {
        background: #B2EDFA url("..//icons/Bild86.png")no-repeat !important;
        padding-left:40px!important ;
        border-style: outset !important;
        border-width:2px !important;
        border-left-color:  #bbddff !important;
        border-top-color:  #bbddff !important;
        border-right-color:  #11508d !important;
        border-bottom-color:  #11508d !important;
        background-position:10px 5px!important;
        }
        
        /* Button bearbeiten */
        .edit-button {
        appearance:none!important;
        height: 32px !important;
        background: #F0F0F0 url("..//icons/Bild67.png")no-repeat !important;
        margin-right: 20px !important;
        padding: 0 5px 0 25px !important;
        background-position:14px 7px!important;
        font-size:14.0px!important;
        border: 1px solid dodgerblue !important;
        border-radius:16px !important;
        color:black !important; 
        }
    
        .edit-button:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild67.png")no-repeat !important;
        border: 1px solid coral !important;
        background-position:14px 7px!important;
        padding: 0 5px 0 25px !important;
        }
        /* Text im Button verlagert */
        button.ghost-button span {
        margin-top: -3px !important;
        }
    
        /* Button "Entfernen" */
        .delete-button {
        appearance:none!important;
        height: 32px !important;
        background: #F0F0F0 url("..//icons/Bild8.gif")no-repeat !important;
        padding: 0 5px 0 25px !important;
        background-position:14px 7px!important;
        font-size:14.0px!important;
        border: 1px solid dodgerblue !important;
        border-radius:16px !important;
        color:black !important; 
        }
        
        .delete-button:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild8.gif")no-repeat !important;
        border: 1px solid coral !important;
        background-position:14px 7px!important;
        padding: 0 5px 0 25px !important;
        }    
    
        /* Button "Kopieren" (Namen) */
        div.detail-row login-command-button.copy-button.copy-username-button {
        appearance:none!important;
        height: 30px !important;
        background: #F0F0F0 url("..//icons/Bild73.png")no-repeat !important;
        padding: 0 5px 0 35px !important;
        background-position:15px 6px!important;
        background-size: 18px 18px !important;
        font-size:14.0px!important;
        border: 1px solid dodgerblue !important;
        border-radius:16px!important;
        color:black !important; 
        }
    
        div.detail-row login-command-button.copy-button.copy-username-button:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild73.png")no-repeat !important;
        padding: 0 5px 0 35px !important;
        border: 1px solid coral !important;
        background-position:15px 6px!important;
        background-size: 18px 18px !important;
        }
        
        /* originale Icons in den Button ausgeblendet */
        .ghost-button > img:nth-child(1) {
        display: none !important;
        }
    
        /* Button "Kopieren" (Passwort) */
        div.detail-row login-command-button.copy-button.copy-password-button {
        appearance:none!important;
        height: 30px !important;
        background: #F0F0F0 url("..//icons/Bild74.png")no-repeat !important;
        padding: 0 5px 0 35px !important;
        background-position:15px 6px!important;
        background-size: 18px 18px !important;
        font-size:14.0px!important;
        border: 1px solid dodgerblue !important;
        border-radius:16px!important;
        color:black !important; 
        }
    
        div.detail-row login-command-button.copy-button.copy-password-button:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild74.png")no-repeat !important;
        padding: 0 5px 0 35px !important;
        border: 1px solid coral !important;
        background-position:15px 6px!important;
        background-size: 18px 18px !important;
        }
        /* Text im Button verlagert */
        button:nth-child(3) > span:nth-child(1){    
        margin-top: -3px !important;
        }        
            
        /* für Button "Kopieren" die Länge */    
        div.detail-row login-command-button.copy-button.copy-username-button,
        div.detail-row login-command-button.copy-button.copy-password-button {
        min-width: 120px !important;
        }
    
        
        /* Button "Adresse der Website" */
        .origin-input {
        appearance:none!important;
        background: #F0F0F0 url("..//icons/Bild75.png")no-repeat !important;
        padding: 2px 40px 6px 45px !important;
        background-position:15px 5px!important;
        background-size: 18px 18px !important;
        font-size:14.0px!important;
        border: 1px solid dodgerblue !important;
        border-radius:16px!important;
        color:black !important; 
        }
    
        .origin-input:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild75.png")no-repeat !important;
        padding: 2px 40px 6px 45px !important;
        background-position:15px 5px!important;
        background-size: 18px 18px !important;
        font-size:14.0px!important;
        border: 1px solid coral !important;
        border-radius:16px!important;
        color:black !important; 
        }    
        
        .fxaccounts-enable-button {
        appearance:none!important;
        background: #F0F0F0 url("..//icons/Bild83.png")no-repeat !important;
        padding-left:35px!important;
        padding-top:  2px!important; 
        padding-bottom: 4px!important; 
        background-position:10px 6px!important;
        color:black!important;
        font-size:14px!important;
        text-decoration:none!important;
        padding-right:25px!important;
        border-left-color:  lightblue!important;
        border-top-color:  lightblue!important;
        border-right-color:  dodgerblue!important;
        border-bottom-color:  dodgerblue!important;
        border-style: outset !important;
        border-width:2px !important;
        border-radius:16px!important;
        }
    
        .fxaccounts-enable-button:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild83.png")no-repeat !important;
        background-position:10px 6px!important;
        border-style: outset !important;
        border-width:2px !important;
        border-left-color:  #bbddff !important;
        border-top-color:  #bbddff !important;
        border-right-color:  #11508d !important;
        border-bottom-color:  #11508d !important;
        }    
    
        /* Button "Speichern" im Menü "Neu" */
        .save-changes-button {
        appearance:none!important;
        background: #F0F0F0 url("..//icons/Bild87.png")no-repeat !important;
        padding: 0 25px 0 45px !important;
        background-position:15px 6px!important;
        background-size: 17px 17px !important;
        font-size:14.0px!important;
        border: 1px solid dodgerblue !important;
        border-radius:16px!important;
        color:black !important; 
        }
        
        .save-changes-button:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild87.png")no-repeat !important;
        padding: 0 25px 0 45px !important;
        border: 1px solid coral !important;
        background-position:15px 6px!important;
        background-size: 17px 17px !important;
        }
            
        /* Button "Abbrechen" im Menü "Neu" */
        .cancel-button {
        appearance:none!important;
        background: #F0F0F0 url("..//icons/Bild88.png")no-repeat !important;
        padding: 0 25px 0 45px !important;
        background-position:15px 6px!important;
        background-size: 17px 17px !important;
        font-size:14.0px!important;
        border: 1px solid dodgerblue !important;
        border-radius:16px!important;
        color:black !important; 
        }
        
        .cancel-button:hover {
        appearance:none!important;
        background: #B2EDFA url("..//icons/Bild88.png")no-repeat !important;
        padding: 0 25px 0 45px !important;
        border: 1px solid coral !important;
        background-position:15px 6px!important;
        background-size: 17px 17px !important;
        }        
        
        /* Auge vor Passwort kopieren */
        .reveal-password-checkbox {
            fill: #0070ff !important;
        }
        .reveal-password-checkbox:hover {
            fill: #c32148 !important;
        }
        
        /* Web-Adresse im Menü "Neu" linker Abstand */
        div.container div.column form div.detail-row label.detail-cell input{
        padding-left: 15px !important;
        }
        
        /* Überschrift im Menü "Neu" */
        div.container div.column div.header h2.title span.new-login-title {
        color: #006b3c !important;
        }
        /* das Welt-Icon davor */ 
        div.container div.column div.header img.login-item-favicon {
        fill: brown !important;
        }
    
        /* Drei-Punkte-Button oben rechts */
        button.menu-button.ghost-button {
            background-color: lightblue !important;
            border: 2px solid orange !important;
            border-radius: 0 !important;
            fill: green !important;        
        }
        button.menu-button.ghost-button:hover {
            background-color: greenyellow !important;
            border: 2px solid crimson !important;
            fill: red !important;        
        }
        /* Menü hinter Drei-Punkte-Button */
        ul.menu button.menuitem-button {
            background-color: beige !important;
            border: 1px solid silver !important;
            margin-top: 2px !important;
        }
        ul.menu button.menuitem-button:hover {
            background-color: greenyellow !important;
            border: 1px solid coral !important;
        }    
        
        .meta-info:first-of-type::before {
            border-top: none  !important;
        }    
        
        /* Popup-Menü hinter Dreipunkte-Button - die Button */
        .menu {
            border: 3px solid dodgerblue !important;
            padding: 5px !important;
        }
    
        .menuitem-import-browser {
            width: 100% !important;
            height: 24px !important;
            fill:  green !important;
            color: black!important;
        }
        
        .menuitem-export {
            width: 100% !important;
            height: 24px !important;
            fill:  orange !important;
            color: black !important;
        }
        
        .menuitem-import {
            width: 100% !important;
            height: 24px !important;
            fill:  #cc3300!important;
            color: black !important;
        }
        
        .menuitem-import-file {
            width: 100% !important;
            height: 24px !important;
            fill:  blue !important;
            color: black !important;
        }
        
        .menuitem-remove-all-logins {
            width: 100% !important;
            height: 24px !important;
            fill:  #cc3300!important;
            color: black !important;
            margin-left: -1px !important;
        }
        
        .menuitem-help {
            width: 100% !important;
            height: 24px !important;
            fill: blue!important;
            color: black !important;
        }
        
        .menuitem-preferences {
            width: 100% !important;
            height: 24px !important;
            fill: dodgerblue!important;
            color: blue !important;
            font-weight: 600 !important;
        }    
        
        .menuitem-mobile[data-l10n-id="menu-menuitem-android-app"] {
            width: 100% !important;
            height: 24px !important;
            fill: #33cc33!important;
            color: black!important;
        }
    
        .menuitem-mobile[data-l10n-id="menu-menuitem-iphone-app"] {
            width: 100% !important;
            height: 24px !important;
            fill: #9900ff!important;
            color: black!important;
        }
    
    	/* Bearbeiten und Entfernen einfärben */
    
    	.action-buttons edit-button,
    	.action-buttons delete-button {
    	border-radius: 5px !important;
    	--in-content-button-background-hover:  blue !important;
    	--in-content-button-text-color:  white !important;
    	--in-content-button-text-color-hover: white !important;
    	}
    
    	.action-buttons edit-button {
    	background-color: red !important;
    	margin-right: 5px !important;
    	}
      
    	.action-buttons delete-button {
    	background-color: green !important;
    	}
    	}
    Alles anzeigen
  • Formularfeld speichert keine Eingabe mehr

    • Boersenfeger
    • 1. Juli 2024 um 15:24
    Zitat von Sören Hentzschel
    Zitat von Boersenfeger

    Eine Rückmeldung darüber, wie sich das Verhalten mit einem neuen, nackten Profil darstellt sollte Aufschluss bringen.

    Ein neues Profil wurde doch schon getestet.

    Nein, es wurde ein neues Profil erstellt mit Recovery von Passwörtern und Lesezeichen und nach Installation von UBlock Origin.

  • Formularfeld speichert keine Eingabe mehr

    • Boersenfeger
    • 29. Juni 2024 um 10:48

    Eine Rückmeldung darüber, wie sich das Verhalten mit einem neuen, nackten Profil darstellt sollte Aufschluss bringen.

  • Benutzt eigentlich noch jemand das "Suchfeld"?

    • Boersenfeger
    • 29. Juni 2024 um 09:46

    Danke, dann bin ich erst mal beruhigt... ;)

  • Über 110.000 Websites verteilen Malware durch Supply-Chain-Attacke

    • Boersenfeger
    • 29. Juni 2024 um 09:45
    Zitat von BrokenHeart

    Hier:

    Vielen Dank! :):thumbup:

  • Über 110.000 Websites verteilen Malware durch Supply-Chain-Attacke

    • Boersenfeger
    • 28. Juni 2024 um 18:10
    Zitat von BrokenHeart

    In uBlock Origin Ist die Domain jetzt standardmäßig als Malware-Site gelistet:

    Wo findet man die Auflistung in uBlockOrigin?

  • Benutzt eigentlich noch jemand das "Suchfeld"?

    • Boersenfeger
    • 28. Juni 2024 um 14:27
    Zitat von Speravir

    Falls Du nicht selbst bei Aris nachfragen willst: Was konkret willst Du denn geändert haben?

    .. wie man für den Fall, dass Mozilla die Suchleiste entfernt, diese wieder zum Leben erweckt....:)

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

    • Boersenfeger
    • 27. Juni 2024 um 17:52

    Jetzt habe ich zwar die Buttons zurück, aber kein Bild mehr.... auch nicht mehr mit der 5.5. Ich lasse das Script jetzt deaktiviert...

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

    • Boersenfeger
    • 27. Juni 2024 um 17:40

    Gerade mal getestet, in der Version 5.5 ist das noch funktionabel. Jetzt nervt aber die UpDate Aufforderung.. ^^

    Damit werde ich leben können. Ich setze das Thema auf gelöst und danke für die Teilnahme! :thumbup:

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

    • Boersenfeger
    • 27. Juni 2024 um 15:20

    Ja, nee is klar... Ich frage hier nach, weil ich auf GitHub wieder radebrechend denglisch kommunizieren muss.
    Was soll mir der 2. Satz sagen?
    Du hast keine Werbung auf Youtube (schön, ist aber unrelevant für mich) oder ist das eine Aufforderung an mich?
    Es geht mir nicht um die Werbung, es geht um die Anzeige der Bildeinstellgrößen...

  • Was hört Ihr gerade?

    • Boersenfeger
    • 26. Juni 2024 um 16:57

    Die größten Hits und ihre Geschichte

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

    • Boersenfeger
    • 26. Juni 2024 um 16:48

    Seit vor 3 Tagen das o.a. Script aktualisiert wurde, sind die Größen Miniplayer, Kinomodus verschwunden.

    CSS
    // ==UserScript==
    // @name         Remove Adblock Thing
    // @namespace    http://tampermonkey.net/
    // @version      5.6
    // @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;
    
        // Fix timestamps in the youtube comments for new method
        const fixTimestamps = 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();
        if (fixTimestamps) timestampFix();
    
        // 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
        // undetected adblocker method
        function removeAds() {
            log("removeAds()");
    
            setInterval(() => {
    
                if (window.location.href !== currentUrl) {
                    currentUrl = window.location.href;
                    isVideoPlayerModified = false;
                    clearAllPlayers();
                    removePageAds();
                }
    
                // Fix for youtube shorts
                if (window.location.href.includes("shorts")) {
                    log("Youtube shorts detected, ignoring...");
                    return;
                }
    
                if (isVideoPlayerModified){
                    removeAllDuplicateVideos();
                    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;
                }
    
                /**
                 * remove the "Ad blockers violate YouTube's Terms of Service" screen for safari
                 */
                let errorScreen = document.querySelector("#error-screen");
                if (errorScreen) {
                    errorScreen.remove();
                }
                
                //
                // Get the video ID from the URL
                //
    
                let videoID = '';
                let playList = '';
                let timeStamp = '';
                const url = new URL(window.location.href);
                const urlParams = new URLSearchParams(url.search);
    
                if (urlParams.has('v')) {
                    videoID = urlParams.get('v');
                } else {
                    const pathSegments = url.pathname.split('/');
                    const liveIndex = pathSegments.indexOf('live');
                    if (liveIndex !== -1 && liveIndex + 1 < pathSegments.length) {
                        videoID = pathSegments[liveIndex + 1];
                    }
                }
    
                if (urlParams.has('list')) {
                    playList = "&listType=playlist&list=" + urlParams.get('list');
                }
    
                if (urlParams.has('t')) {
                    timeStamp = "&start=" + urlParams.get('t').replace('s', '');
                }
    
                if (!videoID) {
                    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 removeAllDuplicateVideos() {
            const videos = document.querySelectorAll('video');
    
            videos.forEach(video => {
                if (video.src.includes('www.youtube.com')) {
                    video.muted = true;
                    video.pause();
                    video.addEventListener('volumechange', function() {
                        if (!video.muted) {
                            video.muted = true;
                            video.pause();
                            log("Video unmuted detected and remuted");
                        }
                    });
                    video.addEventListener('play', function() {
                        video.pause();
                        log("Video play detected and repaused");
                    });
    
                    log("Duplicate video found and muted");
                }
            });
        }
    
        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 (✔️)");
        }
    
        function changeTimestamp(timestamp) {
            const videoPlayerElements = document.querySelectorAll('.html5-video-player');
            videoPlayerElements.forEach(videoPlayerElement => {
                const iframes = videoPlayerElement.querySelectorAll('iframe');
                iframes.forEach(iframe => {
                    if (iframe.src.includes("&start=")) {
                        iframe.src = iframe.src.replace(/&start=\d+/, "&start=" + timestamp);
                    } else {
                        iframe.src += "&start=" + timestamp;
                    }
                });
            });
        }
    
        function timestampFix() {
            document.addEventListener('click', function(event) {
                const target = event.target;
    
                if (target.classList.contains('yt-core-attributed-string__link') && target.href.includes('&t=')) {
                    event.preventDefault();
                    const timestamp = target.href.split('&t=')[1].split('s')[0];
                    log(`Timestamp link clicked: ${timestamp} seconds`);
                    changeTimestamp(timestamp);
                }
            });
        }
    
        function observerCallback(mutations) {
            let isVideoAdded = mutations.some(mutation => 
                Array.from(mutation.addedNodes).some(node => node.tagName === 'VIDEO')
            );
    
            if (isVideoAdded) {
                log("New video detected, checking for duplicates.");
                // Ignore for youtube shorts
                if (window.location.href.includes("shorts")) {
                    log("Youtube shorts detected, ignoring...");
                    return;
                }
                removeAllDuplicateVideos();
            }
        }
    
        const observer = new MutationObserver(observerCallback);
        observer.observe(document.body, { childList: true, subtree: true });
    
        //
        // 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

    Könnte ein Findiger dies aus dem Script wieder entfernen?

    Ggf. liegt es daran, dass ich Violentmonkey nutze? Das war schon früher mal ein Problem. Da mussten Kleinigkeiten im Code angepasst werden.

  • Über 110.000 Websites verteilen Malware durch Supply-Chain-Attacke

    • Boersenfeger
    • 26. Juni 2024 um 15:48

    // Mira_Belle dieses Thema haben wir doch nun wirklich schon oft bis zum Erbrechen mit dir durch dekliniert. Ich weiß wirklich nicht, wieso du dies immer wieder auf den Markt schmeißt und damit Mitlesende verunsicherst.
    Höre auf, die Fakten so lange zu verdrehen bis es dir passt, vielen Dank!

  • Was schaut ihr gerade?

    • Boersenfeger
    • 26. Juni 2024 um 13:54

    Butterfly von Crazy Town

    Sad Story of Crazy Town Englisch

    RIP Shifty Shellshock

  • In memoriam

    • Boersenfeger
    • 26. Juni 2024 um 13:47

    Shifty Shellshock aka Seth Binzer Mitgründer und Rapper der Crossover Band Crazy Town ist im Alter von 49 Jahren gestorben.
    Der größte Hit war vermutlich Butterfly aus dem Jahr 2000!
    Eine Todesursache ist nicht bekannt. Drogen- und Alkoholprobleme waren in der Vergangenheit aber ständiger Begleiter des Musikers.

    RIP

  • Benutzt eigentlich noch jemand das "Suchfeld"?

    • Boersenfeger
    • 23. Juni 2024 um 15:57
    Zitat von Sören Hentzschel

    Wichtig wäre natürlich auch, dass möglichst alle, die Mozilla zeigen wollen, dass sie die separate Suchleiste nutzen, Telemetrie aktiviert haben. Sonst zieht Mozilla das nicht. ;)

    Die ist hier im Nightly, meinem Hauptbrowser sowieso aktiv ;)

  • Benutzt eigentlich noch jemand das "Suchfeld"?

    • Boersenfeger
    • 23. Juni 2024 um 15:25

    Sören Hentzschel Danke soweit! Die Frage nach einer ggf. für mich nötigen Möglichkeit der Änderung via Script wurde leider nicht besprochen..

  • Benutzt eigentlich noch jemand das "Suchfeld"?

    • Boersenfeger
    • 23. Juni 2024 um 14:52

    Sören Hentzschel Gibt es ein Ticket dazu, wo man ggf. seine Meinung hinterlegen kann, dass die Möglichkeit zur Nutzung NICHT entfernt wird?

    Wenn dies fruchtlos ist/bleibt, kann man die Funktion via Script beibehalten?

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