Commit graph

11 commits

Author SHA1 Message Date
Xiao YiFang 2a7892836e feat: session collapsable feature support
when enabled , user's manual collapsed dictionary will remain collapsed in the successive search until user expand the dictionary again.
2023-04-16 00:23:51 +08:00
Xiao YiFang fbb1c09f6f opt: remove js interval when not detect parentIframe 2023-04-15 15:18:02 +08:00
Xiao YiFang 1996af61a6 fix: mdx dictionary entry://#hashtag navigation 2023-04-09 12:42:32 +08:00
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