We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What's the problem? The multi-reddit navbar links are broken.
Are there any related posts in https://github.com/honestbleeps/Reddit-Enhancement-Suite/issues or /r/RESissues? Couldn't find any.
What other browser extensions are installed? Ublock Origin and a few more unrelated ones.
Possible root cause In file (
Reddit-Enhancement-Suite/lib/modules/multiredditNavbar.js
Line 43 in bfbceb2
./
These are directly appended to the base url of the multi reddit (
Line 106 in bfbceb2
Suggestion
Use the following fragment for creating the element:
const normalizedBaseUrl = baseUrl.endsWith("/") ? baseUrl : baseUrl + "/"; const fullUrl = (new URL(url, normalizedBaseUrl)).href; const li = string.html`<li><a href="${fullUrl}">${label}</a></li>`;
I would have made a PR but I do not have the setup on my laptop for running code.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What's the problem?
The multi-reddit navbar links are broken.
Are there any related posts in https://github.com/honestbleeps/Reddit-Enhancement-Suite/issues or /r/RESissues?
Couldn't find any.
What other browser extensions are installed?
Ublock Origin and a few more unrelated ones.
Possible root cause
In file (
Reddit-Enhancement-Suite/lib/modules/multiredditNavbar.js
Line 43 in bfbceb2
./
prepended).These are directly appended to the base url of the multi reddit (
Reddit-Enhancement-Suite/lib/modules/multiredditNavbar.js
Line 106 in bfbceb2
Suggestion
Use the following fragment for creating the element:
I would have made a PR but I do not have the setup on my laptop for running code.
The text was updated successfully, but these errors were encountered: