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