diff options
Diffstat (limited to 'src/content/console-frames.ts')
-rw-r--r-- | src/content/console-frames.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/content/console-frames.ts b/src/content/console-frames.ts deleted file mode 100644 index b1b9bf6..0000000 --- a/src/content/console-frames.ts +++ /dev/null @@ -1,16 +0,0 @@ -const initialize = (doc: Document): HTMLIFrameElement => { - 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: Document) => { - let ele = doc.getElementById('vimvixen-console-frame') as HTMLIFrameElement; - ele.blur(); -}; - -export { initialize, blur }; |