我已经制作了Chrome扩展程序来删除astrologyzone.com/forecasts/monthly/(signname)_full.php页面中的元素。
当我加载它,解压缩,在金丝雀,它的工作原理。当我在常规Chrome中加载,打包(无错误)或解压缩时,它无法正常工作。有一半时间(在常规Chrome中)页面根本不会加载。
是什么给出的?
这是我的清单:
{
"name": "AstrologyZone, Legible",
"version": "0.0.3",
"manifest_version": 2,
"description": "The bare minimum to make AstrologyZone legible.",
"author": "@zoecodes ",
"content_scripts": [
{
"matches": [
"*://*.astrologyzone.com/forecasts/monthly/pisces_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/aries_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/scorpio_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/capricorn_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/leo_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/aquarius_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/libra_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/virgo_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/sagittarius_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/gemini_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/cancer_full.php/*",
"*://*.astrologyzone.com/forecasts/monthly/taurus_full.php/*"
],
"css": ["newstyle.css"],
"run_at" : "document_start"
// "js": ["script.js"],
// "run_at" : "document_start"
}
]
}
答案 0 :(得分:1)
使用简单的CSS示例测试清单,可以在Chrome 36.0.1933.0及更高版本中使用它。 (使用bisect-builds)
Chrome主要版本大约每六周发布一次。咨询星图,我们可以预测36月中旬将稳定下来。