Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2024-11-21 21:09:29 +08:00
commit 310c05b97a
177 changed files with 514 additions and 4888 deletions

View file

@ -176,6 +176,14 @@ function init() {
doLookup();
});
let clearDNSCache = document.getElementById("clearDNSCache");
clearDNSCache.addEventListener("click", function() {
Cc["@mozilla.org/network/dns-service;1"]
.getService(Ci.nsIDNSService)
.clearCache();
requestAllNetworkingData();
});
let setLogButton = document.getElementById("set-log-file-button");
setLogButton.addEventListener("click", setLogFile);

View file

@ -96,6 +96,8 @@
</div>
<div id="dns" class="tab" hidden="true">
<button id="clearDNSCache">&aboutNetworking.clearDNSCache;</button>
<br/><br/>
<table>
<thead>
<tr>

View file

@ -41,3 +41,4 @@
<!ENTITY aboutNetworking.dnsLookupButton "Resolve">
<!ENTITY aboutNetworking.dnsDomain "Domain">
<!ENTITY aboutNetworking.dnsLookupTableColumn "IPs">
<!ENTITY aboutNetworking.clearDNSCache "Clear DNS cache">