Some comment and copyright updates

This commit is contained in:
2017-07-19 19:12:56 +02:00
parent 39582e0f26
commit 017bda025e
5 changed files with 12 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
function url_block_callback(details)
{
//console.log(details);
if (details.requestBody)
{
if (details.requestBody.formData)
@@ -57,7 +58,7 @@ browser.runtime.onMessage.addListener(
{
browser.webRequest.onBeforeRequest.addListener(
url_block_callback,
{urls:[request.options.url],
{"urls":[request.options.url],
"types":["main_frame"],
"tabId":tab.id,
"windowId":tab.windowId
@@ -68,7 +69,7 @@ browser.runtime.onMessage.addListener(
{
browser.webRequest.onBeforeRequest.addListener(
url_block_callback,
{urls:[request.options.url], types:["main_frame"]},
{"urls":[request.options.url], "types":["main_frame"]},
["blocking", "requestBody"]);
}
});