ID:2854343
 
Not a bug
BYOND Version:N/A (Website Bug)
Operating System:Windows 11 Pro
Web Browser:Firefox 110.0
Applies to:Website
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
So when you interact with a hyperlink in the docs, the following happens:
Left Click: It works as expected.
Shift + Left Click or any action that opens a hyperlink in a new tab: It sends you to the wrong directory.


Numbered Steps to Reproduce Problem:
1. Goto http://www.byond.com/docs/ref/#/operator
2. Open operator overloading in a new tab.
(optional)
3. Compare to just normal clicking it instead.


Expected Results:
Being sent to http://www.byond.com/docs/ref/#/operator/overload


Actual Results:
Being sent to http://www.byond.com/docs/ref/info.html#/operator/overload


Workarounds:
1. Create a new tab.
2. Go back to the original tab and click the link so you can copy the url.
3. Paste the URL in the new tab.
4. Go back to the original tab and go back one page.


Result Notes:
This is just http://www.byond.com/docs/ref/info.html with the target directory being slapped on the end. So my theory is the website is likely using the wrong base URL for these links, though idk how normal clicking doesn't break if that is the case.
Luckily the #/whatever doesn't break anything else.
Lummox JR resolved issue (Not a bug)
This isn't actually a bug, just a consequence of the way the frames in the document work. I can try to rig up a workaround that will detect if the document isn't in its own frame and redirect to the index if need be.
I'd appreciate any solution to this