Skip to main content
↑
↓
Spherical forums
Community for the
Sphere game engine
New?
Contact Us
to register an account!
1 Hour
1 Day
1 Week
1 Month
Forever
Community
Help
Search
Recent Posts
Log in
Contact Us
News
Spherical
Facebook
-
Twitter
-
Discord chat
New?
Contact us
to register an account!
General Discussion
Off-Topic Discussions
I made a Firefox add-on!
1
Print
Topic: I made a Firefox add-on!
(Read 4329 times)
previous topic
-
next topic
0 Members and 1 Guest are viewing this topic.
Flying Jester
Legendary Poster
Posts: 1,161
Logged
TurboSphere Developer
I made a Firefox add-on!
July 18, 2014, 07:49:44 pm
Get 'New Tab On The Left'
, a Firefox add-on
If the above link doesn't work, you can also get it from my Google drive
here
. But you help me out by getting your download counted if you use the mozilla.org link, so I recommend using the first link if possible
So I guess I made a Firefox add-on or something. I found that, really often, I would want to open a new tab all the way on the left of the tab bar. So what I would do is open a new tab, and then drag it all the way to the left. I often have large numbers of tabs open, in the triple digits, and you kind of have to jiggle the tab as you drag it to get it to keep going (I don't even know if that's a bug or not). So I figured, you know what would be cool? If I made a Firefox addon that opened tabs on the left.
Creatively, I call it 'New tab on the left'.
It adds an item to the context menu, 'Open Link in New Tab on the Left' for links, and an action button that opens a new tab all the way on the left. With Australis, you can put that button next to the normal 'new tab' button, or (if you don't have OS X
) put it on the left side of the tab bar. Or whatever. Australis lets you put things in any ol' place.
It needs Australis (29 +), since it uses the new APIs for the tab elements.
Last Edit
: July 18, 2014, 08:11:03 pm by Flying Jester
Learn some history?
The Flying Jester's Blog of Sorts
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
Re: I made a Firefox add-on!
Reply #1
–
July 18, 2014, 10:53:15 pm
Hundreds of tabs? Okay, tabbed browsing is nice and all, but I don't understand people that keep that many tabs open, as if they are a replacement for bookmarks. How do you even manage them all? I get overwhelmed if my tab count goes into the double digits, let alone triple!
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
Flying Jester
Legendary Poster
Posts: 1,161
Logged
TurboSphere Developer
Re: I made a Firefox add-on!
Reply #2
–
July 18, 2014, 11:43:16 pm
Almost always the way this happens, I see like three or four links that look interesting on a page. So I open them in new tabs. And then, I find more links in one or two of those pages, and so I open those in new tabs...
...using a breadth-first node population algorithm while traversing in a pseudo-random fashion...
And before I know it, between 50-150 tabs open. I keep my emails (private and work) on the far left. Usually, at some point, I hit 'close all tabs to the right' of about ten or so tabs.
Learn some history?
The Flying Jester's Blog of Sorts
Radnen
Big Chungus
Posts: 1,440
Sphere Studio Developer
Logged
Senior Staff
Wise Warrior
Re: I made a Firefox add-on!
Reply #3
–
July 19, 2014, 12:04:19 am
Flying Jester: Dude, like beer, surf the net with moderation! I only open tabs of things I intend to read, and then fully read them before moving on. Like I'll have double-digits of tabs if they are news articles, but if I skim them and don't like them the tabs get closed. I'm rarely above twenty at max.
I think it's cool though that you work at Mozilla and... here is your first plugin! Woohoo! I would use it, if I used FF more often, but I do not.
If you use code to help you code you can use less code to code. Also, I have approximate knowledge of many things.
Sphere-sfml
here
Sphere Studio editor
here
N E O
Hero Poster
Posts: 585
Making it happen!
Logged
Administrator
Senior Administrator
Re: I made a Firefox add-on!
Reply #4
–
July 19, 2014, 01:02:07 pm
Besides being leaner (I'm assuming), what's the advantage of using this over Tab Mix Plus's "Open new tab to the left" functionality, or do they use the same behind-the-scene technique(s) to make it happen?
Flying Jester
Legendary Poster
Posts: 1,161
Logged
TurboSphere Developer
Re: I made a Firefox add-on!
Reply #5
–
July 19, 2014, 03:58:41 pm
Well, to be honest, I didn't even look to see if there were any similar plugins.
But I really can't imagine any similar add-ons being simpler than this, it's about 100 lines of JS. Chances are, Tab Mix Plus uses the same gBrowser functonality. In fact, I'd imagine it's basically the same thing.
The only thing I can imagine I might've done better is, my add-on respects custom 'new tab' pages?
Learn some history?
The Flying Jester's Blog of Sorts
1
Print
General Discussion
Off-Topic Discussions
I made a Firefox add-on!