8000 Error 403 when trying to load the script · Issue #335 · milesmcc/shynet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Error 403 when trying to load the script #335
Open
@patrickuhlmann

Description

@patrickuhlmann

When I copy the code exactly as it is displayed it does not work on all pages. Sometimes an error 403 is encountered when trying to load the script. A precondition to encounter the behavior is that "Allowed origins" is set.

From my observation the reason is that in the GET request does not include an Origin Header which is needed if the option "allowed origins" is set. To fix the behavior the following attribute must included referrerpolicy="origin"

It might be a good idea to add it to the displayed code for embedding the statistics (at least if "allowed origins" is set).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0