Ushio front-end toolkit
npm install ushio-jsUshio front-end toolkit
page.fp: device fppage.params: GET parameterspage.fpObj: parameter of fppage.ip: client ip addresspage.path: page pathpage.url: page with parameter pathpage.Timer: the length of time the page has been openedpage.openTime: the timestamp of the open pagepage.title: page titlepage.host: target hostnamepage.sid: session idpage.timezone: time zonepage.timezoneOffset: Time zone calibration parameterpage.platform: operating platformpage.userAgent: user agentpage.language: client languagepage.copyright.full: copyrightpage.auth[]: authentication information required for the pagepage.availableScreenResolution: Available screen sizepage.deviceMemory: device memorypage.group[]: page requirements for user groupspage.lang[]: the language the user knowspage.mask: page mask informationpage.nolang[]: a language that the user does not recognizepage.proj: github project address corresponding to the pagepage.tran: Translation related methodspage.showUshio(): Show Ushio menublock_aplayer: do not load aplayerblock_viewport: does not automatically adapt to mobileblock_tips: Do not load Global Tipsaplayer_playlist: play listblock_setting: Do not display the setting gearlang[]: Languages supported by the pageallow_no_cookie: Allow cookieless operationsession.set(index, val): set sessionsession.get(index): Get sessionsession.del(index): delete sessiontips.show(params): show tipstips.info(params): display informationtips.success(params): success informationtips.warning(params): warning messagetips.error(params): error messagetips.question(params): question$.md5(): Support md5 extension