Subsplash Notes Dark Mode

Change SubSplash notes into Dark Mode

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Subsplash Notes Dark Mode
// @namespace    https://greasyfork.org/en/users/119330-edward-sluder
// @version      0.3
// @description  Change SubSplash notes into Dark Mode
// @author       Edward Sluder
// @match        https://notes.subsplash.com/fill-in/view?page=*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=subsplash.com
// @license MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    console.log("still working");


    // Create our own styleSheet
    var sheet = (function() {
        // Create the <style> tag
        var style = document.createElement("style");

        // WebKit hack :(
        style.appendChild(document.createTextNode(""));

        // Add the <style> element to the page
        document.head.appendChild(style);

        return style.sheet;
    })();

    // Add our style rules.
    sheet.insertRule( 'body { background-color: black }' );
    sheet.insertRule( 'body { color: #aeaeae }' );
    sheet.insertRule( '.notes ng-scope {background-color:black }' );
    sheet.insertRule( 'div.info__title.ng-binding {color: white}' );


    

})();