Greasy Fork is available in English.

NoxLib

A collection of functions to simlify or enhance their original component

此脚本不应被直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.org/scripts/445256/1052119/NoxLib.js

脚本作者
ApeiroNox
版本
0.0.1.20220519194011
创建日期
2022-05-19
最近更新
2022-05-19
许可证
暂无

NoxLib | Library for convenience


Content

Function Usage Description
EL EL('body') minified version of document.querySelector
ELL ELL('li') minified version of document.querySelectorAll
createElement createElement('h1',{'textContent':'Heading'}) create HTMLElement and directly assign Attributes
xhttpRequest xhttpRequest(...).then(...) send httpRequest as Promise

Disclaimer


This is a collection of various functions to enhance or simplify your work-style

Some of these functions have taken inspiration from stackoverflow, w3school and other sources

You are permitted to use this Library freely