mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-01-28 01:59:18 +01:00
Popup does not show injections (#1043)
This commit is contained in:
parent
a86e67b29d
commit
0587988882
@ -33,7 +33,7 @@ var stateManager = {};
|
||||
stateManager.registerInjection = function (tabIdentifier, injection, url) {
|
||||
let injectionIdentifier, registeredTab, injectionCount, missingCount, initiatorDomain, listedToManipulateDOM;
|
||||
|
||||
injectionIdentifier = injection.source + injection.path + injection.version;
|
||||
injectionIdentifier = injection.source + injection.path;
|
||||
registeredTab = stateManager.tabs[tabIdentifier];
|
||||
registeredTab.injections[injectionIdentifier] = injection;
|
||||
|
||||
@ -357,7 +357,7 @@ chrome.webRequest.onErrorOccurred.addListener(function (requestDetails) {
|
||||
|
||||
chrome.webRequest.onBeforeRedirect.addListener(function (requestDetails) {
|
||||
let knownRequest = stateManager.requests[requestDetails.requestId];
|
||||
if (knownRequest) {
|
||||
if (knownRequest['targetDetails']['result'] !== false) {
|
||||
stateManager.registerInjection(
|
||||
knownRequest.tabIdentifier,
|
||||
knownRequest.targetDetails,
|
||||
|
@ -29,6 +29,10 @@
|
||||
<ul>
|
||||
<li>Popup accessibility improved (<a href="https://codeberg.org/nobody/LocalCDN/issues/1041">#1041</a>)</li>
|
||||
</ul>
|
||||
<p>Fixed</p>
|
||||
<ul>
|
||||
<li>Popup does not show injections (<a href="https://codeberg.org/nobody/LocalCDN/issues/1043">#1043</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
Loading…
x
Reference in New Issue
Block a user