如何推迟加载Norton Secure Site Seal? [英] How to defer loading of a Norton Secure Site Seal?

查看:141
本文介绍了如何推迟加载Norton Secure Site Seal?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网站上显示Norton Secure Site Seal,我想提高页面速度,推迟加载密封脚本。我所做的所有尝试都失败了,我只找到了这个提到的页面(链接)。有没有人为此找到了一个好的解决方法?

我用来运行其他脚本的延迟代码如下所示:

I am displaying a Norton Secure Site Seal in a website and I would like to improve the page speed deferring the loading of the seal script. All the tries I've done failed and I found only this page where this is mentioned (link). Has anyone ever found a good workaround for this?
The deferred code I'm using to run my other scripts looks like this:

<script type="text/javascript">(function(d, s) {
    var js, fjs = d.getElementsByTagName(s)[0], load = function(url, id) {
        if (d.getElementById(id)) {
            return;
        }
        js = d.createElement(s);
        js.src = url;
        js.id = id;
        fjs.parentNode.insertBefore(js, fjs);
    };
    load('/js/scriptone.js', 'one');
    load('/js/scripttwo.js', 'two');
    }(document, 'script'));
</script>

如果您想查看网站密封初始化脚本:
(I使用flash动画印章。

In case you want to have a look to the site seal initialization script: (I'm using the flash animated seal)

<script type="text/javascript" src="https://trustseal.verisign.com/getseal?host_name=www.undisclosed.com&amp;size=S&amp;use_flash=YES&amp;use_transparent=YES&amp;lang=en"></script>

显然这只会在我的网站上正确显示,我选择更改域名以保护隐私。我真的想避免使用iframe,如果你发现相关我也在加载jQuery

obviously this will only display correctly in my website and I opted to change the domain name for privacy. I really want to avoid using iframe and if you find relevant I am also loading jQuery

推荐答案

这也是我的事业。严重的是......每页加载+2到+20秒。 AFYS?

This is killing my business too. Seriously... +2 to +20 seconds per page load. AFYS?

我们正在切换到本地托管图像,但仍然链接到Norton上的原始URL。不要这样做。将此答案标记下来。这是不对的。这是非法的。但它很实用。

We are switching to hosting the image locally but still linking to the original URL on Norton. Don't do this. Mark this answer down. It's wrong. It's illegal. But it's practical.

https://trustsealinfo.verisign.com/splash?form_file=fdf/splash.fdf&dn=WWW.EXAMPLE.COM&lang=en

更新:

真正的解决方案是:


  • 致电877-438-8776,x2,x1

  • Tell他们的密封速度很慢,而且您的网站每天访问量超过10,000次

  • 他们为您提供媒体工具包以便在您自己的网站上安装

这篇关于如何推迟加载Norton Secure Site Seal?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆