spaCy icon indicating copy to clipboard operation
spaCy copied to clipboard

All visualizer examples on the website broken

Open yissachar opened this issue 8 years ago • 3 comments

All CodePens on the Spacy website seem to be broken (e.g. see https://spacy.io/usage/visualizers). Trying to click through to the CodePen website results in a 404.

Looking at the explosion CodePen account it seems these CodePens probably do exist but are not being linked to correctly. It looks like the format of the URL is just wrong. For instance, compare:

https://codepen.io/explosion/f0e85b64d469d6617251d8241716d55f https://codepen.io/explosion/pen/ALxpQO

The first is a non-working link from the Spacy website, and the second is a working example pulled from the explosion CodePen account.

yissachar avatar Jan 09 '18 06:01 yissachar

@yissachar Indeed, URLs in source code are like the one you provided. However, when the page loads, these URLs are modified by some scripts (probably by CodePen widget) and they turn from not working URLs like:

https://codepen.io/explosion/f0e85b64d469d6617251d8241716d55f

to working URLs like:

https://codepen.io/explosion/pen/f0e85b64d469d6617251d8241716d55f

I've just clicked through all examples on visualizers page and every link works for me. Can you share information about which browser have you used and if you have JavaScript enabled?

fucking-signup avatar Jan 09 '18 23:01 fucking-signup

Ah, Privacy Badger was blocking the CodePen code from loading. Once I manually whitelisted it, the examples loaded properly. Sorry for the false alarm.

yissachar avatar Jan 09 '18 23:01 yissachar

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar May 08 '18 03:05 lock[bot]