我终于让我的谷歌脚本工作了。它在Chrome上运行得很好。我正在使用htmlservice.createHtmlOutputFromFile,这个网站显然是托管在谷歌网站上的。
但是当我在IE中尝试这个页面时,我得到
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be display
我有一个MVC应用程序,它是为JQM设计的。
然而,当我嵌入一个youtube视频时,我得到了以下错误。
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
What you can try:
Open this content in a new window
这
我有一个PHP,有一些困难,从我的页面重定向到另一个页面(相同的域)。假设我试图查看用户是否有访问该页面的权限,如果没有,在收到消息后,我希望将他重定向到主页。
我试过
header('Location: ' . $url);
die();
我也试过这样的方法:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
$result = curl_exec ($ch);
但我得到了一个
This content cannot be displayed in a frame
To help protect the
我有两个前端应用程序-一个是遗留的AngularJS应用程序,另一个是Angular 4.x应用程序。AngularJS应用程序有一个iframe,当打开一个对话框时,它会从我们的Angular 4应用程序中加载内容(我知道这不是很理想)。 我在本地实例上遇到的这个问题看起来很好,但是当我将它上传到临时服务器时,我无法在Internet Explorer11中加载iframe (但是在现代浏览器中是可以的),并且我得到以下错误 This content cannot be displayed in a frame To help protect the security of informa
我在java/jsp中有一个web应用程序。在我们的应用程序中有多个选项卡,在其中一个选项卡中,我必须显示excel工作表中的数据。我尝试使用另存为网页选项将excel工作表转换为data.html文件。但是,当我尝试在选项卡中包含html文件时,我得到了以下错误消息
This content cannot be displayed in a frame
我还试图通过eclipse中的tomcat服务器运行html文件,但得到了上面的消息。当我尝试通过web浏览器打开它时,数据显示正常。
我需要帮助在一个jsp页面中显示的excel数据。这方面的任何帮助都是非常感谢的。谢谢
function display()
{
var menu_frame_filtered = top.menu_frame.filtered;
//filtered array taken from menu frame
var displayed = menu_frame_filtered;
// giving filtered array new name
var p = displayed.length;
// window.open('Part_database/' + displayed[0] + '.jpg')
//disp
我已经在我的google站点中创建了一个简单的应用程序脚本小工具,它使用HtmlService生成输出。在源文件中,有一个极其简单的超链接
<a href="http://www.google.com">Link</a>
当我单击它时,我会在调试窗口中得到一个报告:
The page at https://sites.google.com/macros/s/AKfycbzw0jd06fDrbZ-KkjKmDvPKma_RZnboxe0iX…U6mS841TC3C&bc=transparent&f=Aclonica,sans-serif&a
也许这是一个编码问题?我无法想象你必须替换所有的非标准字符。
示例XML:
<?xml version="1.0" encoding="utf-8"?>
<client>
<achternaam>Erriëns</achternaam>
</client>
有没有第一行都无关紧要。
IE8中的错误:
The XML page cannot be displayed
Cannot view XML input using XS
我用vba写了一些代码,使用.createDocumentFromUrl()方法从torrent网站获取电影名称。因为我从来没有使用过这种方法,也没有找到任何值得注意的信息来成功地使用它,所以我被卡住了。不过,我已经尝试创建了一个脚本。
这是我的尝试:
Sub Fromurl_Method()
Const URL As String = "https://yts.am/browse-movies"
Dim hStart As HTMLDocument, hdoc As HTMLDocument
Set hStart = New HTMLDocument
我试图通过PHP制作Captcha。但不幸的是我遇到了一个问题!PHP告诉我:
The image “http://127.0.0.1/par.php” cannot be displayed because it contains errors.
我的代码是
<?php
header ('Content-Type: image/png');
$im = @imagecreatetruecolor(120, 20)
or die('Cannot Initialize new GD image stream');
$text_c
我开始在我的页面上随机获取502个错误。这和Azure或我的网站有关联吗?自周四以来,我没有做任何修改,所以我对作为我的代码很少怀疑。
502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) cont
我正在尝试遍历页面上的所有框架,看看元素是否存在于其中任何一个框架中。当它在框架中找不到元素时,为什么我会在异常下面。我正在处理except块中的假.is_displayed输出。 frames = [0,1,2]
element = "//div[@class='CardNumberField-input-wrapper']//input[@name='cardnumber']"
for frame in frames:
driver.switch_to.frame(frame)
if
我正在使用soundcloud嵌入auto_html urls。
在我的chrome javascript控制台中,我收到以下错误:
The page at about:blank displayed insecure content from http://w.soundcloud.com/
player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F87676243&show_artwork=true.
还有这个警告。
Unsafe access frame with URL https://app.herokuapp.com/ f
我正在移植一个应用程序从WinRT到UWP。(我已经把它移植到iOS和安卓上了) 我的应用程序有多个页面。我需要能够确定当前查看的页面,然后更新内容。(由于各种原因,DataBinding不是一种选择。) 我有一个在后台运行的例程(不是在UI线程上),从调度定时器调用它。 在WinRT中,我按如下方式处理: // If current window is MainPage, then update the displayed fields
var _Frame = Window.Current.Content as Frame;
Pa
我的ASPX.NET页面上有一个TinyMCE控件。当用户单击控件上的"find“按钮时:
出现查找弹出窗口,并显示错误"This content pop be displayed in a frame“
令人费解的是,对于大多数用户来说,div/弹出窗口显示得很好(使用完全相同的浏览器版本IE8)。清除缓存和临时internet文件似乎不能解决此问题。
该项位于web.config的system.webserver节点中
<httpProtocol>
<customHeaders>
<add name="X-Fra
这是我做的
但它是针对IIS6 的
我还为应用程序池激活了32位,这里解释了
但当浏览到测试脚本时,它不工作,似乎永远不会显示任何内容,然后最终显示此消息错误:
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway
正如标题所述,我在使用x-frame-options: sameorigin在iframe中显示页面时遇到了问题 在寻找可能的解决方案时,我遇到了x-frame-options: allow-from url,这并没有什么不同。我所有的资源都是通过https提供的。当同时使用x-frame-options: sameorigin和X-Frame-Options: allow-from url时,同源头部被禁用。 此外,在here中找到了有关x-frame-options的文档 # ALLOW-FROM uri
This is an obsolete directive that no lo
我使用异步方法实现了一个soap客户机。我希望此方法将从API服务器获得的字符串值返回到我的主线程或其他方法(无论哪种方法正在调用)。我该怎么做呢?
主线程
static void Main(string[] args)
{
TEXT().GetAwaiter().OnCompleted(() => { Console.WriteLine("finished"); });
Console.ReadKey();
// if I do it like this
// var test = TEXT().GetAwaiter().OnCompleted(
以下是我试图从已发布的文件夹中启动default.aspx文件时所遇到的确切错误。谁能给我指明正确的方向?
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A
我需要帮助创建一个方法,该方法在输入参数中接受字符串类型的对象和字符串类型的对象列表。这张清单上有禁止的词。如何检查传递给方法的字符串对象是否包含列表中的至少一个单词?
public class Filter {
public static void main(String[] args) {
wordsFilter("This sentence contains a forbidden word");
}
private static void wordsFilter(String sentence) {
Li