UserInfo is a plugin for jQuery which is designed to aid in user filtering, banning, session control, or other situations where you need a little more information without using server-side scripting.
UserInfo basically grabs ip address, user agent, timestamp, date, and time. It also sets the data in cookies and detects if cookies are already present. This information is inserted in whatever object userinfo() is called on.
Note: The user data is retrieved from JasonLau.biz via an ajax request.
You can view a working demo at this webpage. You can also download the source-code by following the download link below.
Download: Git The Source Code
- 1.0.0 – 8.15.10 – Initial release
dateFormat: 'M d, Y',
timeFormat: 'g:i A',
Call userinfo() on any object that can hold HTML. The desired data will be inserted in the object or sent to your custom callback function for processing.
UserInfo has the following options available for customization.