Skip to content

Commit

Permalink
Remove insertContentScripts calls from onBeforeRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexristich committed Apr 14, 2018
1 parent c005ae7 commit e09b8d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/webrequest.js
Expand Up @@ -73,14 +73,12 @@ function onBeforeRequest(details) {
frame_id = 0;
}

badger.insertContentScripts(tab_id, url, frame_id, is_internal);
badger.recordFrame(tab_id, frame_id, details.parentFrameId, url);

return {};
}

if (type == "sub_frame") {
badger.insertContentScripts(tab_id, url, frame_id, is_internal);
badger.recordFrame(tab_id, frame_id, details.parentFrameId, url);
}

Expand Down

0 comments on commit e09b8d5

Please sign in to comment.