iframe

iframe not reading cookies in Chrome

时间秒杀一切 提交于 2020-01-14 07:57:19
问题 Chrome is not allowing a child iframe to read its own cookies. I have a parent webpage with a child iframe: parent at https://first-site.com child at <iframe src="https://second-site.com"> (inside of parent) cookie set with path: '/' secure: true httpOnly: false domain: '.second-site.com' I control both sites, and I want the iframe to perform an operation within the iframe that requires reading cookies for .second-site.com . The outer parent doesn't need to know anything about this. It works

Error: Failed to execute 'dispatchEvent' on 'EventTarget'

纵饮孤独 提交于 2020-01-14 06:50:10
问题 Some time ago I experienced a problem where scrolling on touch devices didn't work anymore when my ExtJS 5 App was embedded in an IFrame (see this thread). I've solved this by overriding some stuff from the Ext framework (see the solution). One step of the solution was to dispatch a touchmove event to the document itself (the framework prevents default handling of this event): // ... touchmove: function(e) { window.document.dispatchEvent(e.event); } // ... Even though this solution basically

iFrames not executing in parallel

可紊 提交于 2020-01-14 06:46:12
问题 We are using 6 iFrames on our page. They fetch data from couple of external web services and an internal WCF service and display the data. There is a separate aspx page built for each of the iFrames. From our perf monitoring we found out that at any point only two threads are executing in parallel. Not all 6 threads get executed. What can probably be cause for this? Is there any restriction that more than 2 threads can't be created in parallel? Is there any configuration where I can change

How to stop embedded HTML files from downloading?

◇◆丶佛笑我妖孽 提交于 2020-01-14 06:08:27
问题 I have a .html document that I need in an <iframe> tag. Let's say it is called FILE.html and is hosted at http://files.net/FILE.html . So, I write the iframe tag as such: <iframe src="http://files.net/FILE.html"></iframe> Instead of the iframe appearing as a nice little box and rendering the html in FILE.html , it instead opens File Explorer and prompts the user to download FILE.html . I don't want them to download it, I just want them to see it rendered on their screen. So is there a way for

How to stop embedded HTML files from downloading?

大城市里の小女人 提交于 2020-01-14 06:08:05
问题 I have a .html document that I need in an <iframe> tag. Let's say it is called FILE.html and is hosted at http://files.net/FILE.html . So, I write the iframe tag as such: <iframe src="http://files.net/FILE.html"></iframe> Instead of the iframe appearing as a nice little box and rendering the html in FILE.html , it instead opens File Explorer and prompts the user to download FILE.html . I don't want them to download it, I just want them to see it rendered on their screen. So is there a way for

The Facebook footer bar is an iframe, so why it doesn't it reload with the rest of the page?

爱⌒轻易说出口 提交于 2020-01-14 05:44:07
问题 I want to know how Facebook is doing their iframe footer bar. I mean, i know they have an iframe on footer, but i want to know how they are reloading pages without reloading the iframe also, 'cause the iframe always stick there even though the page does reload again. Any ideas/knowledge? EDITED: Try clicking on a link which is different section and it changes the url and so far i know, if you try to change the URL, then the page will reload again. Also, try using Facebook on Chrome: you will

How to hide an iframe (that is following the mouse) when it passes over a link?

怎甘沉沦 提交于 2020-01-14 05:24:04
问题 I have an iframe binded to mousemove. That means this iframe follows the mouse cursor everywhere it goes. But i need to hide/disable/make it invisible when it passes over a link. I need to hide/disable the iframe when passing over a link otherwise the link become unclickable (since the iframe is over it). It have to be general links, so i cant use an id, it must be related to general link tag THE ANSWER: http://jsfiddle.net/ZPA5g/ I will hide the form in links, inputs, and images or whatever

Access form elements on different Frames in VBScript

别等时光非礼了梦想. 提交于 2020-01-14 05:22:44
问题 I have these three frames on a website. <frame scrolling="AUTO" src="../../vix/thalada/Rangasamy?MokkaKumuta1234567" name="AAN"> <frame scrolling="AUTO" src="../../vix/thalada/Rangasamy?MokkaK****13245678" name="BAN"> <frame scrolling="AUTO" src="../../vix/thalada/Rangasamy?MokkaK****85234175" name="CAN"> This is how it goes: Set oIE = CreateObject("InternetExplorer.application") oIE.Visible = True oIE.navigate ("https://ec.rcuwebportal.au.eds.com/cics/r1cb/rm0p00ba?cb246") oIE.Document

Google AMP html - insert amp-iframe without src attribute

给你一囗甜甜゛ 提交于 2020-01-14 04:44:05
问题 I'm trying to run a script inside an AMP page. There is no page I need to load within the src attribute; my script should inject an <iframe> with the correct src (it is unknown at first load, only received in response to a request made by my script). Is this possible in AMP? Disclaimer: I'm open to different approaches to accomplish the same result - injecting an <iframe> with an src attribute within an AMP page. Thank you 回答1: The AMP page cannot contain any javascript in the first place, so

Hide pause/play button on vimeo iframe on hover

*爱你&永不变心* 提交于 2020-01-14 03:06:33
问题 I am using a Vimeo iframe on a website. I hide all the controls with the Vimeo Froogaloop API. But I can't hide the pause and play button that appear on hover. Somebody please help me. $(document).ready(function(){ jQuery('iframe.vimeo-player').each(function(){ Froogaloop(this).addEvent('ready', ready); }); function ready(playerID){ console.log(playerID + ' is ready'); // Add event listerns // http://developer.vimeo.com/player/js-api#events Froogaloop(playerID).addEvent('play', play(playerID)