
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Javascript stops working on the website when the user's browser local storage has invalid value. Β· Issue #6645 Β· squidfunk/mkdocs-material
Description:
Context We discussed about this bug here and @kamilkrzyskow suggested me to make an issue. Bug description If your browser has an invalid values like palette index in cache, the website will fail to load the whole Javascript stuffs. I ma...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Mobile Technology & AI
- Law & Government
Content Management System {π}
What CMS is github.com built with?
Github.com is based 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 {π}
bug, issue, squidfunk, repository, mkdocsmaterial, javascript, browser, make, reproduce, zip, sign, website, local, invalid, palettes, steps, files, run, mkdocs, resolved, open, projects, users, made, reproduction, build, content, navigation, code, issues, pull, requests, discussions, actions, security, stops, working, storage, closed, description, discussed, values, palette, cache, stuffs, minimal, section, related, links, paletteszip,
Topics {βοΈ}
io/mkdocs-material/contributing/reporting-a-bug/ io/mkdocs-material/setup/changing mkdocs-material encourages people install mkdocs-material validation js code possibly related issues run mkdocs serve unknown javascript error activity squidfunk added open projects run echo 2_palettes bug reporting guidelines bug resolved issue comment metadata assignees mkdocs-material squidfunk closed bug reproducing repository projects milestone browser local storage bug description javascript stuffs discussions minimal standalone repository mkdocs serve content zip files made mkdocs build investigation issue palette index bug report yml proposal minimal reproduction make palette open related links zip 2 palettes local clone local server zip files deployed pages //squidfunk slight modification introduce users virtual environment commit ff4d4cf press button dark mode commit a0d3b0b side navigations info plugin
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- Io/mkdocs-material/contributing/reporting-a-bug/?
- Io/mkdocs-material/setup/changing-the-colors/?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Javascript stops working on the website when the user's browser local storage has invalid value.
articleBody:### Context
We discussed about this bug [here](https://github.com/squidfunk/mkdocs-material/discussions/6644#discussioncomment-8121881) and @kamilkrzyskow suggested me to make an issue.
### Bug description
If your browser has an invalid values like palette index in cache, the website will fail to load the whole Javascript stuffs.
I made a minimal standalone repository described on `Reproduction` section, so please have a look.
### Related links
- https://github.com/squidfunk/mkdocs-material/discussions/6644#discussioncomment-8121881
- https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/?h=palette#color-palette-toggle
- https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/?h=bug
### Reproduction
- 3 palettes: [9.5.3-3_palettes.zip](https://github.com/squidfunk/mkdocs-material/files/13930510/9.5.3-3_palettes.zip)
- 2 palettes: [9.5.3-2_palettes.zip](https://github.com/squidfunk/mkdocs-material/files/13930509/9.5.3-2_palettes.zip)
I made a repository to reproduce the exactly same thing on [this repository](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01/tree/master). The steps are simple and you can follow and make exactly same `.zip` files.
### Steps to reproduce
The content in this section is copied from [this repository's README.md](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01) with slight modification.
---
# Bug reproducing repository for [mkdocs-material](https://squidfunk.github.io/mkdocs-material)
This repository is used to introduce users to reproduce `mkdocs-material` bug [discussed here](https://github.com/squidfunk/mkdocs-material/discussions/6644#discussioncomment-8121881).
## Steps to reproduce in local
1. Clone this repository.
2. Make a virtual environment (Python 3.11) for this repository.
3. Run `pip install --upgrade --force-reinstall mkdocs-material` to install `mkdocs-material`.
4. Checkout to [commit ff4d4cf](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01/tree/ff4d4cf8d253bab0cc74af9c0abbf9907c359871).
5. Run `mkdocs serve` in your terminal to turn on local server.
6. Access `127.0.0.1:8000` from your browser.
7. Press button on the website to make palette to the dark mode.
8. Checkout to [commit a0d3b0b](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01/tree/a0d3b0b6978b0222de4e5ca1bd8644520535cf92) and refresh your build (`mkdocs serve` will refresh automatically).
9. Enjoy the bug. Javascript stuffs like searching, side navigations wouldn't work.

## Steps to reproduce `.zip` files
Since `mkdocs-material` encourages people to [use `.zip` files made by `info` plugin](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#reproduction) instead of making a repository, I am going to make 2 `.zip` files.
1. Run `echo 2_palettes | mkdocs build -f mkdocs_2_palettes.yml`
2. Run `echo 3_palettes | mkdocs build -f mkdocs_3_palettes.yml`
## Proposal to resolve this
I suggest to insert a validation JS code for invalid values in cache.
### Browser
Edge
### Before submitting
- [X] I have read and followed the [bug reporting guidelines](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/).
- [X] I have attached links to [the documentation](https://squidfunk.github.io/mkdocs-material/), and possibly related [issues](https://github.com/squidfunk/mkdocs-material/issues) and [discussions](https://github.com/squidfunk/mkdocs-material/discussions).
- [X] I assure that I have [removed all customizations](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#remove-customizations) before submitting this bug report.
- [X] I have attached a __.zip file__ with a [minimal reproduction](https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/).
author:
url:https://github.com/McDic
type:Person
name:McDic
datePublished:2024-01-14T06:13:36.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:2
url:https://github.com/6645/mkdocs-material/issues/6645
context:https://schema.org
headline:Javascript stops working on the website when the user's browser local storage has invalid value.
articleBody:### Context
We discussed about this bug [here](https://github.com/squidfunk/mkdocs-material/discussions/6644#discussioncomment-8121881) and @kamilkrzyskow suggested me to make an issue.
### Bug description
If your browser has an invalid values like palette index in cache, the website will fail to load the whole Javascript stuffs.
I made a minimal standalone repository described on `Reproduction` section, so please have a look.
### Related links
- https://github.com/squidfunk/mkdocs-material/discussions/6644#discussioncomment-8121881
- https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/?h=palette#color-palette-toggle
- https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/?h=bug
### Reproduction
- 3 palettes: [9.5.3-3_palettes.zip](https://github.com/squidfunk/mkdocs-material/files/13930510/9.5.3-3_palettes.zip)
- 2 palettes: [9.5.3-2_palettes.zip](https://github.com/squidfunk/mkdocs-material/files/13930509/9.5.3-2_palettes.zip)
I made a repository to reproduce the exactly same thing on [this repository](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01/tree/master). The steps are simple and you can follow and make exactly same `.zip` files.
### Steps to reproduce
The content in this section is copied from [this repository's README.md](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01) with slight modification.
---
# Bug reproducing repository for [mkdocs-material](https://squidfunk.github.io/mkdocs-material)
This repository is used to introduce users to reproduce `mkdocs-material` bug [discussed here](https://github.com/squidfunk/mkdocs-material/discussions/6644#discussioncomment-8121881).
## Steps to reproduce in local
1. Clone this repository.
2. Make a virtual environment (Python 3.11) for this repository.
3. Run `pip install --upgrade --force-reinstall mkdocs-material` to install `mkdocs-material`.
4. Checkout to [commit ff4d4cf](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01/tree/ff4d4cf8d253bab0cc74af9c0abbf9907c359871).
5. Run `mkdocs serve` in your terminal to turn on local server.
6. Access `127.0.0.1:8000` from your browser.
7. Press button on the website to make palette to the dark mode.
8. Checkout to [commit a0d3b0b](https://github.com/McDic/mkdocs-material-palette-bug-report-2024-01/tree/a0d3b0b6978b0222de4e5ca1bd8644520535cf92) and refresh your build (`mkdocs serve` will refresh automatically).
9. Enjoy the bug. Javascript stuffs like searching, side navigations wouldn't work.

## Steps to reproduce `.zip` files
Since `mkdocs-material` encourages people to [use `.zip` files made by `info` plugin](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#reproduction) instead of making a repository, I am going to make 2 `.zip` files.
1. Run `echo 2_palettes | mkdocs build -f mkdocs_2_palettes.yml`
2. Run `echo 3_palettes | mkdocs build -f mkdocs_3_palettes.yml`
## Proposal to resolve this
I suggest to insert a validation JS code for invalid values in cache.
### Browser
Edge
### Before submitting
- [X] I have read and followed the [bug reporting guidelines](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/).
- [X] I have attached links to [the documentation](https://squidfunk.github.io/mkdocs-material/), and possibly related [issues](https://github.com/squidfunk/mkdocs-material/issues) and [discussions](https://github.com/squidfunk/mkdocs-material/discussions).
- [X] I assure that I have [removed all customizations](https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#remove-customizations) before submitting this bug report.
- [X] I have attached a __.zip file__ with a [minimal reproduction](https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/).
author:
url:https://github.com/McDic
type:Person
name:McDic
datePublished:2024-01-14T06:13:36.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:2
url:https://github.com/6645/mkdocs-material/issues/6645
Person:
url:https://github.com/McDic
name:McDic
url:https://github.com/McDic
name:McDic
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:2
interactionType:https://schema.org/CommentAction
userInteractionCount:2
External Links {π}(11)
- How much does https://github.blog earn?
- Financial intake of https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/?h=palette#color-palette-toggle
- How much revenue does https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/?h=bug bring in?
- Get to know what's the income of https://squidfunk.github.io/mkdocs-material
- How much profit does https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#reproduction generate?
- https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/'s revenue stream
- Monthly income for https://squidfunk.github.io/mkdocs-material/
- Revenue of https://squidfunk.github.io/mkdocs-material/contributing/reporting-a-bug/#remove-customizations
- What are the total earnings of https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/?
- How much does https://squidfunk.github.io/mkdocs-material/changelog/#9.5.4 generate monthly?
- What's https://www.githubstatus.com/'s gross income?
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