We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given the settings array is a simple list of key value pairs, its easy to construct a corresponding URL:
var settings = [{"name":"appVersion","value":"0.5.0"},{"name":"appLang","value":"en-US"},{"name":"cloudStorage","value":"dropbox"},{"name":"pagination","value":"10"},{"name":"editMode","value":"preview"},{"name":"encrypt","value":1},{"name":"encryptPass","value":[-123,-123,123,123,123,123,123,123]},{"name":"encryptSalt","value":"-123,123"},{"name":"encryptIter","value":"1000"},{"name":"encryptTag","value":"64"},{"name":"encryptKeySize","value":"128"},{"name":"navigateTop","value":"k"},{"name":"navigateBottom","value":"j"},{"name":"jumpInbox","value":"g i"},{"name":"jumpNotebook","value":"g n"},{"name":"jumpFavorite","value":"g f"},{"name":"jumpRemoved","value":"g t"},{"name":"actionsEdit","value":"e"},{"name":"actionsOpen","value":"o"},{"name":"actionsRemove","value":"shift+3"},{"name":"actionsRotateStar","value":"s"},{"name":"appCreateNote","value":"c"},{"name":"appSearch","value":"/"},{"name":"appKeyboardHelp","value":"?"}] function buildParam(setting) { return encodeURIComponent(setting.name) + '=' + encodeURIComponent(setting.value); } function buildParams(settings) { return settings.reduce(function(prev, curr){ if (typeof prev != 'string') { prev = buildParam(prev); } return prev += '&' + buildParam(curr); }); } buildParams(settings);
Perhaps QR codes would be a near addition to follow.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given the settings array is a simple list of key value pairs, its easy to construct a corresponding URL:
Perhaps QR codes would be a near addition to follow.
The text was updated successfully, but these errors were encountered: