Search found 5 matches

by the_loneley
September 21st, 2012, 12:46 pm
Forum: General Discussion
Topic: Userscript for binsearch.info
Replies: 2
Views: 3444

Re: Userscript for binsearch.info

I promised too much: In Chrome the attempt to access sabnzbd via ajax also results in an error: XMLHttpRequest cannot load http://localhost:8080/api?mode=get_cats&output=json&apikey=f22d9370a15678945070b300190abf. Origin http://www.example.de is not allowed by Access-Control-Allow-Origin. It...
by the_loneley
September 20th, 2012, 7:34 am
Forum: General Discussion
Topic: Userscript for binsearch.info
Replies: 2
Views: 3444

Re: Userscript for binsearch.info

I forgot to say what makes this approach worth to think about: Different to existing userscripts and browser extensions/addons this script downloads the nzb to the browsers memory and sends it directly to sabnzbd. When you instead use the addurl command (like many scripts do) sabnzbd needs to have f...
by the_loneley
September 15th, 2012, 1:37 pm
Forum: General Discussion
Topic: Userscript for binsearch.info
Replies: 2
Views: 3444

Userscript for binsearch.info

Hello A userscript that loads nzbs from binsearch.info a posts them directly to sabnzbd can be installed from http://userscripts.org/scripts/source/145926.user.js via ajax requests. It works in Chrome with Tampermonkey . Should also work in FF with Scriptish or Greasemonkey but shows an error after ...
by the_loneley
May 5th, 2012, 2:19 pm
Forum: General Discussion
Topic: Jquery AJAX and sabnzbd - OK 200 but still getting Firebug error
Replies: 4
Views: 4234

Re: Jquery AJAX and sabnzbd - OK 200 but still getting Fireb

I still don't understand what this is about. Can you explain in layman's terms why this is useful? I actually can't claim to fully understand the sense of these headers. As far as I understand it should a browser only do cross-site Ajax request when it has the explicit permission of the web server....
by the_loneley
May 4th, 2012, 10:13 am
Forum: General Discussion
Topic: Jquery AJAX and sabnzbd - OK 200 but still getting Firebug error
Replies: 4
Views: 4234

Re: Jquery AJAX and sabnzbd - OK 200 but still getting Fireb

Hello Accidentally (?) the day before yesterday I forked sabnzbd on Github to 'fix' exactly this problem and today I got done wihth it. What sabnzbd must do to permit the browser to give the request a wholehearted success state is described here . I added a 'bless_cross_site'-option and a 'blessed_h...