mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-10-01 09:36:29 +13:00
Only top window should have type main_frame
This commit is contained in:
parent
8eb76e880c
commit
c3178cd442
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ if (self.chrome) {
|
||||||
|
|
||||||
this.connector = function(request) {
|
this.connector = function(request) {
|
||||||
var callback = function(response) {
|
var callback = function(response) {
|
||||||
if (request.message.requestId && response !== undefined) {
|
if (response !== undefined) {
|
||||||
request.target.page.dispatchMessage(
|
request.target.page.dispatchMessage(
|
||||||
request.name,
|
request.name,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue