mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -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)
|