You could simply get an alert that someone has posted. Or you could get the last post emailed to you.
If you going to request the entire page you might as well send the last post. At least then you know there and then if you need/want to respond.
I think Blasty is referring to chromes generic bookmarks.
Another thing, and I'm not sure if this will be an issue or not, is same domain policy. I know native javascript will comply with this and not allow some requests (XMLHttpRequest‎ will fail I expect) across different domains. Remember there is no official API that's configured to provide easy access, unlike the lite hiscores or GE that are configured to allow this.
Example in console, the script runs fine. When I run it from my site it fails as expected with this error...
"No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.indecentcode.com' is therefore not allowed access. "
I can get around it using PHP if I wanted, but that's not a resource you'll have access to. And it becomes more an ethical issue rather than a coding issue, I don't want to go there
I'm not sure if using a google service gets around this, that's one of Blasty's areas of expertise. Running in the console is handy but is considered same domain and may not work that way in some cases like I have shown.
Edit: There are mechanisms in place that
attempt
to detect and prevent auto logging into the forums. I'm pretty sure, they eventually just deny your login request but it's something I'd not be prepared to test.
Edit #2
I just had a quick look at google apps (for the first time) you won't have a problem with your project. Requests that were rejected from my server went through without an issue using google apps. You can pretty much go nuts and do what you want.
29-Nov-2013 06:54:40
- Last edited on
29-Nov-2013 11:01:07
by
Indecent Act