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
/*** MIT LICENSE | |
Copyright (c) 2022 torcado | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the | |
Software is furnished to do so, subject to the following |
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 TorcAddons-watch-json-file | |
// @namespace http://torcado.com | |
// @description provides a watch.json button, to spawn a watch.json file, and set it's contents automatically to that to be compatible with torcAddons-ManualUpdate | |
// @author torcado and J-Tech-Foundation | |
// @license MIT | |
// @icon http://torcado.com/torcAddons/icon.png | |
// @run-at document-start | |
// @grant none | |
// @include http*://glitch.com/edit/* |
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
(function() { | |
function addCSS(css){ | |
let head = document.getElementsByTagName('head')[0] || document.getElementsByTagName('html')[0]; | |
if (!head) { | |
return; | |
} | |
let style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.innerHTML = css; | |
head.appendChild(style); |
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
.CodeMirror-code .cm-variable-2 { | |
color: #9bf0f9; | |
} | |
.CodeMirror-code .cm-def { | |
color: #76f3b5; | |
} | |
.CodeMirror-code .cm-meta { | |
color: #9ea9ff; |