Created
April 12, 2022 21:18
-
-
Save mashiox/9025b56fc6574682f079db30c16d72bc to your computer and use it in GitHub Desktop.
#greasemonkey #tampermonkey #cannabis #openthc #metrc
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 Fix Metrc API Documentation Pages | |
// @namespace https://openthc.dev | |
// @version 0.1 | |
// @description Fix Metrc API Documentation Pages | |
// @author Matthew Walther | |
// @match https://api-*.metrc.com/documentation* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=metrc.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
//var selector_nav_menu_pos = Array(); | |
//selector_nav_menu_post.push('body > div > div:nth-child(2) > div.js-non-printable.nav-menu.offset-md-1'); | |
var selector = 'body > div > div:nth-child(2) > div.js-non-printable.nav-menu.offset-md-1'; | |
var el = document.querySelector(selector); | |
el.setAttribute('style', 'margin-left:0;width:85%;'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment