title: How can I make cross-domain requests to a local server from an external page in Opera?
body: <p>I have a system that's responsible for distributing jobs to a group of browsers running on different machines. Each browser reloads a page waiting for jobs to come in.</p>
  
  <p>One thing each job does is to make a cross-domain JSONP request to a local server running on the local machine in order to get some information from the system. This works in every browser I've tried except for Opera.</p>
  
  <p>Here's the jQuery code that I'm using to make the request:</p>
  
  <pre><code>$.ajax({
    url: "http://10.20.30.40:8000/...",
    dataType: "jsonp",
    data: someData
    success: function(data) { ... }
  });
  </code></pre>
  
  <p>The <code>10.20.30.40</code> host is the local IP address, identifying a local server running on the machine with the browser. The page which is making this request is loaded from a domain name like <code>blah.internal.example.com</code> which is visible to all the machines inside our network.</p>
  
  <p>The first such request made from Opera (I'm using 12.02) succeeds. However, subsequent requests made in the same way are never actually made. They don't show up in the network tab of the inspector. In the console, a message is displayed saying <code>Linked script not loaded</code>.</p>
  
  <p>I believe that this message (and the lack of a request) is triggered by Opera's Cross-Network Security, which is described in <a href="http://my.opera.com/securitygroup/blog/2012/07/03/operas-cross-network-protection" rel="nofollow noreferrer">this blog post</a>. On Stackexchange, <a href="https://stackoverflow.com/questions/5464599/opera-wont-load-some-javascript-files/7442998#7442998">this answer</a> suggests a workaround, but it requires user interaction. For my use case, the browsers are started, stopped, and run by a script, so user interaction isn't an option.</p>
  
  <p>Is there a way to disable this cross-network security in Opera completely, or for pages loaded from a particular "trusted" host? I need a change that I can make in the preferences or <code>opera:config</code> that will be sticky across sessions. (All of these computers are running on an internal network on internally controlled pages, so I'm not worried about cross-network attacks.)</p>