Skip to content
This repository was archived by the owner on May 10, 2020. It is now read-only.
This repository was archived by the owner on May 10, 2020. It is now read-only.

Invalid URL on preview-link #95

Description

@vortex852456

Just open a site with some comments (eg. https://pr0gramm.com/top/3448120)

Then execute this script in the console to trigger the error:
window.open($('.fa.fa-level-up.action.preview-link').first()[0].href, '_blank')

For non-developers: Click the right preview-link button with middle mouse key (opens in a new tab on chrome):
image

Cause of the behaviour: the URL is https://pr0gramm.com/top/!%20-nsfw/3448120#comment33284228 instead of https://pr0gramm.com/top/!%20-nsfw/3448120:comment33284228

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions