Skip to content

Conversation

@arsinclair
Copy link
Collaborator

  • This is happening because beatport is an SPA, so document.ready is not called between navigations. So if a user navigates from any page to a release page, the script is not fired.
  • I had to expand the @match condition of the script to all pages (in order to initialise the script properly on any page), but this is a good change, since it paves the road for other features, such as linking already imported releases on the label and artist pages and on the home page.

Closes #698

…esh to work

- This is happening because beatport is an SPA, so document.ready is not called between navigations. So if a user navigates from any page to a release page, the script is not fired.
- I had to expand the @match condition of the script to all pages (in order to initialise the script properly on any page), but this is a good change, since it paves the road for other features, such as linking already imported releases on the label and artist pages and on the home page.
@arsinclair arsinclair self-assigned this Nov 17, 2025
@arsinclair arsinclair requested a review from murdos November 17, 2025 01:14
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.

Beatport importer script requires a page refresh to work

2 participants