Skip to content

Instantly share code, notes, and snippets.

@Dan-Q
Created July 22, 2024 16:47
Show Gist options
  • Save Dan-Q/f7d16fc4596357b58602415942d5260e to your computer and use it in GitHub Desktop.
Save Dan-Q/f7d16fc4596357b58602415942d5260e to your computer and use it in GitHub Desktop.
Highlight when you're on WCCOM Production so you don't break it by accident. I'm talking to you, Future Dan!
// ==UserScript==
// @name WCCOM Production Highlight
// @namespace prodhighlight.wccom.danq.me
// @match https://woocommerce.com/*
// @grant GM_addStyle
// @version 1.0
// @author Dan Q
// @description Don't break production WCCOM, Dan! Remind yourself when you're on it with a highlight.
// ==/UserScript==
GM_addStyle(`
#wpadminbar, .edit-post-header {
background-color: #cf4944;
}
html {
border-left: 10px solid #cf4944;
border-right: 10px solid #cf4944;
}
`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
OSZAR »