We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67c7265 commit 8a3fbf3Copy full SHA for 8a3fbf3
adguard/adguard-api.js
@@ -11257,7 +11257,7 @@
11257
// Gets tab metadata
11258
var getTabMetadata = function (tabId, key) {
11259
var tab = tabs[tabId];
11260
- if (tab.url != undefined && tab.url.startWith(cloudopt.getExtUrl()) && key == "frameWhiteListRule") {
+ if (tab != undefined && tab.url != undefined && tab.url.startWith(cloudopt.getExtUrl()) && key == "frameWhiteListRule") {
11261
return {
11262
filterId: 100,
11263
isRegexRule: false,
@@ -17125,7 +17125,7 @@
17125
* @param loadCallback
17126
*/
17127
var processAbpSubscriptionUrl = function (subscriptionUrl, loadCallback) {
17128
-
+
17129
var filterMetadata = findFilterMetadataBySubscriptionUrl(subscriptionUrl);
17130
17131
if (filterMetadata) {
0 commit comments