Natnael Getahun
1bc380f12d
Add DuckDuckGo shortcut
...
Added an alias ```alt + d``` to be DuckDuckGo shortcut
7 years ago
Grant Bourque
d657377d1c
Use `document.scrollingElement` for mobile scrolls
...
- Set `document.scrollingElement` as the scrolling element
for scrolling to anchors when the app is mobile mode
to enhance support in newer browsers.
The CSS View Module spec considers `document.documentElement`/`<html>`
to be the standard scrolling element
and that is what appears to be used in the latest Firefox and Chrome.
However, some older browsers and even the current Safari
use `document.body` as the scrolling element
which is why I suspect the original code used `document.body`.
Since some browsers scroll on different elements,
`document.scrollingElement` exists
so the browser can tell us what to use
for scrolling to anchors work for all modern browsers.
Since `document.scrollingElement` is undefined in older browsers,
`document.body` is available as fallback mobile scrolling element.
7 years ago
Jed Fox
a5b6ffb116
Move “DevDocs” in the tab title to after the dynamic portion of the title
7 years ago
Grant Bourque
d5d913fc11
Use browser dimensions for mobile detection
...
- Use `max-width`/`max-height` mobile detection media queries
instead of `max-device-width`/`max-device-height`.
Some browsers inaccurately report the device dimensions
and get the mobile version of the DevDocs unexpectedly.
Not depending on the device dimensions also improves the experience
by displaying the mobile version
if a desktop browser window is sufficiently small enough.
7 years ago
Thibaut Courouble
d48396de57
DevDocs → freeCodeCamp
7 years ago
Thibaut Courouble
a379b6299d
Ask all HTTP users to switch to HTTPS
7 years ago
Thibaut Courouble
76aec2bd95
Don't reset to root page when clearing the search field
...
Closes #718 .
7 years ago
Thibaut Courouble
cbfc73951b
Improve Help page
...
Closes #676 .
7 years ago
Thibaut Courouble
9cce390ead
Fix alt+o shortcut not preventing default in Firefox
7 years ago
Thibaut Courouble
44e6316100
Add ability export/import preferences
...
Closes #671 .
7 years ago
Thibaut Courouble
64f04305d3
Replace all remaining PNG UI icons with SVGs
7 years ago
Thibaut Courouble
e212f62e89
Fix issue when hitting left-arrow keyboard shortcut on a disabled and unversioned doc
7 years ago
Thibaut Courouble
30dd32c1b5
Normalize event.target for old browsers incorrectly handling SVG elements
7 years ago
Thibaut Courouble
53f666a742
Use parentNode instead of parentElement as the latter doesn't work on SVG elements in some browsers
7 years ago
Thibaut Courouble
8d0606d070
Fix OpenJDK entry breaking keyboard navigation in the sidebar
8 years ago
Thibaut Courouble
d7001c2eb5
Optimize DOM query selectors
8 years ago
Thibaut Courouble
581e656fd2
Optimize search autofocus code
8 years ago
Thibaut Courouble
e2ad2e5117
Minor code cleanup
8 years ago
Thibaut Courouble
e7a0101910
Avoid forced style and layout recalculation when clicking entry in the sidebar
8 years ago
Thibaut Courouble
f891e16f39
Optimize scrolling code during page transitions
8 years ago
Thibaut Courouble
6587b7d878
Show/hide the sidebar on hover
...
Closes #657 .
8 years ago
Thibaut Courouble
01afa80686
Improve doc picker UI
...
Rel: #189
8 years ago
Thibaut Courouble
8d2a2fb298
Improve settings UI
...
Rel: #189
8 years ago
Thibaut Courouble
6de748ebc2
Add 'Customize' link next to 'Disabled' list title
...
Rel: #189
8 years ago
Thibaut Courouble
d852bde5f3
Improve "update ready" notification
8 years ago
Thibaut Courouble
bda3290cc6
Use an SVG icon for "dir" and "path" icons
8 years ago
Thibaut Courouble
9b28702e3a
Simplify code highlighting
8 years ago
Thibaut Courouble
bd7aec1311
Improve jQuery scraper
8 years ago
Thibaut Courouble
bffabec8a6
Simplify rdoc code highlighting
8 years ago
Thibaut Courouble
384ee20b28
Improve Dojo scraper
8 years ago
Thibaut Courouble
150a4b6ab1
Update RequireJS documentation (2.3.4)
8 years ago
Thibaut Courouble
9d53de6a59
Improve Grunt scraper
8 years ago
Thibaut Courouble
05f2a6628c
Update Lua documentation (5.3.4, 5.2.4, 5.1.5)
8 years ago
Thibaut Courouble
85fffdc242
Improve GitHub scraper
8 years ago
Thibaut Courouble
170445c95f
Add setting to force native scrollbars on webkit/blink
...
Closes #601 .
8 years ago
Thibaut Courouble
c06d1c4d2d
Move the app layout class to the <body> element
8 years ago
Thibaut Courouble
69ffa7babe
Improve keyboard navigation on mobile
...
Rel: #638
8 years ago
Thibaut Courouble
9adf4e2d9f
Focus the search field when typing '/' or alphanumeric characters on mobile
...
Rel: #638
8 years ago
Thibaut Courouble
48d85f1124
Improve behavior of search scope when hitting escape
...
Closes #639 .
8 years ago
Thibaut Courouble
7b20d6d02e
Don't open menu on hover
...
Closes #603 .
8 years ago
Thibaut Courouble
61930288b8
Add Electron documentation
8 years ago
Thibaut Courouble
b626a9d574
Improve Erlang documentation
...
Fixes #626 .
8 years ago
Thibaut Courouble
4fabd8bc64
Update Flow documentation (0.46.0)
8 years ago
Thibaut Courouble
7a1ca03397
Add Jasmine documentation
8 years ago
Thibaut Courouble
aa1be2f49d
Add Jest documentation
8 years ago
Thibaut Courouble
7961557468
Show doc version in sidebar when multiple versions of the same doc are enabled
8 years ago
freayd
f606c0abc8
Add OpenJDK documentation
8 years ago
Thibaut Courouble
dcca46cd0f
Fix race-condition when auto-opening first search result
...
Fixes #604 .
8 years ago
Thibaut Courouble
98a6eb58cb
Reset search field when browsing to index page in single doc mode
8 years ago
Thibaut Courouble
82743163c6
Fix searching disabled doc via URL not opening first result correctly
...
Fixes #604 .
8 years ago