[CRX] Fall back to sender.tab.url if !tab.url
sender.url is relatively new (Chromium 29) ( https://chromiumcodereview.appspot.com/14301016 )
This commit is contained in:
parent
520fdf2f6a
commit
aeaf11ca43
3 changed files with 7 additions and 6 deletions
|
@ -145,7 +145,9 @@ var PDFHistory = {
|
|||
// window.history.pushState(stateObj, '');
|
||||
//#endif
|
||||
//#if CHROME
|
||||
// chrome.runtime.sendMessage('showPageAction');
|
||||
// if (top === window) {
|
||||
// chrome.runtime.sendMessage('showPageAction');
|
||||
// }
|
||||
//#endif
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue