mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 23:08:13 -05:00
12 lines
372 B
CoffeeScript
12 lines
372 B
CoffeeScript
|
window.OmegaTargetWebBasics =
|
||
|
getLog: (callback) ->
|
||
|
callback(localStorage['log'] || '')
|
||
|
getEnv: (callback) ->
|
||
|
extensionVersion = chrome.runtime.getManifest().version
|
||
|
callback({
|
||
|
extensionVersion: extensionVersion
|
||
|
projectVersion: extensionVersion
|
||
|
userAgent: navigator.userAgent
|
||
|
})
|
||
|
getMessage: chrome.i18n.getMessage.bind(chrome.i18n)
|