3.6.11 • Published 3 years ago
ushio-js v3.6.11
Ushio-js
Ushio front-end toolkit
Positioning
Ushio-js integrates a series of front-end services such as ushio-session, fp user agent recognition, ushio user system, aplayer music control, tips pop-up window management, etc. Toolkit. ushio-js is referenced by all ushio supported websites.
Instructions
Global properties page
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 menu
Page setting parameters
block_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 operation
Session method
session.set(index, val)
: set sessionsession.get(index)
: Get sessionsession.del(index)
: delete session
tips method
Fully compatible with izitoast
tips.show(params)
: show tipstips.info(params)
: display informationtips.success(params)
: success informationtips.warning(params)
: warning messagetips.error(params)
: error messagetips.question(params)
: question
jQuery
$.md5()
: Support md5 extension
3.6.11
3 years ago
3.6.10
4 years ago
3.5.3
4 years ago
3.5.2
4 years ago
3.5.1
4 years ago
3.4.15
5 years ago
3.4.14
5 years ago
3.4.12
5 years ago
3.4.11
5 years ago
3.4.10
5 years ago
3.4.9
5 years ago
3.4.7
5 years ago
3.4.6
5 years ago
3.4.5
5 years ago
3.4.4
5 years ago
3.4.3
5 years ago
3.4.2
5 years ago
3.4.1
5 years ago
3.3.8
5 years ago
3.3.7
5 years ago
3.3.6
5 years ago
3.3.4
5 years ago
3.3.3
5 years ago
3.3.2
5 years ago
3.3.1
5 years ago
3.2.5
5 years ago
3.2.2
5 years ago
2.1.1
5 years ago