• 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

  • Create Better Images With Online Editing Tools
    by: Jordan64
    14 hours 46 min ago
  • The Most Rewarding Slot Games on Circus Casino
    by: DakotaHanton
    18 hours 59 min ago
  • Re
    by: juandkeim
    1 day 8 hours ago
  • Flirty Outfit Store Curated for Nightlife Fashion
    by: Jordan64
    3 days 14 hours ago
  • One of the biggest
    by: Stewart44
    5 days 11 hours ago
  • Understanding common network
    by: Stewart44
    5 days 23 hours ago
  • Premium Smoking Gear Starts with Smoke Dock
    by: Jordan64
    6 days 14 hours ago
  • In an increasingly digital
    by: Stewart44
    6 days 19 hours ago
more

Recent topics

  • Exploring Exciting Opportunities with Tada Gaming Slots​
  • Unlock Fun with Win Oasis!
  • Polar Sharking Case Studies That Succeeded
  • SSW Series vs Other Slim Hydraulic Wrench Series
  • 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!
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