Venryx / Washington Post Adblock-Popup Bypasser

// ==UserScript==
// @name         Washington Post Adblock-Popup Bypasser
// @namespace    http://tampermonkey.net/
// @version      0.0.1
// @description  Instructions: 1) Use Adblock Plus, and press "Block Element" on the subscribe/adblock popup and the panels behind it. This visually hides the popup, but doesn't restore the scrolling. (an alternative is to use this other script here: https://openuserjs.org/scripts/Zanothis/WaPo_Screen_Cleaner) 2) Enable this script, and use the "Up" and "Down" buttons at top of screen to navigate the article. (not ideal, but don't feel like figuring out how to break their scroll-disabler overall)
// @author       Venryx
// @match        https://www.washingtonpost.com/*
// @grant        none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==

(function() {
    'use strict';
    
    $("#main-content").css("position", "absolute");

    $("<button>").prependTo("body").text("Up").css("position", "fixed").css("top", 0).css("left", 200).css("z-index", 536870905333).click(()=> {
        Scroll(-300);
    });
    $("<button>").prependTo("body").text("Down").css("position", "fixed").css("top", 0).css("left", 270).css("z-index", 536870905333).click(()=> {
        Scroll(300);
    });
})();

function Scroll(amount) {
    $("#main-content").css("z-index", 1).css("background", "white");
    
    //let match = $("#main-content").css("transform").match(/\((.+)px\)/);
    let match = $("#main-content")[0].style.transform.match(/\((.+)px\)/);
    let oldScroll = parseInt(match ? match[1] : 0);
    $("#main-content").css("transform", `translateY(${oldScroll - amount}px)`);
}