FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: support inline ES modules with executeScript by sy-records · Pull Request #2808 · docsifyjs/docsify · GitHub

Repository navigation

feat: support inline ES modules with executeScript - #2808

Open
sy-records wants to merge 1 commit into
docsifyjs:developfrom
sy-records:fix/2010
Open

sy-records wants to merge 1 commit into
docsifyjs:developfrom
sy-records:fix/2010

Conversation

Copy link
Copy Markdown
Member

Summary

Execute inline module scripts through a new script element so the browser can handle static imports, exports, and top-level await.

Preserve classic script execution and first-script selection behavior. Keep external modules handled by the external-script plugin.

Add browser regression tests and a manual demo. Document asynchronous execution and relative import resolution.

Related issue, if any:

Close #2010

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed

Does this PR introduce a breaking change?

  • Yes
  • No

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge

vercel Bot commented Sep 25, 2026

Copy link
Copy Markdown

@sy-records is attempting to deploy a commit to the Docsify Team on Vercel.

A member of the Team first needs to authorize it.

Execute inline module scripts through a new script element so the browser
can handle static imports, exports, and top-level await.

Preserve classic script execution and first-script selection behavior.
Keep external modules handled by the external-script plugin.

Add browser regression tests and a manual demo. Document asynchronous
execution and relative import resolution.

vercel Bot commented Sep 25, 2026 •
edited
Loading

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docsify-preview Ready Preview Sep 25, 2026 11:50pm UTC

This branch was successfully deployed

1 active deployment
Preview — 24a991b0 Deployed Sep 25, 2026 by vercel[bot]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

executeScript does not support ES modules

1 participant


Back | FazBrowse Home | New Git URL