Safari 5 Extension?

Got a program that plays well with SABnzbd? Share it here!

Safari 5 Extension?

Postby jubei » June 10th, 2010, 9:33 am

Wish I knew CSS/HTML I would write one myself.  The extensions in Safari 5 are great.  Is anyone working on a SAB Plugin?
jubei
Release Testers
Release Testers
 
Posts: 55
Joined: January 28th, 2009, 12:49 pm

Re: Safari 5 Extension?

Postby nomar383 » June 10th, 2010, 12:27 pm

I want to, but I've been putting all my efforts into NZBpad for the iPad. Hopefully someone creates a Safari 5 Extension soon!
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
 
Posts: 210
Joined: April 14th, 2010, 2:34 am
Location: Rexburg, ID

Re: Safari 5 Extension?

Postby wyd1 » June 10th, 2010, 12:58 pm

Maybe someone could port the firefox version  :)
wyd1
Release Testers
Release Testers
 
Posts: 43
Joined: April 5th, 2009, 2:28 pm
Location: Switzerland

Re: Safari 5 Extension?

Postby nomar383 » June 10th, 2010, 1:34 pm

Are the firefox or chrome versions open source? I might make a quick port if one of them is.
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
 
Posts: 210
Joined: April 14th, 2010, 2:34 am
Location: Rexburg, ID

Re: Safari 5 Extension?

Postby jubei » June 10th, 2010, 1:53 pm

I think the Chrome one would be easiest to port since they're both Webkit browsers...Good question on whether or not they're open source, lemme check.  

EDIT
As per: https://chrome.google.com/extensions/de ... hplifocfgp

The source code is released under GPLv2 or later and can be found here:
http://code.google.com/p/sabconnect/
/EDIT

It's open source!
jubei
Release Testers
Release Testers
 
Posts: 55
Joined: January 28th, 2009, 12:49 pm

Re: Safari 5 Extension?

Postby nomar383 » June 10th, 2010, 3:34 pm

I have no idea whether the dev plans to support safari, so I don't want to get too commited. However, looking over the source and Apple's conversion from chrome documentation, I think I could make a quick and dirty port. If I get some time at work today, then I'll see what I can come up with.
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
 
Posts: 210
Joined: April 14th, 2010, 2:34 am
Location: Rexburg, ID

Re: Safari 5 Extension?

Postby jubei » June 10th, 2010, 4:39 pm

Thanks Nomar....btw, bought your app for my iPad...digging it.  Thanks for your hard work.
jubei
Release Testers
Release Testers
 
Posts: 55
Joined: January 28th, 2009, 12:49 pm

Re: Safari 5 Extension?

Postby nomar383 » June 10th, 2010, 6:06 pm

jubei wrote:Thanks Nomar....btw, bought your app for my iPad...digging it.  Thanks for your hard work.


Thanks! That project is a lot of fun to work on :)

Anyways, I have converted some of the source to work as a Safari Plugin. You won't have the little popup on this first release, but everything else should work (ie the click to add functionality). I can't build the extension and do any testing here at work, but when I get home I'll give it a shot and put it up on my sever for download if it works. I will also post the source code (not that it's much different than the chrome version).
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
 
Posts: 210
Joined: April 14th, 2010, 2:34 am
Location: Rexburg, ID

Re: Safari 5 Extension?

Postby jubei » June 10th, 2010, 9:45 pm

yeah all I really care about is the click to add functionality.  I don't use the rollover as much as I should.  thanks again!
jubei
Release Testers
Release Testers
 
Posts: 55
Joined: January 28th, 2009, 12:49 pm

Re: Safari 5 Extension?

Postby nomar383 » June 10th, 2010, 11:06 pm

Well I have nzbmatrix working. However, it's all very inefficient and I can't get the settings input to work quite yet (I've hard-coded my own into the script). This might take a few days to churn something useable out haha
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
 
Posts: 210
Joined: April 14th, 2010, 2:34 am
Location: Rexburg, ID

Re: Safari 5 Extension?

Postby emtee » June 11th, 2010, 12:44 am

A library for porting Chrome extensions to Safari can be found here: http://safariadblock.com/
emtee
Newbie
Newbie
 
Posts: 1
Joined: June 11th, 2010, 12:42 am

Re: Safari 5 Extension?

Postby nomar383 » June 11th, 2010, 2:59 am

Fair warning: this is a VERY rough port.

*You can put in your server address and api key in the settings.
*NZBMatrix is the only supported site (I'm too tired to work out the others at the moment)
*No popup dialog
*You will not see a little green icon after you hit the add button

I will add the other indexing services in tomorrow if I get a chance. I'm working on getting some of the other feature in too, but I really need to focus on my iPad app :)

Anyways, I have linked to the extension below. I'll post updates here as I have time. I'll also post the source after the next version (it looks pretty gross right now).

VERSION 0.1:
http://sabconnect-safari.kalenhansen.com
Last edited by nomar383 on June 11th, 2010, 11:52 pm, edited 1 time in total.
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
 
Posts: 210
Joined: April 14th, 2010, 2:34 am
Location: Rexburg, ID

Re: Safari 5 Extension?

Postby jubei » June 11th, 2010, 9:49 am

Nomar,
You killed it bro!  Thank you!  Working for me on NZBMatrix.  Doesn't pick up the categories yet (I think the chrome add on did) but otherwise, very good!

I've been a huge fan of Google Chrome for about 8 months now but now that Safari has extensions, I think it might be my full time browser.
jubei
Release Testers
Release Testers
 
Posts: 55
Joined: January 28th, 2009, 12:49 pm

Re: Safari 5 Extension?

Postby nomar383 » June 11th, 2010, 11:36 am

I've almost got NZBs.org working. It keeps adding the same NZB like 40 times though after I click the button :)
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
 
Posts: 210
Joined: April 14th, 2010, 2:34 am
Location: Rexburg, ID

Re: Safari 5 Extension?

Postby wyd1 » June 11th, 2010, 6:08 pm

nomar383 wrote:Fair warning: this is a VERY rough port.

*You can put in your server address and api key in the settings.
*NZBMatrix is the only supported site (I'm too tired to work out the others at the moment)
*No popup dialog
*You will not see a little green icon after you hit the add button

I will add the other indexing services in tomorrow if I get a chance. I'm working on getting some of the other feature in too, but I really need to focus on my iPad app :)

Anyways, I have linked to the extension below. I'll post updates here as I have time. I'll also post the source after the next version (it looks pretty gross right now).

http://dl.dropbox.com/u/7831344/SABConn ... safariextz


That was exactly what I needed. Thank you so much!  :)
wyd1
Release Testers
Release Testers
 
Posts: 43
Joined: April 5th, 2009, 2:28 pm
Location: Switzerland

Next

Return to Third-party Addons