I'm writing a Greasemonkey script for a forum where, if you hit "Submit" on a post you've written, you will be taken to a notification page saying 'Your post has been posted". 

I'm trying to get around this by skipping this page entirely. 

So far the only solution I've come up with is:

```
// @include        *posting.php?mode=reply*
// ==/UserScript==
// @run-at document-start

{
location.href = document.referrer
}

```

It's probably a complete roundabout way, but it's not quite what I was looking for. I'm hoping to skip the confirmation page entirely and just reload back to the page you were just at immediately. I've tried `history.go(-1)` as well, but no dice. 

Any ideas how to achieve something along those lines?