Revision cc5f5828
| content/content.js | ||
|---|---|---|
| 99 | 99 |
if (is_privileged_url(document.URL)) |
| 100 | 100 |
return; |
| 101 | 101 |
|
| 102 |
browser.runtime.onMessage.addListener(on_page_info_request); |
|
| 103 |
repo_query_cacher.start(); |
|
| 102 |
if (window.top === window) {
|
|
| 103 |
browser.runtime.onMessage.addListener(on_page_info_request); |
|
| 104 |
repo_query_cacher.start(); |
|
| 105 |
} |
|
| 104 | 106 |
|
| 105 | 107 |
#IF MOZILLA || MV3 |
| 106 | 108 |
try {
|
Also available in: Unified diff
make popup always show information about the main frame