Created
April 30, 2019 19:59
-
-
Save sleepiecappy/3e2d24e92738e40324defc798855e1c6 to your computer and use it in GitHub Desktop.
custom vscode files
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
.windows { | |
/* looking good: Roboto */ | |
font-family: "Work Sans" !important; | |
} |
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
const removeUnsupported = () => { | |
const titles = document.getElementsByClassName('window-title'); | |
if (titles && titles.length > 0) { | |
const title = titles[0]; | |
console.log("Current Title: ", title.innerHTML, "\nChanging..."); | |
const newTitle = title.innerHTML.split("[Unsupported]")[0].trim(); | |
title.innerHTML = newTitle; | |
} else { | |
console.log("Custom JS: No Title Found"); | |
} | |
} | |
setInterval(removeUnsupported, 10000); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment