René's URL Explorer Experiment


Title: fix config initialization and coercion by L3au · Pull Request #861 · docsifyjs/docsify · GitHub

Open Graph Title: fix config initialization and coercion by L3au · Pull Request #861 · docsifyjs/docsify

X Title: fix config initialization and coercion by L3au · Pull Request #861 · docsifyjs/docsify

Description: 🃏 A magical documentation site generator. Contribute to docsifyjs/docsify development by creating an account on GitHub.

Open Graph Description: Summary close #860 This PR fix two problems. document.currentScript doesn't work in a callback or event handler, and will always return null with initializing config after DOMContentLoaded in ...

X Description: Summary close #860 This PR fix two problems. document.currentScript doesn't work in a callback or event handler, and will always return null with initializing config after DOMContentLoaded...

Opengraph URL: https://github.com/docsifyjs/docsify/pull/861

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3f79ee2e-3e6b-dd89-44f9-b70dddbf4f5d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8ED0:1EB498:F213A4:15DDCA8:6AFDB6D0
html-safe-noncee8d47b1e47db012f5dc636c0dda6a8984f29c7fd0fc4c9acea36cff9b7c8a261
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUQwOjFFQjQ5ODpGMjEzQTQ6MTVERENBODo2QUZEQjZEMCIsInZpc2l0b3JfaWQiOiI3MzAxNDE3OTQzNzAxNTAxNjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd42b8c192e9703d8ff7f42793de8c492075c1e327cc4dd5737da549dbc1c97fd
hovercard-subject-tagpull_request:284533616
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/docsifyjs/docsify/861/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2d937dd9835b0fb911d58ca4a47d8fe40e822922ba847903d5b27a99af59082d/docsifyjs/docsify/pull/861
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2d937dd9835b0fb911d58ca4a47d8fe40e822922ba847903d5b27a99af59082d/docsifyjs/docsify/pull/861
og:image:altSummary close #860 This PR fix two problems. document.currentScript doesn't work in a callback or event handler, and will always return null with initializing config after DOMContentLoaded in ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameL3au
hostnamegithub.com
expected-hostnamegithub.com
None8309f07eb60a4237a657068c83d0bb57be4c7e02937f5e9933126f4bd596aac4
turbo-cache-controlno-cache
go-importgithub.com/docsifyjs/docsify git https://github.com/docsifyjs/docsify.git
octolytics-dimension-user_id40133106
octolytics-dimension-user_logindocsifyjs
octolytics-dimension-repository_id74260508
octolytics-dimension-repository_nwodocsifyjs/docsify
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74260508
octolytics-dimension-repository_network_root_nwodocsifyjs/docsify
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2f7154d847f1ddc5baa83b109a3e1d924605e2a3
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/docsifyjs/docsify/pull/861#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify%2Fpull%2F861
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify%2Fpull%2F861
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=docsifyjs%2Fdocsify
Reloadhttps://github.com/docsifyjs/docsify/pull/861
Reloadhttps://github.com/docsifyjs/docsify/pull/861
Reloadhttps://github.com/docsifyjs/docsify/pull/861
docsifyjshttps://github.com/docsifyjs
docsifyhttps://github.com/docsifyjs/docsify
Codehttps://github.com/docsifyjs/docsify
Issues60 (60)https://github.com/docsifyjs/docsify/issues
Pull requests27 (27)https://github.com/docsifyjs/docsify/pulls
Discussionshttps://github.com/docsifyjs/docsify/discussions
Actionshttps://github.com/docsifyjs/docsify/actions
Projectshttps://github.com/docsifyjs/docsify/projects
Wikihttps://github.com/docsifyjs/docsify/wiki
Security and qualityhttps://github.com/docsifyjs/docsify/security
Insightshttps://github.com/docsifyjs/docsify/insights
https://github.com/docsifyjs/docsify
anikethsahahttps://github.com/anikethsaha
docsifyjs:develophttps://github.com/docsifyjs/docsify/tree/develop
L3au:fix-init-confighttps://github.com/L3au/docsify/tree/fix-init-config
Conversationhttps://github.com/docsifyjs/docsify/pull/861
Commits2 (2)https://github.com/docsifyjs/docsify/pull/861/commits
Checkshttps://github.com/docsifyjs/docsify/pull/861/checks
Files changedhttps://github.com/docsifyjs/docsify/pull/861/files
fix config initialization and coercionhttps://github.com/docsifyjs/docsify/pull/861#top
anikethsahahttps://github.com/anikethsaha
docsifyjs:develophttps://github.com/docsifyjs/docsify/tree/develop
L3au:fix-init-confighttps://github.com/L3au/docsify/tree/fix-init-config
https://github.com/L3au
L3auhttps://github.com/L3au
Jun 3, 2019https://github.com/docsifyjs/docsify/pull/861#issue-451445329
#860https://github.com/docsifyjs/docsify/issues/860
MDNhttps://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript
docsify/src/core/index.jshttps://github.com/docsifyjs/docsify/blob/676f84cffa9d713fbad662371870d7db2109a9b3/src/core/index.js#L38-L41
676f84chttps://github.com/docsifyjs/docsify/commit/676f84cffa9d713fbad662371870d7db2109a9b3
docsify/src/core/config.jshttps://github.com/docsifyjs/docsify/blob/676f84cffa9d713fbad662371870d7db2109a9b3/src/core/config.js#L34-L66
676f84chttps://github.com/docsifyjs/docsify/commit/676f84cffa9d713fbad662371870d7db2109a9b3
@timaschewhttps://github.com/timaschew
@QingWei-Lihttps://github.com/QingWei-Li
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/L3au
L3auhttps://github.com/L3au
Jun 28, 2019 https://github.com/docsifyjs/docsify/pull/861#ref-issue-451409183
loadSidebar: true doesn't work well when script src doesn't contain docsify. #860 https://github.com/docsifyjs/docsify/issues/860
https://github.com/anikethsaha
anikethsahahttps://github.com/anikethsaha
Jan 15, 2020https://github.com/docsifyjs/docsify/pull/861#issuecomment-574675203
@L3auhttps://github.com/L3au
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/L3au
L3auhttps://github.com/L3au
force-pushedhttps://github.com/docsifyjs/docsify/compare/581a21a5e7b1cb4e2c68a0b43a8ee1e8dee1e5cf..7580a122d22c2d26c9477abb8c0de6f841e7acf1
581a21ahttps://github.com/docsifyjs/docsify/commit/581a21a5e7b1cb4e2c68a0b43a8ee1e8dee1e5cf
7580a12https://github.com/docsifyjs/docsify/commit/7580a122d22c2d26c9477abb8c0de6f841e7acf1
Compare https://github.com/docsifyjs/docsify/compare/581a21a5e7b1cb4e2c68a0b43a8ee1e8dee1e5cf..7580a122d22c2d26c9477abb8c0de6f841e7acf1
January 15, 2020 22:34https://github.com/docsifyjs/docsify/pull/861#event-2952557541
https://github.com/L3au
L3auhttps://github.com/L3au
Jan 15, 2020https://github.com/docsifyjs/docsify/pull/861#issuecomment-574889490
@anikethsahahttps://github.com/anikethsaha
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/L3au
L3auhttps://github.com/L3au
Jan 15, 2020https://github.com/docsifyjs/docsify/pull/861#issuecomment-574890716
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/L3au
L3auhttps://github.com/L3au
QingWei-Lihttps://github.com/QingWei-Li
anikethsahahttps://github.com/anikethsaha
QingWei-Lihttps://github.com/QingWei-Li
January 15, 2020 22:40https://github.com/docsifyjs/docsify/pull/861#event-2952571324
https://github.com/anikethsaha
anikethsahahttps://github.com/anikethsaha
Feb 5, 2020https://github.com/docsifyjs/docsify/pull/861#issuecomment-582515353
@L3auhttps://github.com/L3au
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/anikethsaha
anikethsahahttps://github.com/anikethsaha
Feb 5, 2020https://github.com/docsifyjs/docsify/pull/861#event-3010899110
February 7, 2020 10:13https://github.com/docsifyjs/docsify/pull/861#commits-pushed-3291b88
fix: document.currentScript referencehttps://github.com/docsifyjs/docsify/pull/861/commits/3291b881f9c0fad609ef1d02141595153514ee51
3291b88https://github.com/docsifyjs/docsify/pull/861/commits/3291b881f9c0fad609ef1d02141595153514ee51
fix: merge confighttps://github.com/docsifyjs/docsify/pull/861/commits/343b8ea1dbc450d2e0216bbc94507cd7e5454e2f
343b8eahttps://github.com/docsifyjs/docsify/pull/861/commits/343b8ea1dbc450d2e0216bbc94507cd7e5454e2f
https://github.com/L3au
L3auhttps://github.com/L3au
force-pushedhttps://github.com/docsifyjs/docsify/compare/7580a122d22c2d26c9477abb8c0de6f841e7acf1..343b8ea1dbc450d2e0216bbc94507cd7e5454e2f
7580a12https://github.com/docsifyjs/docsify/commit/7580a122d22c2d26c9477abb8c0de6f841e7acf1
343b8eahttps://github.com/docsifyjs/docsify/commit/343b8ea1dbc450d2e0216bbc94507cd7e5454e2f
Compare https://github.com/docsifyjs/docsify/compare/7580a122d22c2d26c9477abb8c0de6f841e7acf1..343b8ea1dbc450d2e0216bbc94507cd7e5454e2f
February 6, 2020 21:15https://github.com/docsifyjs/docsify/pull/861#event-3015506586
https://github.com/L3au
L3auhttps://github.com/L3au
Feb 6, 2020https://github.com/docsifyjs/docsify/pull/861#issuecomment-583116977
@anikethsahahttps://github.com/anikethsaha
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/anikethsaha
anikethsahahttps://github.com/anikethsaha
Feb 13, 2020 https://github.com/docsifyjs/docsify/pull/861#pullrequestreview-358531248
View reviewed changes https://github.com/docsifyjs/docsify/pull/861/files/343b8ea1dbc450d2e0216bbc94507cd7e5454e2f
https://github.com/anikethsaha
anikethsahahttps://github.com/anikethsaha
0e4cdadhttps://github.com/docsifyjs/docsify/commit/0e4cdad73efc6b663ff5804c2d6bc13fbcad8526
Feb 13, 2020https://github.com/docsifyjs/docsify/pull/861#event-3036430348
https://github.com/anikethsaha
anikethsahahttps://github.com/anikethsaha
Feb 20, 2020 https://github.com/docsifyjs/docsify/pull/861#ref-pullrequest-565246650
[Pre-release]: Tracking changes for pre-release of v4.11.0 #1024 https://github.com/docsifyjs/docsify/pull/1024
https://github.co/hiddenchars
https://github.com/docsifyjs/docsify/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify%2Fpull%2F861
https://github.com/anikethsaha
anikethsaha https://github.com/anikethsaha
https://github.com/docsifyjs/docsify/pull/861/files/343b8ea1dbc450d2e0216bbc94507cd7e5454e2f
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/anikethsaha
anikethsaha https://github.com/anikethsaha
loadSidebar: true doesn't work well when script src doesn't contain docsify. https://github.com/docsifyjs/docsify/issues/860
Please reload this pagehttps://github.com/docsifyjs/docsify/pull/861
https://github.com/L3au
https://github.com/anikethsaha
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.