Commit graph

933 commits

Author SHA1 Message Date
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
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
Robert Boyd III
474b6f00c5
Implement #1565: Add option to strip trailing slash 2019-07-04 15:12:48 -04:00
Oliver Blanthorn
1f49f4ac23
Merge pull request #1705 from grpala/master
Add a reference to editor functions in :help bind
2019-07-02 19:42:30 +01:00
Oliver Blanthorn
d129c47913
Switch to cmcaine's shell escape library 2019-07-02 16:48:47 +01:00
Colin Caine
a71398dc1e
nativeopen: fix shell escaping 2019-07-02 16:48:47 +01:00
Guillermo R. Palavecino
ed5d1b0bd4 Add a reference to editor functions in :help bind 2019-06-24 17:31:39 -03:00
Oliver Blanthorn
0486595154
Make ;v safer 2019-06-20 23:09:21 +01:00
Oliver Blanthorn
be119b3d4e
Make ;v safer 2019-06-14 11:18:49 +01:00
Oliver Blanthorn
973ae858b7
Explain workaround for semicolons in composite 2019-06-05 16:51:34 +01:00
Oliver Blanthorn
575bd5d745
Add argument for rot13 2019-06-04 17:29:25 +01:00
Oliver Blanthorn
f9c6fe2637
Fix #98: add viewconfig --{default,user} 2019-06-02 16:10:51 +01:00
Oliver Blanthorn
f2850441f1
Improve mkt docs 2019-06-02 15:21:02 +01:00
Anton Vilhelm Ásgeirsson
496e53bd6c
Add documentation for the excmd 2019-06-02 14:02:37 +01:00