Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

Fall back to page URL if no script tags present - #1

Open
themightychris wants to merge 1 commit into
masterfrom
bugs/boot-assumes-scripts
Open

Fall back to page URL if no script tags present#1
themightychris wants to merge 1 commit into
masterfrom
bugs/boot-assumes-scripts

Conversation

@themightychris

Copy link
Copy Markdown
Member

The previous code assumed that at least one script tag exists on a page and crashes if this is not true. Further, it does not make use of the len variable that is available.

When used to build browser extensions, it is possible for the page an application is loaded onto to contain no script tags

The previous code assumed that at least one script tag exists on a page and crashes if this is not true. Further, it does not make use of the `len` variable that is available.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant