diff options
Diffstat (limited to 'src/console/frames.js')
-rw-r--r-- | src/console/frames.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/console/frames.js b/src/console/frames.js deleted file mode 100644 index 3f06466..0000000 --- a/src/console/frames.js +++ /dev/null @@ -1,18 +0,0 @@ -import './console-frame.scss'; - -const initialize = (doc) => { - let iframe = doc.createElement('iframe'); - iframe.src = browser.runtime.getURL('build/console.html'); - iframe.id = 'vimvixen-console-frame'; - iframe.className = 'vimvixen-console-frame'; - doc.body.append(iframe); - - return iframe; -}; - -const blur = (doc) => { - let iframe = doc.getElementById('vimvixen-console-frame'); - iframe.blur(); -}; - -export { initialize, blur }; |