https://github.com/adeelh/tampermokey-lms-refresh
TamperMonkey/GreaseMonkey script to prevent the session timeout on IBA LMS portal
https://github.com/adeelh/tampermokey-lms-refresh
iba iba-lms-portal tampermonkey tampermonkey-userscript
Last synced: about 1 month ago
JSON representation
TamperMonkey/GreaseMonkey script to prevent the session timeout on IBA LMS portal
- Host: GitHub
- URL: https://github.com/adeelh/tampermokey-lms-refresh
- Owner: AdeelH
- License: mit
- Created: 2016-09-29T10:12:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T14:27:55.000Z (about 9 years ago)
- Last Synced: 2025-01-30T14:34:43.363Z (over 1 year ago)
- Topics: iba, iba-lms-portal, tampermonkey, tampermonkey-userscript
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tampermokey-lms-refresh
A TamperMonkey/GreaseMonkey script to prevent the session from expiring on IBA LMS portal.
Affected sites:
- http://lms.iba.edu.pk
- http://lms2.iba.edu.pk
## How it works
By default, the LMS repeatedly queries the server to get the lastAccessedTime and then compares it with the current time to see if the difference is greater than 20 minutes.
This script makes an AJAX request to the server every minute, which keeps the lastAccessedTime fresh and the difference never reaches 20 minutes.