Note that I am totally new to Javascript, but due to complications, this is the only language that I can use here. I have spent many hours looking for a solution, but can't seem to find one.
I want to edit a Wikipedia page through the MediaWiki API from my local machine using either Javascript or jQuery - that's it. I don't need a mechanism to obtain an edit token, that is all sorted. All I need is to be able to edit a page, and so far every method I've seen fails because of the 'Access-Control-Allow-Origin' header.