mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
15 lines
437 B
JavaScript
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);
|
|
};
|