aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2017-11-22 18:48:45 +0000
committerGitHub2017-11-22 18:48:45 +0000
commit44527f0526eace5546f2f2cb63eba946f25b8163 (patch)
treef2f8846efd8f65c910d81585c95b3a2c3ecd1f64
parente8d0fe5f3f87b2ad753975a4485db348af7853fc (diff)
parente46f88ced3575ca8045dfeae2cecc4755a902e23 (diff)
downloadvimium-44527f0526eace5546f2f2cb63eba946f25b8163.tar.bz2
Merge pull request #2831 from mrmr1993/ff-india-times
FF: Reattach expando on every message to Frame
-rw-r--r--content_scripts/vimium_frontend.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index fa973e43..432fa7a2 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -221,6 +221,7 @@ Frame =
@port = chrome.runtime.connect name: "frames"
@port.onMessage.addListener (request) =>
+ root.extend window, root unless extend? # See #2800 and #2831.
(@listeners[request.handler] ? this[request.handler]) request
# We disable the content scripts when we lose contact with the background page, or on unload.