standartjsxp
v1.0.0
Published
Advanced PureJS Tools.
Downloads
3
Maintainers
Readme
Using
const standartjsxp = require("standartjsxp");
Commands => HTML Arguments
standartjsxp.html_setattribute(id, attribute, value);
ID - ID of object to set attribute
Attribute - Attribute to set
Value - Value to set
Example: standartjsxp.html_setattribute("buttonToDownload", "disabled", "true");
standartjsxp.html_removeattribute(id, attribute);
ID - ID of object where remove argument
Attribute - Attribute to remove
Example: standartjsxp.html_removeattribute("buttonToDownload", "disabled");
standartjsxp.html_enableobject(id);
ID - ID of object to enable
Example: standartjsxp.html_enableobject("buttonToDownload");
standartjsxp.html_disableobject(id);
ID - ID of object to disable
Example: standartjsxp.html_disableobject("buttonToDownload");
Commands => Redirects
standartjsxp.redirect_noback(url);
Redirects without back button (so you can't go back with back button)
URL - URL to redirect
Example: elextronjsxp.redirect_noback("https://test.website/second.html");
standartjsxp.redirect(url);
Redirects with back button (so you can go back with back button)
URL - URL to redirect
Example: elextronjsxp.redirect("https://test.website/second.html");
Commands => Other
standartjsxp.test();
Example: standartjsxp.test();
Example - Result: standartjsxp v.1.0.2 by StopperTech. Advanced Electron Tools
Example - Result: If you see this, standartjsxp is working fine!