This sets the sessionStorage['namesync-tosend'] value before the Ajax call is made, instead of after it fails, so that way it should be more reliable that it gets set before 4chan X redirects the page. It also makes sure to not needlessly send the OP info again if say another tab did it already while the current one was waiting to retry.
This sets the sessionStorage['namesync-tosend'] value before the Ajax call is made, instead of after it fails, so that way it should be more reliable that it gets set before 4chan X redirects the page. It also makes sure to not needlessly send the OP info again if say another tab did it already while the current one was waiting to retry.