חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Javascript within an iframe is not rendering

more options

We have an iframe on a page within our Portal that does not render completely. We are attempting to render SocialText.net within an iframe and it seems that Firefox is blocking the javascript that is attempting to run on the page. The page loads successfully in Safari, Chrome and even IE, but Firefox appears to dislike something about the page.

When I open the error console and look at the error I see one: Error: Permission denied to access property 'st' Source File: https://map-socialtext.net/js/5.0.5.13/socialtext-starfish.jgz Line: 23

I've ensured that the domain is correct for the iframe: https://map.socialtext.net, so this should not be a xss issue.

The page loads successfully for the most part, but the dashboard page of SocialText attempts to run several widgets, that are run with javascript. As I said, other browsers are loading this page successfully without issue. It is only Firefox that is exhibiting this behavior. I've cleared the cache, cleared all cookies, cleared offline storage, tried private browsing and nothing appears to resolve the issue. I've also restarted Firefox in Safe-mode, to disable all plugins and still no help.

Any help would greatly be appreciated.

We have an iframe on a page within our Portal that does not render completely. We are attempting to render SocialText.net within an iframe and it seems that Firefox is blocking the javascript that is attempting to run on the page. The page loads successfully in Safari, Chrome and even IE, but Firefox appears to dislike something about the page. When I open the error console and look at the error I see one: Error: Permission denied to access property 'st' Source File: https://map-socialtext.net/js/5.0.5.13/socialtext-starfish.jgz Line: 23 I've ensured that the domain is correct for the iframe: https://map.socialtext.net, so this should not be a xss issue. The page loads successfully for the most part, but the dashboard page of SocialText attempts to run several widgets, that are run with javascript. As I said, other browsers are loading this page successfully without issue. It is only Firefox that is exhibiting this behavior. I've cleared the cache, cleared all cookies, cleared offline storage, tried private browsing and nothing appears to resolve the issue. I've also restarted Firefox in Safe-mode, to disable all plugins and still no help. Any help would greatly be appreciated.

כל התגובות (3)

more options

I can't figure out what Line 23 refers to. If you click the error can you see what code is involved? Toward the end of that file there are references to


window.st

I'm going to guess st refers to something SocialText adds to the window object, but this may work differently within a frame. Can you get any support from SocialText?

השתנתה ב־ על־ידי jscher2000 - Support Volunteer

more options

If I click on the error I get a window that opens displaying the javascript: javascript file

I can attempt to get SocialText to help us with this but I don't know how successful we will be. We've reached out to them before pertaining to this but their stance is something along the lines of: It works in other browsers and it works in Firefox without an iframe. But I can attempt to push them a bit more on the issue to see if they have any other suggestions.

I've uploaded two images to this message; the first shows the page rendered in an iframe from within our portal and the second within Firefox but accessing SocialText directly without an iframe.

Thanks for the assistance.

more options

If I click on the error I get a window that opens displaying the javascript

It's hard to tell where the error is when they remove all the line breaks. If "Line 23" isn't highlighted when it opens, it's very had to know which statement is causing the error. Even then, it might be impossible to figure out without actually logging in to the system.

their stance is something along the lines of: It works in other browsers and it works in Firefox without an iframe

If SocialText doesn't support use in an frame, I agree it will be hard to get them to solve the problem. Perhaps another customer has a workaround? You could try the SocialDev list or the general mailing list socialtext-user.