创建一个动态的Chrome主题 [英] Creating a dynamic Chrome theme

查看:429
本文介绍了创建一个动态的Chrome主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为Google Chrome构建一个主题扩展程序,该扩展程序将定期使用远程图像源更新背景图像(即,图像存储在Web服务器上,而不是本地)。问题是主题不允许包含脚本元素。任何建议如何解决这个限制?

I'm trying to build a theme extension for Google Chrome that will regularly update the background image using a remote image source (i.e. images are stored on a web server, not locally). The problem is that themes are not allowed to contain scripting elements. Any suggestions how to work around this restriction?

推荐答案

如果背景图片是指新标签页的背景,将其替换为HTML页面(使用扩展名,而不是主题): http: //code.google.com/chrome/extensions/override.html

If by background image you mean the background of the New Tab page, you can replace it with an html page (using an extension, not a theme, that is): http://code.google.com/chrome/extensions/override.html.

这篇关于创建一个动态的Chrome主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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