armcord/utils/ArmCord.js
2021-05-28 12:00:30 -04:00

15 lines
437 B
JavaScript

exports.Version = require("../package.json").version;
exports.Channel = require("../settings.json").channel;
exports.addStyle = function(styleString) {
const style = document.createElement('style');
style.textContent = styleString;
document.head.append(style);
};
exports.addScript = function (scriptString) {
var script = document.createElement("script");
script.textContent = scriptString;
document.body.append(script);
};