mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
[PALEMOON] Add filter query to about:permissions
This commit is contained in:
parent
5d075cfe31
commit
480876a862
1 changed files with 8 additions and 0 deletions
|
|
@ -516,6 +516,14 @@ var AboutPermissions = {
|
|||
Services.obs.notifyObservers(null, "browser-permissions-preinit", null);
|
||||
|
||||
this._initPart2();
|
||||
|
||||
// Process about:permissions?filter=<string>
|
||||
// About URIs don't support query params, so do this manually
|
||||
var loc = document.location.href;
|
||||
var matches = /[?&]filter\=([^&]+)/i.exec(loc);
|
||||
if (matches) {
|
||||
this.sitesFilter.value = decodeURIComponent(matches[1]);
|
||||
}
|
||||
},
|
||||
|
||||
sitesReload: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue