• 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

  • 광주호빠를 알아볼 때 위치와 예약 가능 시간뿐 아니라
    by: hammadamir90
    3 days 2 hours ago
  • 광주 지역에서 모임 장소를 알아보는 분들에게 참고할
    by: hammadamir90
    3 days 3 hours ago
  • 처음 방문하는 곳이라면 예약 전에 관리 프로그램과
    by: hammadamir90
    5 days 5 hours ago
  • 소액결제현금화와 관련된 다양한 정보를 한눈에 확인할
    by: hammadamir90
    1 week 2 days ago
  • 소액결제현금화에 대해 막연하게 알고 있었는데,
    by: hammadamir90
    1 week 2 days ago
  • 주소콘을 통해 자주 찾는 사이트의 최신주소를 편리하게
    by: hammadamir90
    1 week 4 days ago
  • 필요한 사이트를 찾을 때 주소콘을 이용하면 편리할 것
    by: hammadamir90
    1 week 4 days ago
  • 주소콘을 통해 다양한 웹사이트 주소와 링크모음을
    by: hammadamir90
    1 week 5 days ago
more

Recent topics

  • Tired of CEX KYC hurdles? Here is a smooth, user-vetted swapping alternative
  • My Recommendation for Sending a Parcel from the UK to Poland
  • Kérdés a rutinosabbakhoz: ti szoktátok vadászni az ilyen kis pluszokat?
  • Planning a Memorable Albany Getaway Through Every Season
  • Exploring Albany Through Sustainable Tourism and Thoughtful Travel Planning
  • Fórumos tapasztalat: Szuper kezdő bónusz a BetMatch kaszinóban!
  • Gyakorlati tapasztalatok: RoyalSea PWA és Android alkalmazás
  • Servizi di scrittura di tesi di laurea
more

Top contributors

User Total user points
Mafia_Penguin 912
jimmy1024 888
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
more

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

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