Last active
December 8, 2022 17:13
-
-
Save lefte/af9232932eb95bcda269db9a94c190ac to your computer and use it in GitHub Desktop.
Magento DevDocs Fixer Greasemoney/Tampermonkey Script
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 Magento DevDocs Fixer | |
// @author Erik Hanson (erik.hanson@gmail.com) | |
// @version 1.3.0 | |
// @namespace https://gist.github.com/lefte/af9232932eb95bcda269db9a94c190ac | |
// @updateURL https://gist.github.com/lefte/af9232932eb95bcda269db9a94c190ac | |
// @grant none | |
// @run-at document-idle | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js | |
// @description Allows one to browse the Magento DevDocs without the annoying opacity filter | |
// @match https://devdocs.magento.com/* | |
// @match https://support.magento.com/hc/* | |
// ==/UserScript== | |
$(function() { | |
$("<style id='devdocsfixer'>main { filter: none !important; } section .page-intro { filter: none !important; } .article-header, .article-info { opacity: initial; }</style>").appendTo("body"); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Magento DevDocs Fixer Greasemonkey User Script
Click the
Raw
button, and if you have Greasemonkey, Tampermonkey, or Violentmonkey installed, will open the dialog box to install this user script.Release Notes
v1.3.0
- Expanded scope to all DevDocs pagesv1.2.0
- Attempt to add auto-update functionality, but which may be compatible with Gistsv1.1.0
- Add support for thesupport.magento.com
subdomainv1.0.0
- Initial release of the*Monkey
script to allow browsing of the Magento DevDocs without annoying opacity filters