diff --git a/README.md b/README.md index 80763aa75..33bb30b66 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ auto-update extensions on a daily basis (you can change this through the `extensions.update.interval` option in `about:config`). For an experimental Chrome extension, get the code as explained below and issue `make extension`. -Then open Chrome with the flag `--enable-experimental-extension-apis`, go to `Tools > Extension` -and load the (unpackaged) extension from the directory `extensions/chrome`. +Then open Chrome, go to `Tools > Extension` and load the (unpackaged) extension +from the directory `build/chrome`. ### Getting the code diff --git a/extensions/chrome/manifest.json b/extensions/chrome/manifest.json index 629e41b31..9b34437b2 100644 --- a/extensions/chrome/manifest.json +++ b/extensions/chrome/manifest.json @@ -3,7 +3,7 @@ "version": "0.1", "description": "Read PDF Document", "permissions": [ - "experimental", + "webRequest", "webRequestBlocking", "http://*/*.pdf", "file:///*/*.pdf" ], diff --git a/extensions/chrome/pdfHandler.html b/extensions/chrome/pdfHandler.html index c13e24c57..1d213bbba 100644 --- a/extensions/chrome/pdfHandler.html +++ b/extensions/chrome/pdfHandler.html @@ -1,6 +1,6 @@