Bryan Tong Minh wrote:
Implementing watchlists in Javascript? I have implemented a watchlist in javascript [1], but the problem is that javascript does not allow cross website scripting. So there is no way I can fetch the data from an other hostname.
There are actually two solutions to that problem:
1. The Wikimedia wikis have an AJAX framework which IIRC has the capability to tranparently fetch data off any other Wikimedia wiki, on the server side. So Javascript thinks it's still dealing with the same site and the sandbox security model doesn't prevent what you want.
2. Turn the whole thing into a Greasemonkey script (I know, you limit the browser choices...) and then pull data from wherever you want...