Answer the question
In order to leave comments, you need to log in
I made an extension, why is it not working?
It doesn't give any errors, it just doesn't work.
Made on the basis of this video
The essence of the extension is the parser of this RSS
Here is the source
of the
manifest.json extension
{
"name" :"Новости",
"version": "1.0",
"manifest_version": 2,
"description" :"Последние новости Оренбуржья",
"permissions": [
"cookies",
"background",
"tabs",
"http://*/*",
"https://*/*",
"storage",
"unlimitedStorage"
],
"icons": { "128": "images/icon.png" },
"content_scripts": [{
"matches": [ "http://vestirama.ru/*","http://vestirama.ru/server/yandex.rss" ],
"js": [ "jquery-3.4.1.min.js","moment.min.js","jquery.rss.js","jquery.rss.min.js","script.js" ],
"all_frames": true
}],
"web_accessible_resources": [
"http://*/*",
"https://*/*",
"styles/*",
"fonts/*"
],
"browser_action" :
{
"default_popup": "popup.html",
"default_title": "Новости ВестиРама"
}
}
<html>
<head>
<meta charset="utf-8"/>
<title>Новости ВЕСТИРАМА</title>
<link href="style.css" rel="stylescheet"/>
</head>
<body>
<div class="container">
<div id="rss"></div>
</div>
</body>
</html>
$('#rss').rss("http://vestirama.ru/server/yandex.rss");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question