在Wix Velo平台上,代码放置在“Page”区域是否公开可见?

huangapple go评论109阅读模式
英文:

On the Wix Velo platform, is code placed in the "Page" area publicly visible?

问题

根据这篇文章,放在页面区域的代码是公开可访问的。他们甚至包括这张图片来演示:

在Wix Velo平台上,代码放置在“Page”区域是否公开可见?

我在网站的已发布版本上无法看到输入在这里的代码。以下是一个示例,我发布了一个带有在onReady函数中的代码的空白页面:
https://steven0790.wixsite.com/my-site/blank

在Wix Velo平台上,代码放置在“Page”区域是否公开可见?

当我访问这个页面并查看和搜索时,我无法找到代码。我预期它应该在<script>标签中。

在Wix Velo平台上,代码放置在“Page”区域是否公开可见?

我还尝试查看代码中的链接,以确定是否将其保存在.js文件或类似文件中。

有人可以确认这段代码是否真的可以访问吗?

英文:

According to this article, code that is put in the Page area specifically is publicly accessible. They even include this image to demonstrate:

在Wix Velo平台上,代码放置在“Page”区域是否公开可见?

I have not been able to see code that is entered here on the published version of the site. Here is an example where I published a blank page with a code in the onReady function:
https://steven0790.wixsite.com/my-site/blank

在Wix Velo平台上,代码放置在“Page”区域是否公开可见?

When I go to this page and inspect and search, I can't find the code. I would expect it to be in a &lt;script&gt; tag.
在Wix Velo平台上,代码放置在“Page”区域是否公开可见?

I have also tried looking through links in the code in case this is saved in a .js file or something like that.

Can anyone confirm whether or not this code really is accessible?

答案1

得分: 0

查看浏览器开发工具中的控制台,而不是元素选项卡。它会告诉您包含您的代码的JS文件。

查找类似以下内容的消息:

运行主页的代码。要在浏览器的开发工具中调试此代码,请打开cnric.js。

然后,您可以在浏览器的开发工具中打开该文件并查看代码。

英文:

Check the Console instead of the Elements tab in the browser developer tools. It will let you know which JS file contains your code.

Look for a message that looks something like this:

> Running the code for the HOME page. To debug this code in your browser's dev tools, open cnric.js.

You can then open that file in your browser developer tools and see the code.

huangapple
  • 本文由 发表于 2023年2月19日 06:56:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/75496884.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定