Commit graph

8 commits

Author SHA1 Message Date
xiaoyifang 7ef4a5dc64 clean code:remove useless code in js 2023-04-07 22:23:51 +08:00
shenleban tongying 540dda26ed cleanup: Replace all usages of qrcx://localhost with qrc://
The replacement command:
git grep -l 'qrcx://localhost' | xargs sed -i 's/qrcx:\/\/localhost/qrc:\/\//g'

The qrcx:// URL scheme was introduced in 2009 or earlier - it is present
in the first commit in GoldenDict's git history. Back then GoldenDict
supported Qt versions earlier than 4.6, in which
QWebSecurityOrigin::addLocalScheme() was introduced. Adding the qrc URL
scheme as local obsoletes the qrcx URL scheme. GoldenDict does not
compile against Qt versions earlier than 4.6, so there is no reason to
use this custom URL scheme anymore.

Co-authored-by:  Igor Kushnir <igorkuo@gmail.com>
2023-03-05 15:20:05 -05:00
Xiao YiFang 5fe3cc5028 fix: darkmode extended to html webpage
fix #269
2022-12-24 09:00:25 +08:00
Xiao YiFang 6aedd80ec0 opt:iframe set height logic restricted to most 10 seconds 2022-09-05 20:17:00 +08:00
Xiao YiFang 6e74c27ea2 opt:iframe height auto resize
some website ,the page content is lazy load, the iframe-resizer seems has trouble with them.
2022-09-04 19:03:27 +08:00
Xiao YiFang 19378d2f83 opt:iframe max-height value 2022-09-04 14:17:25 +08:00
Xiao YiFang df1906d4f2 opt: move jquery js from resources to scripts folder 2022-09-04 10:47:29 +08:00
Xiao YiFang 349ac86d47 opt: use iframe resizer plugin to resize the iframe height. 2022-09-04 10:47:29 +08:00