Created
October 25, 2022 18:11
-
-
Save mcarlucci/d18b9a7506978aee5ddbfd8bc56c306d to your computer and use it in GitHub Desktop.
Tealium UI Kit Coverage Visualization Tool
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 tealium-ui-kit-coverage | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Tealium UI Kit Coverage Visualization Tool | |
// @author Matt Carlucci | |
// @match https://*.tealiumiq.com/* | |
// @match https://localhost:8080/* | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const styleTag = document.createElement('style'); | |
styleTag.innerHTML = '[class*=tealium-ui-kit] { background-color: rgba(76, 175, 80, 0.3); border: 1px solid rebeccapurple }'; | |
document.body.insertAdjacentElement("beforeend", styleTag); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment