Skip to content

Javascript as new special shortcut #15

Description

@LinusU

How about adding javascript as a new special shortcut that expands to the following.

['application/javascript', 'application/x-javascript', `text/javascript`]

Unfortunately there are still a few servers out in the wild that returns one of the two latter which breaks my script :(

Here are some info on how/when/why they were used: Difference between application/x-javascript and text/javascript content types @ StackOverflow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions