Skip to content

fix: query for stylesheet <link>s explicitly#57

Open
Pinjasaur wants to merge 1 commit intodohliam:gh-pagesfrom
Pinjasaur:patch-1
Open

fix: query for stylesheet <link>s explicitly#57
Pinjasaur wants to merge 1 commit intodohliam:gh-pagesfrom
Pinjasaur:patch-1

Conversation

@Pinjasaur
Copy link
Copy Markdown

I was trying out the bookmarklet and was finding some sites it wasn't working on where the first <link> tag in the <head> wasn't always a <link rel="stylesheet"> but rather something else and so it wasn't actually working.

I updated the code to specifically check for a link[rel=stylesheet] which should be a bit more robust.

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.

1 participant