mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-30 20:10:24 +12:00
Only top window should have type main_frame
This commit is contained in:
parent
8eb76e880c
commit
c3178cd442
|
@ -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