Safari 5 Extension?

Got a program that plays well with SABnzbd? Share it here!
jubei
Release Testers
Release Testers
Posts: 53
Joined: January 28th, 2009, 11:49 am

Safari 5 Extension?

Post by jubei »

Wish I knew CSS/HTML I would write one myself.  The extensions in Safari 5 are great.  Is anyone working on a SAB Plugin?
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: Safari 5 Extension?

Post by nomar383 »

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
wyd1
Release Testers
Release Testers
Posts: 32
Joined: April 5th, 2009, 1:28 pm
Location: Switzerland

Re: Safari 5 Extension?

Post by wyd1 »

Maybe someone could port the firefox version  :)
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: Safari 5 Extension?

Post by nomar383 »

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
jubei
Release Testers
Release Testers
Posts: 53
Joined: January 28th, 2009, 11:49 am

Re: Safari 5 Extension?

Post by jubei »

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!
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: Safari 5 Extension?

Post by nomar383 »

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
jubei
Release Testers
Release Testers
Posts: 53
Joined: January 28th, 2009, 11:49 am

Re: Safari 5 Extension?

Post by jubei »

Thanks Nomar....btw, bought your app for my iPad...digging it.  Thanks for your hard work.
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: Safari 5 Extension?

Post by nomar383 »

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
jubei
Release Testers
Release Testers
Posts: 53
Joined: January 28th, 2009, 11:49 am

Re: Safari 5 Extension?

Post by jubei »

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!
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: Safari 5 Extension?

Post by nomar383 »

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
emtee
Newbie
Newbie
Posts: 1
Joined: June 10th, 2010, 11:42 pm

Re: Safari 5 Extension?

Post by emtee »

A library for porting Chrome extensions to Safari can be found here: http://safariadblock.com/
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: Safari 5 Extension?

Post by nomar383 »

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, 10: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
jubei
Release Testers
Release Testers
Posts: 53
Joined: January 28th, 2009, 11:49 am

Re: Safari 5 Extension?

Post by jubei »

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.
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

Re: Safari 5 Extension?

Post by nomar383 »

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
wyd1
Release Testers
Release Testers
Posts: 32
Joined: April 5th, 2009, 1:28 pm
Location: Switzerland

Re: Safari 5 Extension?

Post by wyd1 »

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!  :)
Post Reply