KeinNiemand/MagicPHOViewer

Suggestion: use new tab

erbkaiser opened this issue · 2 comments

Instead of taking over the existing (real) forum post and reformatting it to look like PHO, I would prefer it if the fake PHO would open in a new tab.
That will make it easier to return to the actual story and also allow easier reading of non-PHO parts of updates.

I guess I could use local storage to do that. Use local storage to store what link to open, and on loading the page/script show the PHO topic with the id stored in local storage while also setting the value to somthing like -1 so it don't load the PHO thread all the time.
Might add this and/or a return button soon, not sure what would be better/easier to implement.

I've added a back button instead that goes back to the PHO link. I might still add a way to use new tabs later but it's not a priority for now. Feel free to open a pull request.