Commit graph

982 commits

Author SHA1 Message Date
Colin Caine
59e737f254 Add a css namespace to our controlled pages
Means we can safely style our own pages from themes.
2018-05-21 03:22:39 +01:00
Colin Caine
cef95bb214 Add css var for highlighting changelog box 2018-05-21 03:20:13 +01:00
Colin Caine
532f0acd67 Stop using quirks mode in commandline.html
If you don't use a doctype then browsers use quirks mode, which is very
confusing. In particular tables don't inherit styles properly and Olie
gets very confused.
2018-05-21 02:34:22 +01:00
Colin Caine
133c3817ef Fix missing semicolon 2018-05-21 02:30:52 +01:00
Colin Caine
a883c9ebee Stop typedoc complaining about toBeAll 2018-05-21 01:22:04 +01:00
Babil Golam Sarwar
dd21250b5d Merge branch 'master' of https://github.com/cmcaine/tridactyl into 'gsbabil/windows-compiled-native-messenger-support' 2018-05-21 08:53:14 +10:00
Oliver Blanthorn
554bbe41f5
Merge branch 'master' of github.com:cmcaine/tridactyl into caput-theme-mk2 2018-05-20 18:20:46 +01:00
Oliver Blanthorn
c2ed90aacb
Add shydactyl theme to list of themes and help 2018-05-20 18:17:17 +01:00
Ashley Trinh
1a6a460879
Add "shydactyl" theme
NB: this is actually bootleg. All complaints about added jank should go
to @bovine3dom, who will provide copious helpings of empathy, but
probably won't be able to fix it.
2018-05-20 18:03:09 +01:00
Colin Caine
71d27e5133 Add appendTo()
Appends an element as a child of another if it can, else waits for
DOMContentLoaded.

Cleans up modeindicator insertion a bit.
2018-05-20 17:54:29 +01:00
Colin Caine
45181d0c50 Fix commandline not appearing on ImageDocuments.
DOMContentLoaded is never fired for ImageDocuments and
document.readyState doesn't behave the way we want.

Turns out you can just append immediately, though, so we do that.
2018-05-20 17:54:29 +01:00
Oliver Blanthorn
b545333dfc
Make command line use flex for easier styling 2018-05-20 17:36:08 +01:00
Oliver Blanthorn
06e2897965
Try to use greenmat font everywhere 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
43905a4c34
Fix up fonts 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
745fb80d46
Make Tridactyl pages use theme colours 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
b980a8ba4f
Make greenmat apply to more stuff 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
538652c374
Make dark theme apply to mode indicator: fix #415 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
53ade2cc2f
Allow mode indicator to be styled 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
cf0b3d1ccc
Reuse some variables 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
2b2d30edb6
Consolidate default 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
84d53f000f
Consolidate greenmat 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
4918454959
Consolidate dark theme 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
535dd5bb67
Make injection of theme scripts automatic 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
c2803b0927
Add more generic variables 2018-05-20 16:22:45 +01:00
Bruno Oliveira
0feaa3d2ca
Improve Tridactyl theming capabilities 2018-05-20 16:22:46 +01:00
jcrowgey
bb5a82ae31
Call get when there's no value to set: fix #573
This is simple, but untested (I didn't see any test code in this repo).
2018-05-20 16:21:58 +01:00
Thomas Broadley
634ac54260
Fix path to docs in :help command 2018-05-20 16:21:58 +01:00
jcrowgey
71e1ed76e9
Call get when there's no value to set: fix #573
This is simple, but untested (I didn't see any test code in this repo).
2018-05-20 12:25:04 +01:00
Oliver Blanthorn
0933e05de3
Merge pull request #571 from tbroadley/help-path-to-docs
Fix path to docs in :help command
2018-05-19 15:06:29 +01:00
Oliver Blanthorn
89a2085743
Make DocStart URL matching use search 2018-05-19 14:55:11 +01:00
Thomas Broadley
155bcfc131 Fix path to docs in :help command 2018-05-19 09:36:55 -04:00
Oliver Blanthorn
2692d55f9c
Correct colours sp and add man alias 2018-05-19 14:10:58 +01:00
Oliver Blanthorn
a3a9011dad
Fix w quickmark 2018-05-19 13:42:57 +01:00
Oliver Blanthorn
9372964d0d
Add "w" quickmark for cmcaine 👑👰💒🔔 2018-05-19 10:18:17 +01:00
Oliver Blanthorn
bf03e7ed6c
Merge branch 'master' of github.com:cmcaine/tridactyl into MoSal-master 2018-05-18 17:31:06 +01:00
Colin Caine
8f67be2d17 Improve CSP clobbering (commit lost last time)
- Get csp setting asynchronously
 - Case insensitively match content-security-policy header value
 - Parse csp correctly
 - Simplify code

(When I rebased last time I lost the content of this commit somehow...)
2018-05-18 17:10:12 +01:00
Mohammad AlSaleh
36667348f1 Add a hint option for copying 'title' or 'alt' text
Similar to Vimperator's `;x`.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2018-05-18 18:47:31 +03:00
Oliver Blanthorn
14919b7e2f
Make hint -; accept selectors 2018-05-18 15:25:11 +01:00
Oliver Blanthorn
9b72e4d761
Fix #536 2018-05-18 14:09:12 +01:00
Oliver Blanthorn
7add35714d
Show : in commmand line: fix half of #559 2018-05-18 13:56:04 +01:00
Oliver Blanthorn
f026c0daf7
Update readme: fix #558 2018-05-18 12:32:19 +01:00
Babil Golam Sarwar
bf9ccc1807 Fix URLs for :nativeinstall and :nativeupdate 2018-05-18 11:52:15 +10:00
maxigaz
002b7aae6c
Add fixamo to enable Tridactyl on addons.mozilla.org
No, it's not April Fools' Day.
2018-05-17 22:08:45 +01:00
Oliver Blanthorn
7955daea32
Remove some console.logs 2018-05-17 21:55:14 +01:00
glacambre
771888599e
native_background.ts: implement writePref() 2018-05-17 21:44:29 +01:00
glacambre
b8b1470c86
native_background.ts: implement getPref() 2018-05-17 21:44:29 +01:00
Colin Caine
665f4429db Add more fun functions to itertools 2018-05-17 21:43:22 +01:00
Colin Caine
d36757cbc8 Fix <C-i> on contenteditable elements 2018-05-17 21:42:47 +01:00
Colin Caine
f4a9fdfc64 Never throw when opening commandline
This is a hack to stop logger.error loops on pages
that cannot open the commandline (e.g. svgs).
2018-05-17 21:42:47 +01:00
Oliver Blanthorn
a15fd500b4
Fix #71. 2018-05-17 21:40:38 +01:00