Hollow Man
d8399f317a
Browser: Support duplicating current page in new tab
...
Signed-off-by: Hollow Man <hollowman@hollowman.ml>
6 years ago
Mingde (Matthew) Zeng
6b25182fd6
browser: rename save_page_password and toggle_password_autofill
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@posteo.net>
6 years ago
Hollow Man
2749c7f378
Add set default zoom for each website function #392
...
Signed-off-by: Hollow Man <hollowman@hollowman.ml>
6 years ago
Mingde (Matthew) Zeng
74fbeea2eb
browser: revert eval_js
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
lee
1db529b28c
Improve the marker experience for caret mode.
6 years ago
lee
6cfc5d56d0
Use marker_js_raw insead of marker_js.
6 years ago
lee
faef79284a
Remove unused js file.
6 years ago
lee
373a297e86
clean code.
6 years ago
Mingde (Matthew) Zeng
9c79329116
browser: standardize handle_input_response format
...
Also fixes #371
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
d4c6193585
browser: prompt for clear_cookies and clear_history
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
d78a819cb7
browser: enhance action_quit to caret_exit when necessary
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
07240c3044
core: standardize send_input_message and handle_input_response API
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
lee
0caf5c22ca
Exit caret mode after copy text.
6 years ago
Hollow Man
49ac76c34f
Fix focus issues when using browser.
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Mingde (Matthew) Zeng
6f8baecf61
browser: remove @interactive from action_quit
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
96617f15f0
browser: rename some caret_browsing code
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
c4c56b79ac
rename search_quit to action_quit
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Andy Stewart
38cb9ec8a4
Add blank after caret promt.
6 years ago
Andy Stewart
cd1b64db17
Use QColor.name() function convert QColor to HEX color.
6 years ago
Andy Stewart
43a0666833
Reverse background and foreground color, to help cursor recognition.
6 years ago
Andy Stewart
b98b55f95a
Not popup translate tip in caret mode.
6 years ago
lee
31c54a2568
caret fix.
6 years ago
Hollow Man
f119e2f588
Caret Browsing: Dark mode caret
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
lee
1a6f888cd4
'minor-mode' for caret.
6 years ago
Hollow Man
4a1ac3d166
Futher optimize select text algorithm and make it a separate mode
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Hollow Man
a336e4126e
Browser: use marker to select text
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
lee
7bd6205476
make get_selection_text interactive.
6 years ago
Mingde (Matthew) Zeng
cbf4dca501
adblocker.css: leave only google_ads as additional
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Hollow Man
28e9475f45
Browser: add caret browsing to smart select text area
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Hollow Man
b7bd683d97
Browser: Autofill password by storing password in a database
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Mingde (Matthew) Zeng
383be94c51
browser: adblocker detect more ads
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Hollow Man
a1f5162851
Browser: Fix bugs in #336
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Hollow Man
28274850a2
cleanup, update with the latest set_emacs_var and rename adblock to adblocker
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Hollow Man
939f39d5c0
Move enable_adblock to eaf-var-list
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Hollow Man
926d49da67
Browser: Add CSS based Adblock plugin
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Mingde (Matthew) Zeng
bb8e8d3ea0
core: give set-emacs-var ability to modify eaf-var-list
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
02d2047b2e
browser: detect ng-click buttons
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
bca41e331e
core: redesign eaf-*-dark-mode logic
...
Addresses #318 . Below is a snippet of the wiki explaining the new logic.
```org-mode
By default, a number of EAF apps will switch to dark mode if your current Emacs theme is dark.
You can override the default by setting it to =true=, =false=, or =follow=, which is unchanged.
#+BEGIN_SRC emacs-lisp
(eaf-setq eaf-browser-dark-mode "true")
(eaf-setq eaf-terminal-dark-mode "false")
(eaf-setq eaf-mindmap-dark-mode "follow") ; default option
(eaf-setq eaf-pdf-dark-mode "ignore") ; see below
#+END_SRC
In EAF PDF Viewer, since you can interactively toggle inverted mode using =i= (default keybinding), it has an *additional* option to be more flexible:
When =eaf-pdf-dark-mode= is =ignore=, opening a PDF file for the first time will =follow= the current Emacs theme. Toggle inverted mode however you want, closing the buffer will record the final state of the dark mode. Next time the PDF file opens, it will restore the previous state. Therefore eaf-pdf-dark-mode will differ per file.
```
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
2013e0ad88
core: rewrite and simplify eaf-focus-buffer
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Hollow Man
239f6b5de0
Fix typos
6 years ago
Hollow Man
8dc6284b02
Add English documentation for Core Browser functions
6 years ago
Mingde (Matthew) Zeng
58a00fc5ea
browser: Ignore temp_html_file and about:blank
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
8344e61898
terminal: Fix change_title and make it a placeholder
...
As random_string is no longer needed.
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
27e23c82e3
Browser: record only last 30 recently closed pages
6 years ago
Mingde (Matthew) Zeng
25ad5974cc
Add missing @interactive decorators
6 years ago
Mingde (Matthew) Zeng
4c70953f5c
Redesign build_interactive_method, generalize with build_all_methods
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
166798490a
Redesign build_widget_method to build_interactive_method
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
77f805ad1b
Rename scroll -> scroll_other_buffer, update_details -> update_buffer_details
...
So the names are more precise and better reflect what they really are.
Also some scroll code refactoring.
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
edd3058256
rename clear_all_cookies to clear_cookies
6 years ago
Andy Stewart
e20b585359
Remove unused comment.
6 years ago