Skip to content

Commit

Permalink
let html be displayed naturally
Browse files Browse the repository at this point in the history
closes #83
  • Loading branch information
pldubouilh committed Jul 8, 2023
1 parent 7b899af commit a342c79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a342c79

Please sign in to comment.