Skip to content

New extension: Query parameters + HTML Anchors #1651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
jurkourko opened this issue Apr 12, 2025 · 2 comments
Open
3 tasks done

New extension: Query parameters + HTML Anchors #1651

jurkourko opened this issue Apr 12, 2025 · 2 comments
Labels
✨ New extension A new extension

Comments

@jurkourko
Copy link

Description

"Query parameters + HTML Anchors" extension

⚠️You need to run your preview as network preview (to use query and anchor params)⚠️


This extension has 4 functions

  • Query params
    • Compare query param and string
    • Query parameter
  • HTML Anchor params
    • Compare HTML anchor param and string
    • Current anchor parameter

These all functions are for using query and HTML anchor params.

How to use the extension

If you use a:

  • "Compare query param and string" condition
    • You will get true when your query param equals to a string
  • "Query parameter" expression
    • You will get the value from query param
  • Compare HTML anchor param and string
    • You will get true when your HTML anchor param equals to a string
  • "Current anchor parameter" expression
    • You will get the value from HTML anchor param

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

Example.zip

Extension file

QueryAndAnchorsExtensions.json

@jurkourko jurkourko added the ✨ New extension A new extension label Apr 12, 2025
Copy link
Contributor

👋 Hey @jurkourko, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
None yet
Development

No branches or pull requests

1 participant