-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.db.json
15 lines (15 loc) · 3.19 KB
/
example.db.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"changelog" : [ "FooBar" ],
"news" : [ "FooBar" ],
"scripts" : {
"core" : [ {
"author" : "Ryan Keller",
"code" : "const jsAPI = ['top', 'window', 'location', 'external', 'chrome', 'document', 'inlineCSS', 'target', 'width', 'height', 'canvas', 'data', 'DOMURL', 'img', 'svg', 'ctx', 'url', 'w', 'a', 'speechSynthesis', 'webkitNotifications', 'localStorage', 'sessionStorage', 'applicationCache', 'webkitStorageInfo', 'indexedDB', 'webkitIndexedDB', 'crypto', 'CSS', 'performance', 'console', 'devicePixelRatio', 'styleMedia', 'parent', 'opener', 'frames', 'self', 'defaultstatus', 'defaultStatus', 'status', 'name', 'length', 'closed', 'pageYOffset', 'pageXOffset', 'scrollY', 'scrollX', 'screenTop', 'screenLeft', 'screenY', 'screenX', 'innerWidth', 'innerHeight', 'outerWidth', 'outerHeight', 'offscreenBuffering', 'frameElement', 'clientInformation', 'navigator', 'toolbar', 'statusbar', 'scrollbars', 'personalbar', 'menubar', 'locationbar', 'history', 'screen', 'postMessage', 'close', 'blur', 'focus', 'ondeviceorientation', 'ondevicemotion', 'onunload', 'onstorage', 'onresize', 'onpopstate', 'onpageshow', 'onpagehide', 'ononline', 'onoffline', 'onmessage', 'onhashchange', 'onbeforeunload', 'onwaiting', 'onvolumechange', 'ontimeupdate', 'onsuspend', 'onsubmit', 'onstalled', 'onshow', 'onselect', 'onseeking', 'onseeked', 'onscroll', 'onreset', 'onratechange', 'onprogress', 'onplaying', 'onplay', 'onpause', 'onmousewheel', 'onmouseup', 'onmouseover', 'onmouseout', 'onmousemove', 'onmouseleave', 'onmouseenter', 'onmousedown', 'onloadstart', 'onloadedmetadata', 'onloadeddata', 'onload', 'onkeyup', 'onkeypress', 'onkeydown', 'oninvalid', 'oninput', 'onfocus', 'onerror', 'onended', 'onemptied', 'ondurationchange', 'ondrop', 'ondragstart', 'ondragover', 'ondragleave', 'ondragenter', 'ondragend', 'ondrag', 'ondblclick', 'oncuechange', 'oncontextmenu', 'onclose', 'onclick', 'onchange', 'oncanplaythrough', 'oncanplay', 'oncancel', 'onblur', 'onabort', 'onwheel', 'onwebkittransitionend', 'onwebkitanimationstart', 'onwebkitanimationiteration', 'onwebkitanimationend', 'ontransitionend', 'onsearch', 'getSelection', 'print', 'stop', 'open', 'showModalDialog', 'alert', 'confirm', 'prompt', 'find', 'scrollBy', 'scrollTo', 'scroll', 'moveBy', 'moveTo', 'resizeBy', 'resizeTo', 'matchMedia', 'requestAnimationFrame', 'cancelAnimationFrame', 'webkitRequestAnimationFrame', 'webkitCancelAnimationFrame', 'webkitCancelRequestAnimationFrame', 'captureEvents', 'releaseEvents', 'atob', 'btoa', 'setTimeout', 'clearTimeout', 'setInterval', 'clearInterval', 'TEMPORARY', 'PERSISTENT', 'getComputedStyle', 'getMatchedCSSRules', 'webkitConvertPointFromPageToNode', 'webkitConvertPointFromNodeToPage', 'webkitRequestFileSystem', 'webkitResolveLocalFileSystemURL', 'openDatabase', 'addEventListener', 'removeEventListener', 'dispatchEvent']; let globals = {}; Object.keys(window).forEach((global) => { if (jsAPI.includes(global) === false) { globals[global] = global; } }); RETURN(globals);",
"description" : "Find all unique, application-specific variables",
"group" : "Inspection",
"id" : "ce8d440e-d6f6-4f8e-a405-25dc6b022edb",
"name" : "Get Global State",
"version" : 0.2
} ]
}
}