Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Hmm ... with XF 2.2 there could be a way to solve this:XF 2.2 does use a service worker, eg. JS that can intercept any request before it is being sent to the server.The service worker does get the URL fragment (eg. #post-1234), the server does not receive this information.So the idea would be for the service-worker to detect this URL fragment, upon receiving a response from the server check if the HTTP response code is 200 .If it is and the post with that ID is not on the page, it could request /posts/1234 instead.So basically this would give the URL fragment post ID precendence over thread id and page number.
Hmm ... with XF 2.2 there could be a way to solve this:
XF 2.2 does use a service worker, eg. JS that can intercept any request before it is being sent to the server.
The service worker does get the URL fragment (eg. #post-1234), the server does not receive this information.
#post-1234
So the idea would be for the service-worker to detect this URL fragment, upon receiving a response from the server check if the HTTP response code is 200 .
If it is and the post with that ID is not on the page, it could request /posts/1234 instead.
/posts/1234
So basically this would give the URL fragment post ID precendence over thread id and page number.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences