• myFAV.ES
  • Help Center
  • Tutorials
  • Extensions
  • Blogs

  

  • Logos
  • Logo Requests
  • Themes
  • Backgrounds
  • Forums
  • Contact

Error message

Warning: count(): Parameter must be an array or an object that implements Countable in antispam_user_load() (line 1555 of /home/ul/public_html/userlogos/sites/all/modules/antispam/antispam.module).
Home » Forums » 10192013 » Problem with FF24 and getBrowser().addTab

Problem with FF24 and getBrowser().addTab

shaba2 —Sat, 10/19/2013 - 10:09

Good addon

Works very well on FF24
I have only a problem
I have several selfmade button like this:
getBrowser().addTab ("http://www.google.com/");
And when i use it FastDial it don't close himself
On my old FF18 it works perfectly
How can i solve?
Thanks

Open Firefox menu Web Developer > Browser Console - a console window opens. Then try to close the page and see if any errors appear in console.

Whit WEB developer and Error console i have no error...

It seems to me that Fast Dial don't see getBrowser().addTab event

For me is enough something like this

if CURRENT TAB is FAST DIAL then
getBrowser().loadURI ("http://www.google.it");
else
getBrowser(). addTab ("http://www.google.it");

Can you help me?
Thanks

  • Fast Dial
  • Log in or register to post comments or vote.
  • 0
  • 0 votes
telega's picture

Re: Problem with FF24 and getBrowser().addTab

Submitted by telega on Sat, 10/19/2013 - 12:41

Well, in fact Fast Dial intercepts gBrowser.addTab() function and if addTab() is called with "about:newtab" or "about: blank" parameter, then replaces this parameter with "chrome://fastdial/content/fastdial.html" value in order for Fast Dial page to be opened in new tabs. However Fast Dial tries to do this very correctly and I'm not sure why problem occurs.

To identify if current tab is Fast Dial, you can try the following code:

var doc = getBrowser().contentDocument;
if (doc.location == "chrome://fastdial/content/fastdial.html") { ... }

See https://developer.mozilla.org/en-US/docs/Code_snippets/Tabbed_browser

  • log in or register to post comments
shaba2's picture

Re: Problem with FF24 and getBrowser().addTab

Submitted by shaba2 on Sat, 10/19/2013 - 14:43

Yess
Works!

var doc = getBrowser().contentDocument;
if (doc.location == "chrome://fastdial/content/fastdial.html") {
getBrowser().loadURI (" ");
} else {
getBrowser().addTab (" ");
}

Very very well!
Thanks!!!

  • log in or register to post comments

Search logos

Search site

Navigation

  • Blogs
  • Forums
  • Online users
  • Recent content

User login

  • Create new account
  • Request new password
 
  • Changelog
  • Latest releases
  • Important links
 
 
  • Changelog
  • Latest releases
  • Important links
  • Support Forum
 

Top Rated

  • google.com
  • youtube.com
  • fast dial folder
  • wikipedia.org
  • Firefox Black
  • fd folders, folders, folder
  • generic gaming logos
  • mail.google.com, gmail.com, googlemail.com
  • Carbon Fiber
  • iphone app style icon template
more

Recent Polls

  • What are you resolution of screen use
  • Which version of Fast Dial do you run?
  • How often do you visit Userlogos?
  • Which FD iPhone logo format do you find preferable
  • How many themes do you run in Fast Dial ?
more

Online users

There are currently 0 users online.
Active - 15 mins:
No registered users :(
  • Last 24 hours

Recent comments

  • Many homeowners underestimate
    by: Stewart44
    21 hours 4 min ago
  • Sex Dolls online
    by: Jordan64
    3 days 10 hours ago
  • Gamulator makes it easier to
    by: Stewart44
    3 days 18 hours ago
  • This is a question every
    by: Stewart44
    1 week 3 days ago
  • Breathing plays a powerful
    by: Stewart44
    1 week 4 days ago
  • Sex Dolls online
    by: Jordan64
    1 week 6 days ago
  • The Story Behind Red Pop: Exploring the Culture of Modern Botani
    by: Jordan64
    2 weeks 10 hours ago
  • How Authority Signals Work in ChatGPT-Like Platforms
    by: DakotaHanton
    2 weeks 14 hours ago
more

Recent topics

  • Discover the Excitement of Plinko Casino Games
  • iGamble247 Slot Login: A Comprehensive Guide
  • Apostala Paraguay: Apuestas y Casino Online en un Solo Lugar
  • Try Your Luck at Lucky Us Casino!
  • Join the Fun at Luck Party!
  • Feel Every Arrow, Control Every Moment
  • Making Informed Choices in the Indian Casino Market
  • Door Lock Repair Service I Can Honestly Recommend
more

Top contributors

User Total user points
Mafia_Penguin 912
Deva 552
gumanov 490
jumpordie 471
Karmody 457
macleod.mac 402
ingalls 354
spaljeni 310
zigzag 290
Rog 265
Sastre 256
famecky 160
x-b 152
danger83 147
1air2philou 143
more

2008-2017 userlogos.org. All logos/images belong to their respective owners. Contact administrator.

  • Logos
  • Logo Requests
  • Themes
  • Backgrounds
  • Forums
  • Contact