armcord/utils/ArmCord.js
2021-05-10 09:50:04 +02:00

13 lines
381 B
JavaScript

exports.Version = require("../package.json").version;
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);
};