Last active
March 5, 2021 09:39
-
-
Save dacer/4352b0b1851bea012b21f2363eb19ba0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Amazon invoice compressor | |
// @namespace https://dacer.im/ | |
// @version 0.1 | |
// @description Remove amazon invoice page's custom font | |
// @author Dacer | |
// @grant none | |
// @match https://www.amazon.co.jp/gp/css/summary/print.html/* | |
// ==/UserScript== | |
// USAGE: | |
// 1. Install https://violentmonkey.github.io/get-it/ | |
// 2. Click the 'Raw' in this page (at the top-right corner ↗) | |
// 3. Click the 'Confirm Installation' in the popup window | |
// DONE! | |
(function() { | |
'use strict'; | |
var sheet = window.document.styleSheets[0]; | |
sheet.insertRule('* {font-family: Arial !important;}', sheet.cssRules.length); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment