Skip to content

Instantly share code, notes, and snippets.

@sleepiecappy
Created April 30, 2019 19:59
Show Gist options
  • Save sleepiecappy/3e2d24e92738e40324defc798855e1c6 to your computer and use it in GitHub Desktop.
Save sleepiecappy/3e2d24e92738e40324defc798855e1c6 to your computer and use it in GitHub Desktop.
custom vscode files
.windows {
/* looking good: Roboto */
font-family: "Work Sans" !important;
}
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