The following code requires jQuery, but it is of course possible to hack something together with plain JavaScript.
$.get(document.URL.replace(/(https?:\/\/)/, '$1logout@'));
Update:
I have figured out that this doesn't work all the time, and it seems unreliable. However, it may be used as a last resort.
No comments:
Post a Comment