Commit graph

945 commits

Author SHA1 Message Date
Oliver Blanthorn
85cdd53020
Cheer up tslint 2020-01-04 17:34:37 +00:00
Oliver Blanthorn
cc4bc3e165
Support user visual mode binds 2020-01-02 15:10:25 +00:00
Oliver Blanthorn
019739d9ff
Allow multiple selections with hint -h
NB: visual mode does not play nicely with rapid-hint highlights
so it has been left unbound
2020-01-02 12:03:48 +00:00
Oliver Blanthorn
aa520c86bf
Add selection hint 2020-01-02 11:54:48 +00:00
Oliver Blanthorn
63c187d28e
Fix #2037: remove namespace from userChrome
Bump minimum version to FF70 as this is the oldest version it has been
tested on.
2019-12-12 14:45:20 +00:00
Oliver Blanthorn
266988344e
Merge branch 'typed-background-messaging' 2019-11-27 09:32:59 +00:00
Oliver Blanthorn
11f290241f
Fix #1984: counts now work with scrollline 2019-11-08 16:49:26 +00:00
Oliver Blanthorn
1cb143abea
Fix #1258: add apropos command 2019-11-06 11:26:52 +00:00
Oliver Blanthorn
c268dd3feb
Fix #1967: remove return values from quickmarks 2019-11-05 17:22:30 +00:00
Oliver Blanthorn
326a7d7153
Merge pull request #1891 from tridactyl/unfixamo2-whofixesthefixers
Unfixamo2
2019-10-30 19:33:24 +00:00
Jakub Okoński
a8b740b1bd Add strong typing to background messages 2019-10-26 21:55:59 +02:00
Jakub Okoński
5e029c780b Fix type of browserBg and adjust other code for it 2019-10-26 20:07:30 +02:00
Oliver Blanthorn
838dc22b13
Merge pull request #1944 from tridactyl/rapid_yanking
Fix #1374: hint -qy now merges its arguments
2019-10-25 16:45:19 +01:00
Oliver Blanthorn
73b43ee56d
Fix #1374: hint -qy now merges its arguments 2019-10-25 16:19:51 +01:00
Oliver Blanthorn
70a96fd160
Merge pull request #1942 from tridactyl/add_wiki_links
Fix #1852: mention wiki on various pages
2019-10-25 16:00:45 +01:00
Oliver Blanthorn
e987bb88ec
Fix #1892: make yank functionality clearer 2019-10-25 15:00:32 +01:00
Oliver Blanthorn
9d5432e61f
Fix #1852: mention wiki on various pages 2019-10-25 14:56:41 +01:00
Jakub Okoński
dd422cd136 Enable some low-hanging TypeScript strictness options 2019-10-20 13:09:21 +02:00
Jakub Okoński
9b4d52dbd2 Try another fix 2019-10-18 14:39:47 +02:00
Jakub Okoński
0ebc44741b Try a fix for selenium export under the wrong name 2019-10-18 14:11:19 +02:00
Jakub Okoński
67fa18b4ec Add a separate tsconfig for tests
Tests run with nodejs + jest types, while the web extension code
runs with browser + web-ext type roots.
2019-10-18 13:07:38 +02:00
Jakub Okoński
bd2b988338
Fix and optimize addJump scroll handler
It was reading properties that a scroll event does not have.

It was messaging the background page with an expensive call on every
scroll event. This slowed down the page unnecessarily.

Also extracted jumps.timeoutid to the content script scope.
This variable is not useful to others outside of the current content
script. Storing it locally means we can avoid expensive communication
with the background page and only do it once we're sure we need to add
a new entry to the jump list.
2019-10-18 11:49:13 +01:00
Oliver Blanthorn
71ae77a432
Merge branch 'autocontain-urlpattern' 2019-10-18 10:55:54 +01:00
arcnmx
f4ff5c8fc3 autocontain excmd compatibility
Retain old behaviour unless the `autocontain -u` flag is used.
2019-10-17 15:00:34 -07:00
Oliver Blanthorn
15b498971e
Merge branch 'autocontain-relaxed' 2019-10-17 22:05:24 +01:00
Oliver Blanthorn
308ac0a043
Tidy autocontain docs 2019-10-17 22:05:13 +01:00
Oliver Blanthorn
6d39bdd343
Fix #1910: improve autocmd docs 2019-10-17 20:56:48 +01:00
arcnmx
6fbcb4e719 treat autocontain settings as url patterns
Be more consistent and in line with the `seturl` family of settings.
2019-10-16 11:32:12 -07:00
Oliver Blanthorn
647d3221a9
Add removepref excmd 2019-10-10 20:16:59 +01:00
glacambre
a4040102f5
Remove set csp clobber
This just removes the background.ts code that detects whether the user
wants to clobber their csp and adds an error message if the user tries
to `set csp clobber`.
The `csp` setting is marked as deprecated but left untouched in case we
find a way to edit CSP in a way that complies with Mozilla's policies.
The csp-editing code in `requests.ts` is left untouched for the same
reason.
2019-10-02 10:25:03 +02:00
Oliver Blanthorn
019fc2c31b
Merge branch 'add_gist_rc_loading' 2019-09-20 19:11:34 +01:00
Oliver Blanthorn
7d05f76b40
Improve source URL help 2019-09-20 19:10:45 +01:00
Oliver Blanthorn
fd0cfd9b36
Merge pull request #1851 from rektrex/add_extoptions
add extoptions excmd
2019-09-20 18:58:21 +01:00
Oliver Blanthorn
62b8bf0992
Merge branch 'replace-flatten' 2019-09-20 18:05:10 +01:00
rektrex
7670cc7784 make source --url use current page's url when no url is given' 2019-09-20 01:27:00 +05:30
rektrex
49fb856523 combine source_from_url to source 2019-09-20 00:24:40 +05:30
rektrex
8f0b2a5ab8 add exmcmds to load RC file from url 2019-09-19 22:14:51 +05:30
rektrex
bf1a07467f trim url for p and P commands 2019-09-18 13:14:50 +05:30
Chris
ba32beb3ce
Correctly detects Windows when applying colors
Partial solution to #1378
Previously, this expression would evaluate to null, producing a false negative on Windows systems, due to a syntax issue
2019-09-17 16:09:11 -04:00
pvs
1fb0aecf30 Get all the elements that match the given selector inside shadow DOM
- Blur shadow dom active element
2019-09-15 09:48:58 -07:00
rektrex
78a39488f7 improve extoption: extoptions(extension_name) opens options in a popup window 2019-09-14 21:36:09 +05:30
rektrex
40c767a9a5 add extoptions excmd 2019-09-14 02:54:50 +05:30
Colin Caine
1ddd4fd2a5 excmds: doc: explain how :command works a bit more 2019-09-13 14:47:22 +01:00
Colin Caine
efea7e2041 excmds: documentation typo 2019-09-13 14:23:59 +01:00
rektrex
000ee1282c Replace custom flatten function with Array.prototype.flat 2019-09-11 01:29:28 +05:30
Oliver Blanthorn
d1f1794269
Fix #1041: ;p now preserves newlines
The `run_exstr` command is a legacy from when hinting involved a strange
dance through the background script. It is no longer required, so we can
call the `yank` function directly and preserve the newlines.
2019-08-30 21:51:21 +01:00
Colin Caine
2ade2a9a50 Document that seturl and friends take a regex pattern 2019-08-28 13:54:09 +01:00
Oliver Blanthorn
3e3f51e2e3
Add link to unset from set help
'How do I undo this?' comes up often. This may help.
2019-08-20 13:56:27 +01:00
Oliver Blanthorn
fef58f508f
Close #1773: remove fixamo
The Firefox Security team believe fixamo violates the AMO policy as it reduces
the security of Firefox.

I respectfully disagree, but I don't think it is a hill worth dying on.
2019-08-02 12:22:20 +01:00
Oliver Blanthorn
88f4fac3db
Mitigate #1728 - disable guiset navbar none 2019-07-18 11:10:45 +01:00