I'm working on a module to implement more javascript functionallity for everyone.
I'd like to hear you wishes here, so i can implement it.
The GitHub project page:
https://github.com/sworteu/XJS
If you'd like to help development of XJS you'd be most welcome.
- XJS::DocumentSetTitle(title.s) sets the document title string.
Currently the localStorage is implemented. localStorage is storage which will be accessible at all times,
it will not be removed when the browser or page closes.
it has the following features:
- XJS::LocalStorageSupported() returns 0 (#True) on success and 1 (#False) on fail
- XJS::LocalStorageSetItem(item.s, value.s) sets a local storage item by item-value
- XJS::LocalStorageGetItem() returns the item or "" if not found
- XJS::LocalStorageRemoveItem(item.s) removes the item if it's found.
Edit:
XJS will be done with multiple modules, implementing features of HTML 5. Wishes and requests are welcome.
Currently i'm working on the following modules (names resemble the DOM objects used, functions will be the same as in javascript):
- storage
- webSocket
- XMLHttpRequest (same as spider but it can call other domains -cors-)
- navigator
- location (javascript window object)
More upon request.
XJS Module (Github)
XJS Module (Github)
Last edited by sworteu on Thu Feb 11, 2016 5:51 am, edited 2 times in total.
Re: [Request to all] - Features for module
Great work, you should create a GitHub repository to make your source better accessible for everyone (and get contributions easily)
Re: [Request to all] - Features for module
Done, i'm currently converting it to multiple modules, based on each javascript object.Fred wrote:Great work, you should create a GitHub repository to make your source better accessible for everyone (and get contributions easily)
They will be native javascript (uses no libraries) and multiple files to be modulair.
Will be updated soon.
Re: XJS Module (Github)
Looks good, you're officially the first spiderbasic contributor on github !
Re: XJS Module (Github)
Time for a party then.Fred wrote:Looks good, you're officially the first spiderbasic contributor on github !