Announcement: Flash click to view 0.1 released!

Talk about add-ons and extension development.
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

So

Post by Ted Mielczarek »

What do you think of this, in place of the current appearance?

Image

Just cleaning up the code because of my revelation in the previous post, and thought I'd try some new stuff out.

-Ted
User avatar
rockstiff
Posts: 342
Joined: April 24th, 2003, 1:38 pm
Location: Lund, Sweden
Contact:

Re: So

Post by rockstiff »

Love it! Just what I ment by my post (see above)! Thanks for a GREAT extension!
Mozilla Firefox 0.9 20040817
Windows XP Professional SP1
User avatar
rockstiff
Posts: 342
Joined: April 24th, 2003, 1:38 pm
Location: Lund, Sweden
Contact:

Post by rockstiff »

Is the new version available for download?
Mozilla Firefox 0.9 20040817
Windows XP Professional SP1
User avatar
avih
Posts: 347
Joined: December 30th, 2002, 2:36 pm
Contact:

Post by avih »

imho, flat blocks are better thab buttons. it has less clutter, and i also think that it's using less reources (probably not much though).
TychoQuad
Posts: 1263
Joined: December 11th, 2002, 12:30 am
Location: Australia

Post by TychoQuad »

I definately like the new buttons better, but drop the red italics text before the button, and perhaps rename the button "Click to activate Flash" as flash doesn't always invlolve playing anything, especially if it's a navigation menu for example.
User avatar
rockstiff
Posts: 342
Joined: April 24th, 2003, 1:38 pm
Location: Lund, Sweden
Contact:

Post by rockstiff »

TychoQuad wrote:I definately like the new buttons better, but drop the red italics text before the button, and perhaps rename the button "Click to activate Flash" as flash doesn't always invlolve playing anything, especially if it's a navigation menu for example.

Agreed!
Mozilla Firefox 0.9 20040817
Windows XP Professional SP1
User avatar
grayrest
Posts: 468
Joined: November 5th, 2002, 8:49 am
Location: Tribus!
Contact:

Post by grayrest »

I liked the extension but didn't like the apperance, so I've <a href="http://komodo.nique.net/~grayrest/flashblock.png">modified the look</a> and uploaded the result to http://komodo.nique.net/~grayrest/flashblock.xpi . I didn't do anything else though, so I didn't increment the version.
tve
Moderator
Posts: 3275
Joined: November 6th, 2002, 12:07 pm
Location: Federal Republic of Germany

Post by tve »

grayrest wrote:I liked the extension but didn't like the apperance, so I've <a href="http://komodo.nique.net/~grayrest/flashblock.png">modified the look</a> and uploaded the result to http://komodo.nique.net/~grayrest/flashblock.xpi . I didn't do anything else though, so I didn't increment the version.

dont like red italic times new roman either ;) - and this looks great, thanks :)
<i>Latest Firefox Trunk & Thunderbird 1.0</i>
User avatar
jensb
Posts: 544
Joined: April 23rd, 2003, 12:42 pm
Location: Germany
Contact:

Post by jensb »

grayrest wrote:I liked the extension but didn't like the apperance, so I've <a href="http://komodo.nique.net/~grayrest/flashblock.png">modified the look</a>

I like your look better, too. One issue though: On http://www.shockwave.com, the click-to-show button makes the second flash area larger than it normally would be... Any chance on fixing this?

Note: Development efforts should concentrate on one implementation. I think at this early stage, there's little use in having multiple extensions for the same thing. Perhaps this should form a project on mozdev, so we can join forces? I can think of several improvements for this...
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Post by Ted Mielczarek »

grayrest wrote:I liked the extension but didn't like the apperance, so I've <a href="http://komodo.nique.net/~grayrest/flashblock.png">modified the look</a> and uploaded the result to http://komodo.nique.net/~grayrest/flashblock.xpi . I didn't do anything else though, so I didn't increment the version.


That's pretty. I'll post my modified version on monday, I cleaned up the XBL so it should be easier to modify the appearance. I'm still not sure about having a button vs. clicking the entire thing.

There's still the issue of having the binding in userContent.css, since every time you install it'll overwrite that file. Sorta annoying if you have existing bindings there. Anyone know a solution to this? I haven't found any good answer yet.
jedbro
Posts: 1899
Joined: November 10th, 2002, 12:35 pm
Location: Mexico / Boulder Co.
Contact:

Post by jedbro »

Ted Mielczarek wrote: Anyone know a solution to this? I haven't found any good answer yet.

Hmm, in a recent conversation I had with Jochen (author of the AutoHide extension), it seems he has added:

@import url("chrome://autohide/content/autohide.css");' to "ua.css" in programmdir/res.
Althought this makes it profile independent.
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Post by Ted Mielczarek »

jedbro wrote:
Ted Mielczarek wrote: Anyone know a solution to this? I haven't found any good answer yet.

Hmm, in a recent conversation I had with Jochen (author of the AutoHide extension), it seems he has added:

@import url("chrome://autohide/content/autohide.css");' to "ua.css" in programmdir/res.
Althought this makes it profile independent.


It looks like html.css in that same directory would be a good place to go, but that would make it global. If XPInstall had a method to append text to a file, I'd just add a line like that to userContent.css, but unfortunately no such method exists.
User avatar
avih
Posts: 347
Joined: December 30th, 2002, 2:36 pm
Contact:

Post by avih »

Ted, i think this can be achieved using jslib ( http://jslib.mozdev.org )
User avatar
grayrest
Posts: 468
Joined: November 5th, 2002, 8:49 am
Location: Tribus!
Contact:

Post by grayrest »

I always wonder why the functionality of jslib isn't included in mozilla proper. Is it because the developers don't want to deal with the moz trunk politics?
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Post by Ted Mielczarek »

avih wrote:Ted, i think this can be achieved using jslib ( http://jslib.mozdev.org )


Can it? I'm not sure that you can get access to XPCOM in the install.js. I tried getting a nsPromptService to make a nice question dialog, and never had success. Perhaps I didn't try hard enough, but it was telling me Components was not found.

I just talked to doron on #mozilla, and no, you can't access XPCOM.

<luser> can you access XPCOM components in an XPI script?
<doron> luser: nope
<luser> sucks.
* doron/#mozilla agrees
Post Reply