Commit graph

29 commits

Author SHA1 Message Date
Xiao YiFang 349ac86d47 opt: use iframe resizer plugin to resize the iframe height. 2022-09-04 10:47:29 +08:00
Xiao YiFang e32062cf82 opt:format gd-custom file 2022-07-09 12:52:33 +08:00
Xiao YiFang 5105f12516 opt: refract the code to monitor iframe height 2022-07-09 11:17:58 +08:00
Xiao YiFang 88b265765f add entry:// link support 2022-06-07 21:22:37 +08:00
xiaoyifang 4efbf6f166 optimize: invalid link should not pass to qt backend 2022-04-21 23:14:20 +08:00
YiFang Xiao 376f0f1c62 fix: qt6.2 iframe can not access gdlookup built-in javascript
it throw CORS exception in the devtool console  windows.
2022-04-17 22:28:14 +08:00
YiFang Xiao 9b1f25f3f4 fix: relative url with gdanchor parameter 2022-03-30 00:20:49 +08:00
YiFang Xiao 9c6ac4afea fix:iframe autoresize
there are cases when the iframe's height continue to grow to a very
large height.
so in the code,set a maximum height 1000px.
2022-03-28 22:30:19 +08:00
xiaoyifang bbfa13fedb auto resize iframe 2022-03-28 21:19:14 +08:00
狂风代码 a6800eef96
修复 A 标签没有 href 属性时 link 值为 null 语法错,导致部分 A 标签事件不响应 2022-03-26 10:36:19 +08:00
xiaoyifang cc4e2915ec fix:gd built in js click event interceptor
there are cases when the <a link was generated by js after document ready .
all these links have escaped the intercetor.

use this new document.on(event,selector ,function) to monitor any new added link
2022-03-25 23:23:00 +08:00
xiaoyifang f18e8f8960 fix:gdau link show blocked in devtool network 2022-03-16 22:29:04 +08:00
xiaoyifang 70e7a49db8 fix: scroll to current article 2022-02-25 22:48:43 +08:00
xiaoyifang 1969c11ded js:Unnecessary semicolon. #18 2022-02-16 21:17:29 +08:00
yifang ab7ffab225 fix: iframe not auto expand
https://github.com/goldendict/goldendict/issues/1448
2022-01-31 09:36:52 +08:00
yifang 037dcfd5a1
imp. : when click article collapse banner,single click to selection should supress 2022-01-20 20:43:42 +08:00
yifang 233564e7e5 imp. : collapse and expand click event expanded to whole line. 2022-01-19 20:29:14 +08:00
yifang 70254fe6e0 imp. : rename js/css file from gd_ to gd-* 2022-01-19 20:26:45 +08:00
yifang 0ba2cacc29
improvement:remove gdCurrentArticle js variable 2022-01-17 21:50:54 +08:00
yifang 850c7d66e8 fix:single click on link,the emulated db click will still work on new page 2022-01-15 11:18:54 +08:00
yifang d8f5e4a374 improvement:seperate javascript file from cpp code. 2022-01-12 22:30:43 +08:00
yifang ccc0f275ba jquery noconflict() 2022-01-11 20:18:46 +08:00
xiaoyifang 29bd94b8a7 improve:footnote url(#fragment) navigation 2022-01-09 11:54:14 +08:00
xiaoyifang c01257d592
Update gd_custom.js
bword:xxxx link handle
2022-01-04 07:47:48 +08:00
yifang 0a54477435 play sound ,javascript refactor 2022-01-03 12:00:50 +08:00
yifang d5af210785 fix:relative url handle 2022-01-02 09:37:43 +08:00
yifang 47faab5a52 fix:relative url redirect 2022-01-01 21:09:55 +08:00
yifang 1c3612f720 fix:inside page #hashtag and redirect 2021-12-31 22:15:51 +08:00
yifang f292e0c251 add javascript qt object to html(used to communicate between html and c++)
add jquery framework .
2021-12-19 18:37:27 +08:00