armcord/utils/ArmCord.js

16 lines
437 B
JavaScript
Raw Normal View History

2021-05-09 19:48:24 +00:00
exports.Version = require("../package.json").version;
2021-05-09 19:38:06 +00:00
2021-05-28 16:00:30 +00:00
exports.Channel = require("../settings.json").channel;
2021-05-09 16:57:48 +00:00
exports.addStyle = function(styleString) {
const style = document.createElement('style');
style.textContent = styleString;
document.head.append(style);
};
2021-05-09 19:38:06 +00:00
exports.addScript = function (scriptString) {
var script = document.createElement("script");
2021-05-09 16:57:48 +00:00
script.textContent = scriptString;
document.body.append(script);
2021-05-09 19:38:06 +00:00
};