Skip to content

Commit

Permalink
Added domains to scan
Browse files Browse the repository at this point in the history
Previously it was // but some server didn't accept the https and most
servers redirect http:// to https:// anyway. Maybe there will me a
better solution in the future but this works just fine.
  • Loading branch information
MrLuit committed Mar 25, 2017
1 parent d784330 commit bbb8b54
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 16 deletions.
123 changes: 109 additions & 14 deletions domains.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"domain": "4chan.org",
"img": "favicon.ico"
},
{
"title": "9gag",
"domain": "9gag.com",
"img": "favicon.ico"
},
{
"title": "Amazon",
"domain": "amazon.com",
Expand All @@ -15,10 +20,40 @@
"domain": "apple.com",
"img": "favicon.ico"
},
{
"title": "Baidu",
"domain": "amazon.com",
"img": "favicon.ico"
},
{
"title": "BBC",
"domain": "bbc.com",
"img": "favicon.ico"
},
{
"title": "Bing",
"domain": "bing.com",
"img": "s/a/hpc20.png"
"img": "favicon.ico"
},
{
"title": "BuzzFeed",
"domain": "buzzfeed.com",
"img": "static-assets/img/favicon.5a0c77a8815cfcc67c710199054a55c6.ico"
},
{
"title": "CNN",
"domain": "cnn.com",
"img": "favicon.ico"
},
{
"title": "Comedy Central",
"domain": "cc.com",
"img": "favicon.ico"
},
{
"title": "Daily Mail",
"domain": "dailymail.co.uk",
"img": "favicon.ico"
},
{
"title": "Discord",
Expand All @@ -40,6 +75,11 @@
"domain": "google.com",
"img": "favicon.ico"
},
{
"title": "IGN",
"domain": "ign.com",
"img": "favicon.ico"
},
{
"title": "Imgur",
"domain": "imgur.com",
Expand All @@ -52,14 +92,19 @@
},
{
"title": "LinkedIn",
"domain": "~static.licdn.com",
"img": "scds/common/u/images/logos/favicons/v1/favicon.ico"
"domain": "linkedin.com",
"img": "favicon.ico"
},
{
"title": "Live",
"domain": "live.com",
"img": "favicon.ico"
},
{
"title": "Mashable",
"domain": "mashable.com",
"img": "favicon.ico"
},
{
"title": "Messenger",
"domain": "messenger.com",
Expand All @@ -70,15 +115,50 @@
"domain": "microsoft.com",
"img": "favicon.ico"
},
{
"title": "MTV",
"domain": "mtv.com",
"img": "favicon.ico"
},
{
"title": "MSN",
"domain": "msn.com",
"img": "favicon.ico"
},
{
"title": "National Geographic",
"domain": "nationalgeographic.com",
"img": "favicon.ico"
},
{
"title": "Netflix",
"domain": "netflix.com",
"img": "favicon.ico"
},
{
"title": "New York Times",
"domain": "nytimes.com",
"img": "favicon.ico"
},
{
"title": "Paypal",
"domain": "paypal.com",
"img": "favicon.ico"
},
{
"title": "Pinterest",
"domain": "~s.pinimg.com",
"img": "webapp/style/app/common/images/logo_trans_144x144-642179a1.png"
"domain": "pinterest.com",
"img": "favicon.ico"
},
{
"title": "Pornhub",
"domain": "pornhub.com",
"img": "favicon.ico"
},
{
"title": "Pushbullet",
"domain": "pushbullet.com",
"img": "favicon.ico"
},
{
"title": "Reddit",
Expand All @@ -87,8 +167,8 @@
},
{
"title": "Skype",
"domain": "~secure.skypeassets.com",
"img": "i/common/images/icons/favicon.ico"
"domain": "skype.com",
"img": "favicon.ico"
},
{
"title": "Snapchat",
Expand All @@ -97,12 +177,17 @@
},
{
"title": "Soundcloud",
"domain": "~a-v2.sndcdn.com",
"img": "assets/images/sc-icons/favicon-2cadd14b.ico"
"domain": "soundcloud.com",
"img": "favicon.ico"
},
{
"title": "Stack Overflow",
"domain": "stackoverflow.com",
"img": "favicon.ico"
},
{
"title": "Steam",
"domain": "~store.steampowered.com",
"domain": "steampowered.com",
"img": "favicon.ico"
},
{
Expand All @@ -112,8 +197,8 @@
},
{
"title": "Tumblr",
"domain": "~assets.tumblr.com",
"img": "images/favicons/favicon.ico"
"domain": "tumblr.com",
"img": "favicon.ico"
},
{
"title": "Twitch",
Expand All @@ -122,8 +207,13 @@
},
{
"title": "Twitter",
"domain": "~abs.twimg.com",
"img": "favicons/favicon.ico"
"domain": "twitter.com",
"img": "favicon.ico"
},
{
"title": "VK",
"domain": "vk.com",
"img": "favicon.ico"
},
{
"title": "Whatsapp",
Expand All @@ -140,6 +230,11 @@
"domain": "yahoo.com",
"img": "favicon.ico"
},
{
"title": "Yandex",
"domain": "yandex.com",
"img": "favicon.ico"
},
{
"title": "Youtube",
"domain": "youtube.com",
Expand Down
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ $(document).ready(function() {
}
};
if (data.domain.match("^~")) {
image.src = '//' + data.domain.replace("~", "") + '/' + data.img;
image.src = 'http://' + data.domain.replace("~", "") + '/' + data.img;
} else {
image.src = '//www.' + data.domain + '/' + data.img;
image.src = 'http://www.' + data.domain + '/' + data.img;
}
});
});
Expand Down

0 comments on commit bbb8b54

Please sign in to comment.