
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Search shortcut breaks forms Β· Issue #398 Β· squidfunk/mkdocs-material
Description:
Search shortcut breaks forms We have a number of forms in our mkdocs site which are broken by the search shortcut (s / f). Expected behavior Search only opens when not focused on a form element. Actual behavior When typing in a form fiel...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Mobile Technology & AI
- Graphic Design
- Fitness & Wellness
Content Management System {π}
What CMS is github.com built with?
Github.com relies on WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
squidfunk, search, form, input, commented, bug, kobzol, forms, issue, sign, shortcut, fix, owner, code, projects, breaks, focused, text, navigation, open, pull, requests, actions, security, closed, mkdocs, behavior, element, typing, area, write, python, potential, check, documentactiveelementform, evkeycode, work, doesnt, reports, mentioned, website, focus, box, fields, comment, github, milestone, footer, skip, content,
Topics {βοΈ}
/squidfunk/mkdocs-material/blob/master/src/assets/javascripts/application search shortcut wrapped inside forms cz/modules-matrix/ focus squidfunk closed cz/sccs/docs form returns null bug projects active form fields keyboard accessibility improvements comment box projects milestone mkdocs site current focused element forms input fields 3 material form element open form field search form === undefined enter text 13 mkdocs bug add squidfunk //docs actual behavior grab focus code //code code input quickly make released shortly focused everytime reproducible scenario configuration + markdown easy workaround eat letter milestone relationships form write sausages python 2 4 potential fix 'flow' check bug potential fix website directly //github
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- Can I send you the website directly?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Search shortcut breaks forms
articleBody:## Search shortcut breaks forms
We have a number of forms in our mkdocs site which are broken by the search shortcut (`s` / `f`).
### Expected behavior
Search only opens when not focused on a form element.
### Actual behavior
When typing in a form field (e.g. input / text area) an `s` or `f` will open the search.
### Steps to reproduce the bug
1. Add the following to a test page
```
<form>
<input></input>
<textarea></textarea>
</form>
```
2. Attempt to write `sausages` in the input / text area
### Package versions
* Python: `Python 2.7.13`
* MkDocs: `0.16.3`
* Material: `1.7.4`
### Potential fix
I think the code to fix this would be a change to: https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/javascripts/application.js#L340
Something like this to check if the current focused element is part of a form:
```javascript
if (document.activeElement.form === undefined) {
if (ev.keyCode === 70 || ev.keyCode === 83) {
query.focus()
ev.preventDefault()
}
}
```
That seems to work in testing but doesn't pass the 'flow' check and I'm not quite familiar enough with js to quickly make this work.
author:
url:https://github.com/markeganfuller
type:Person
name:markeganfuller
datePublished:2017-07-18T14:48:55.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:7
url:https://github.com/398/mkdocs-material/issues/398
context:https://schema.org
headline:Search shortcut breaks forms
articleBody:## Search shortcut breaks forms
We have a number of forms in our mkdocs site which are broken by the search shortcut (`s` / `f`).
### Expected behavior
Search only opens when not focused on a form element.
### Actual behavior
When typing in a form field (e.g. input / text area) an `s` or `f` will open the search.
### Steps to reproduce the bug
1. Add the following to a test page
```
<form>
<input></input>
<textarea></textarea>
</form>
```
2. Attempt to write `sausages` in the input / text area
### Package versions
* Python: `Python 2.7.13`
* MkDocs: `0.16.3`
* Material: `1.7.4`
### Potential fix
I think the code to fix this would be a change to: https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/javascripts/application.js#L340
Something like this to check if the current focused element is part of a form:
```javascript
if (document.activeElement.form === undefined) {
if (ev.keyCode === 70 || ev.keyCode === 83) {
query.focus()
ev.preventDefault()
}
}
```
That seems to work in testing but doesn't pass the 'flow' check and I'm not quite familiar enough with js to quickly make this work.
author:
url:https://github.com/markeganfuller
type:Person
name:markeganfuller
datePublished:2017-07-18T14:48:55.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:7
url:https://github.com/398/mkdocs-material/issues/398
Person:
url:https://github.com/markeganfuller
name:markeganfuller
url:https://github.com/markeganfuller
name:markeganfuller
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:7
interactionType:https://schema.org/CommentAction
userInteractionCount:7
External Links {π}(4)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net