let html be displayed naturally

closes #83
This commit is contained in:
Pierre Dubouilh authored and Pierre Dubouilh committed 2023-07-08 15:25:11 +02:00
1 parent 7b899af6a8
commit a342c79aea
1 file changed
+3
+3
View File
@@ -99,6 +99,9 @@ window.onClickLink = e => {
} else if (isVideo(a.href) && !isVideoMode()) { } else if (isVideo(a.href) && !isVideoMode()) {
videoOn(a.href) videoOn(a.href)
return false return false
// let html be displayed naturally
} else if (a.innerText.endsWith(".html")) {
return true
} }
// else just force download // else just force download