Last active
March 15, 2023 21:07
-
-
Save Miuler/f685f405fa9d1c9d4ade to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Scroll Bar Hide | |
// @namespace https://miuler.com/ | |
// @version 0.1 | |
// @description Hide the scroll bar for sites. | |
// @author Miuler | |
// @match https://www.youtube.com/* | |
// @grant unsafeWindow | |
// @grant GM_registerMenuCommand | |
// @icon https://miro.medium.com/v2/resize:fill:48:48/1*6LVWTSSvxCYaftgZH-XFMQ.jpeg | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
//GM_registerMenuCommand("Enable Scrolling", function() { | |
// enableScrolling(); | |
//}, 'r'); | |
function enableScrolling() { | |
const style = document.createElement('style'); | |
style.textContent = ` | |
body::-webkit-scrollbar{ | |
display: none; | |
} | |
`; | |
document.head.appendChild(style); | |
} | |
enableScrolling(); | |
})(); |
This file contains hidden or 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 Show InvoiceId | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @author Hector Miuler Malpica Gallegos | |
// @match https://billing.bluestarenergy.com/billing-webapp/invoice/invoiceList.html | |
// @match http://billing.bluestarenergy.com/billing-webapp/invoice/invoiceList.html | |
// @grant none | |
// ==/UserScript== | |
var invoices = document.querySelectorAll("a[idsecurity='lnkReview_InvoiceLst']"); | |
for(i in invoices) { | |
invoice = invoices[i]; | |
var salesInvoiceId = invoice.href.split("=")[1]; | |
var child = document.newElement("div"); | |
child.innerText = salesInvoiceId; | |
invoice.parentElement.appendChild(child); | |
//invoice.parentElement.appendText(salesInvoiceId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment