diff --git a/background.js b/background.js index 08d6d5a..eccbb93 100644 --- a/background.js +++ b/background.js @@ -16,6 +16,11 @@ function detectFeed(event) { ); isfeed = true; } + else if (header.value.toLowerCase() == 'text/xml' || header.value.toLowerCase() == 'application/xml' ) { + if (event.url.endsWith(".rss") || event.url.endsWith(".rss.xml") || event.url.endsWith(".atom") || event.url.endsWith(".atom.xml")) { + isfeed = true; + } + } break; } } diff --git a/manifest.json b/manifest.json index 92a12a5..fe1c52b 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "RSSPreview", - "version": "3.31", + "version": "3.32", "author": "Aurelien David", "homepage_url": "https://github.com/aureliendavid/rsspreview",