MozillaZine

notes on testing Firefox themes

Discuss application theming and theme development.
patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted May 20th, 2013, 4:41 pm

Web Notifications.... is that like "legalized" popups?? Because that's not going to be immediately abused.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted May 20th, 2013, 4:53 pm

patrickjdempsey wrote:Web Notifications.... is that like "legalized" popups?? Because that's not going to be immediately abused.


Haha yeah, I'm sure spammers are drooling at the prospect.

At least you do get a chance to tell the site and its notifications to buzz off, permanently ("Always Block").
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed

patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted May 21st, 2013, 4:09 pm

Hopefully, there will be a switch to Always ALWAYS Block so we won't have to even be bothered with the option.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted May 25th, 2013, 4:15 pm

patrickjdempsey wrote:Hopefully, there will be a switch to Always ALWAYS Block so we won't have to even be bothered with the option.


"There's a pref for that." (dom.webnotifications.enabled)
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed

patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 6th, 2013, 2:57 am

mcdavis wrote:Here's a summary of results of desktop theme detection with :-moz-system-metric on Windows with the Minefield 20110216 nightly. It's kinda wide, so I put it into a text file for Easy Reading(tm).

http://home.comcast.net/~username54321/ ... 110216.txt


Old ancient stuff here... but I just wanted to note that the following combination detects Windows 7 Basic theme:

Code: Select all
@media (@media not all and (-moz-windows-compositor) {
  @media (-moz-windows-theme:aero) {
    .dostuff: here;
  }
}
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted December 6th, 2013, 4:55 am

patrickjdempsey wrote:Old ancient stuff here... but I just wanted to note that the following combination detects Windows 7 Basic theme:


Nice!

(That file didn't used to word-wrap in the browser, back when I posted it ...)
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed

patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 6th, 2013, 5:06 am

Yeah I noticed that.... I had to make it very very tiny to see the "chart" layout. ;)
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted December 6th, 2013, 11:15 am

OK, so I had to look it up.

Bug 253564 - Plain text (text/plain, text/javascript, text/css, etc) documents should word-wrap

Menubar > View > Page Style > Basic Page Style
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed

patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 6th, 2013, 1:02 pm

The menu apparently toggles: plain_text.wrap_long_lines
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted December 9th, 2013, 1:41 am

New subject: anyone know how you test the devtools manifest editor in the app manager for Fx27? I have some installed apps but it doesn't seem to want that. Is there some test app I can download (which I'm guessing needs to be in some not-yet-packaged source form)?
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed

patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 10th, 2013, 4:07 am

I'm not even sure I really get what all this "web app" business is about. It's never really made any sense to me.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

Philip Chee

User avatar
 
Posts: 6475
Joined: March 1st, 2005, 3:03 pm

Post Posted December 16th, 2013, 7:06 am

patrickjdempsey wrote:
Code: Select all
@media (@media not all and (-moz-windows-compositor) {
  @media (-moz-windows-theme:aero) {
    .dostuff: here;
  }
}

Hmm. I thought you couldn't nest @media rules? [google google google]
Ah CSS3 relaxes the restrictions in CSS2.1. This should come in useful!

Phil

patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 20th, 2013, 12:06 am

Yes, not sure when this change happened but we discussed nesting not working in this thread a few years back. The ability to have 'all' and 'not all' nested together makes for interesting logic and opens up some possibilities that the architects probably didn't intend.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

patrickjdempsey

User avatar
 
Posts: 23731
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted December 21st, 2013, 2:19 am

Here's a nested media query that allows you to detect non-Windows:

Code: Select all
@media not all and (-moz-windows-theme: zune) {
@media not all and (-moz-windows-theme: royale) {
@media not all and (-moz-windows-theme: generic) {
@media not all and (-moz-windows-default-theme) {
@media not all and (-moz-windows-classic) {
     #selector {dostuff: here;}
}}}}}
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted November 23rd, 2014, 12:11 pm

Here's what I'm using for a test checklist, covering up through Firefox 34.

http://mcdavis.dreamhosters.com/comms/t ... 141123.txt
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed

Return to Theme Development


Who is online

Users browsing this forum: No registered users and 1 guest