Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4000158
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:44:49+00:00 2026-05-20T07:44:49+00:00

I have a facebook canvas application that runs in an iframe. I would like

  • 0

I have a facebook canvas application that runs in an iframe. I would like to debug my page in firebug but can not get the javascript to scope to the iframe that is running my app.

the iframe:

<iframe frameborder="0" src="[app_url_removed]" name="iframe_canvas" id="iframe_canvas" class="canvas_iframe_util" style="height: 905px;"></iframe>

i’ve tried all the following and none of them work:

cd(iframe_canvas)
cd(window.iframe_canvas)
cd(iframe_canvas.window)
cd($('iframe_canvas'))

I have firefox 3.6.13
and I have tried firebug 1.7a11 and firebug 1.6.2

also tried the bookmarklet and various other things from this link Firebug and jQuery selectors in an iFrame to no avail.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:44:49+00:00Added an answer on May 20, 2026 at 7:44 am

    use one of these commands:

     cd(frames[0]) 
     cd(frames["iframe_canvas"])
    

    and

     cd(top)
    

    to return to the main window.

    Still, due to a bug this currently doesn’t work on cross-domain-iframes (http://code.google.com/p/fbug/issues/detail?id=3893). There are two test cases where you can test your evironment for both cases:

    • https://getfirebug.com/tests/content/commandLine/cd.html
      (same domain, works for me: FF 3.6.13, FB 1.6.2)
    • http://getfirebug.com/tests/issues/3893/issue3893.html
      (cross domain, fails)

    Another possible source of surprise: if you execute more commands at once the cd command seems to not have an effect for the directly following commands:

     >>> cd(frames[0]); location.href;
     ["Current window:", Window cdFrame.html]
     "https://getfirebug.com/tests/content/commandLine/cd.html"
     >>> location.href
     "https://getfirebug.com/tests/content/commandLine/cdFrame.html"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to have my canvas page on facebook display different content for
I have a Canvas Facebook app embedded via an iframe. I would like to
I have a Facebook canvas iframe application that uses the JavaScript SDK. How do
I have developed a Facebook application that runs inside an iframe in the Facebook
We currently have an iframe-based Facebook canvas application in the works. The canvas portion
I have a facebook iframe application that is having trouble redirecting, I keep getting
I have a facebook application (not written by me, but have some control of
I have a Facebook application that is loaded in the Canvas context of Facebook.
I have a Facebook iframe application that I am monetizing via Google Adsense. On
I have made an iframe style facebook application that uses php and javascript (jquery).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.