Abrowser: fix newtab top sites
Adapt to the new syntax, and add missing entry for Wikinews.
This commit is contained in:
parent
c1c5d6b9a6
commit
a494673531
1 changed files with 17 additions and 18 deletions
|
|
@ -18,7 +18,7 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=83
|
||||
VERSION=84
|
||||
|
||||
. ./config
|
||||
|
||||
|
|
@ -98,50 +98,42 @@ sed 's/}$/},/' -i browser/components/newtab/data/content/tippytop/top_sites.json
|
|||
|
||||
cat << EOF >> browser/components/newtab/data/content/tippytop/top_sites.json
|
||||
{
|
||||
"title": "Trisquel",
|
||||
"url": "https://trisquel.info/",
|
||||
"domains": ["trisquel.info"],
|
||||
"image_url": "images/trisquel.png",
|
||||
"favicon_url": "favicons/trisquel.ico"
|
||||
},
|
||||
{
|
||||
"title": "GNU",
|
||||
"url": "https://www.gnu.org/",
|
||||
"domains": ["gnu.org"],
|
||||
"image_url": "images/gnu.png",
|
||||
"favicon_url": "favicons/gnu.ico"
|
||||
},
|
||||
{
|
||||
"title": "FSF",
|
||||
"url": "https://www.fsf.org/",
|
||||
"domains": ["fsf.org"],
|
||||
"image_url": "images/fsf.png",
|
||||
"favicon_url": "favicons/fsf.ico"
|
||||
},
|
||||
{
|
||||
"title": "FSF Directory",
|
||||
"url": "https://directory.fsf.org/",
|
||||
"image_url": "images/fsf.png",
|
||||
"domains": ["directory.fsf.org"],
|
||||
"image_url": "images/directory.png",
|
||||
"favicon_url": "favicons/fsf.ico"
|
||||
},
|
||||
{
|
||||
"title": "LibrePlanet",
|
||||
"url": "https://libreplanet.org/",
|
||||
"domains": ["libreplanet.org"],
|
||||
"image_url": "images/libreplanet.png",
|
||||
"favicon_url": "favicons/libreplanet.ico"
|
||||
},
|
||||
{
|
||||
"title": "FSF Europe",
|
||||
"url": "https://fsfe.org/",
|
||||
"domains": ["fsfe.org"],
|
||||
"image_url": "images/fsfe.png",
|
||||
"favicon_url": "favicons/fsfe.ico"
|
||||
},
|
||||
{
|
||||
"title": "Wikipedia",
|
||||
"url": "https://www.wikipedia.org/wiki/",
|
||||
"domains": ["wikipedia.org"],
|
||||
"image_url": "images/wikipedia.png",
|
||||
"favicon_url": "favicons/wikipedia.ico"
|
||||
},
|
||||
{
|
||||
"title": "Wikinews",
|
||||
"url": "https://www.wikinews.org/wiki/",
|
||||
"domains": ["wikinews.org"],
|
||||
"image_url": "images/wikinews.png",
|
||||
"favicon_url": "favicons/wikinews.ico"
|
||||
}
|
||||
|
|
@ -192,6 +184,13 @@ cat << TOP_JSON > services/settings/dumps/main/top-sites.json
|
|||
"title": "Wikipedia",
|
||||
"id": "5a18acd7-0440-5512-b3a4-20a35bdc9a1d",
|
||||
"last_modified": $(date +%s%N | cut -b1-13)
|
||||
},
|
||||
{
|
||||
"url": "https://www.wikinews.org/",
|
||||
"order": 6,
|
||||
"title": "Wikinews",
|
||||
"id": "3bb633ba-0823-4501-b3b5-bc1b8670e3e1",
|
||||
"last_modified": $(date +%s%N | cut -b1-13)
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue