Greasy Fork

Songsterr Print-Enabler

Enable printing at songsterr.com

目前为 2018-06-09 提交的版本。查看 最新版本

// ==UserScript==
// @name         Songsterr Print-Enabler
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Enable printing at songsterr.com
// @author       Guitar Hero
// @grant        none
// @include *songsterr.com*
// @include songsterr.com*
// @include *songsterr.com
// @include songsterr.com
// @include www.songsterr.com*
// @include http://songsterr.com/*
// @include http://*.songsterr.com/*

// ==/UserScript==

(function() {
    'use strict';

    // Remove nag screen text
    document.querySelectorAll('section section').forEach(function(item){item.remove()});

    // Show tabs
    // (except first and last svg element)
    var svgElements = document.querySelectorAll('main svg');
    for (var i=1; i < svgElements.length - 2; i++) {
        svgElements[i].style.display = "block";
    }
})();