Skip to content
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

Use window.location.origin + window.location.pathname for links if the unique identificator (url) is not URL. #1692

Open
ob-tk opened this issue Oct 30, 2023 · 0 comments
Labels

Comments

@ob-tk
Copy link

ob-tk commented Oct 30, 2023

Use window.location.origin + window.location.pathname for all possible links (rss, telegram, comments body) if the unique identificator (url) is not URL.

Let me explain. I use unique identifiers that do not depend on sites URL (to display comments on the same pages on different sites) - in this case all links are broken (example: <a href="id68033986#remark42__comment-f379ad44-72fb-3c69-a548-e0943b8f1afc" class="comment__time">), although this can be avoided.

@ob-tk ob-tk changed the title Use window.location.origin + window.location.pathname for links if the unique identificator (url) is not url. Use window.location.origin + window.location.pathname for links if the unique identificator (url) is not URL. Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants