zixaphir / appchan-x

The most comprehensive, feature filled 4chan userscript.
http://zixaphir.github.io/appchan-x
Other
133 stars 61 forks source link

Generic Webkit Support #369

Open iindigo opened 11 years ago

iindigo commented 11 years ago

Hello,

Is there any chance of generic webkit support being added to appchan x? I've created my own webkit browser with user script support and it works beautifully with older versions of appchan x (1.2.7 I think?) but now that this version malfunctions I've had to move up to current versions. Unfortunately, these are tethered to GreaseMonkey or Chrome. What can be done?

seaweedchan commented 11 years ago

Basically what needs to be done is to add even more $.get and $.set functions that use localstorage. Right now we have one using Chrome storage, one using Greasemonkey storage, and one using Opera's ScriptStorage, but none just using localstorage.

Shouldn't be too hard, just a little tedious, which is why we've pushed it off for so long in both Appchan and 4chan X.

iindigo commented 11 years ago

Out of curiosity, what's the advantage of using chrome storage over localstorage? Chrome supports both, does it not?

seaweedchan commented 11 years ago

It "supports" both but not very well. For example, it does not allow regular localstorage settings to be persistent across subdomains, and from what I hear it performs a little worse.

vendethiel commented 11 years ago

localStorage's file is loaded the first time something is trying to access it.