mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-06 16:32:52 +01:00
parent
7b899af6a8
commit
a342c79aea
1 changed files with 3 additions and 0 deletions
3
ui/script.js
vendored
3
ui/script.js
vendored
|
|
@ -99,6 +99,9 @@ window.onClickLink = e => {
|
|||
} else if (isVideo(a.href) && !isVideoMode()) {
|
||||
videoOn(a.href)
|
||||
return false
|
||||
// let html be displayed naturally
|
||||
} else if (a.innerText.endsWith(".html")) {
|
||||
return true
|
||||
}
|
||||
|
||||
// else just force download
|
||||
|
|
|
|||
Loading…
Reference in a new issue