2018-12-26 07:45:53 +00:00
|
|
|
var bookmarks = (function() {
|
|
|
|
|
|
|
|
var all = [{
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "AN",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "/r/Android/",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/r/Android/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "ANA",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Analytics",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://analytics.google.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "AS",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "awesomeSheet",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://zombiefox.github.io/awesomeSheet/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "AZ",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Amazon",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.amazon.co.uk/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "BX",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Box",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://app.box.com/login/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "CAL",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Calendar",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.google.com/calendar/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "CM",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Citymapper",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://citymapper.com/london/superrouter"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "CO",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Contacts",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://contacts.google.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "COS",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "/r/chromeos/",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/r/chromeos/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "DR",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Drive",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://drive.google.com/drive/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "DEV",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Devdocs",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "http://devdocs.io/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "FB",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Facebook",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.facebook.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "GIT",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Github",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://github.com/login"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "GM",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Gmail",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://mail.google.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "GOT",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "/r/gameofthrones/",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/r/gameofthrones/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "KP",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Keep",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://keep.google.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "M",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Maps",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.google.co.uk/maps"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "MHW",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "/r/monsterhunter/",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/r/monsterhunter/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "N",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Netflix",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.netflix.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "OD",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "/r/opendirectories/",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/r/opendirectories/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "P",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Photos",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://photos.google.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "PRG",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "/r/Pathfinder_RPG/",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/r/Pathfinder_RPG/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "R",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Reddit",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "TFL",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "TFL Map",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "http://content.tfl.gov.uk/standard-tube-map.pdf"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "V",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "/r/videos/",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.reddit.com/r/videos/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}, {
|
2018-12-28 13:21:16 +00:00
|
|
|
letter: "YT",
|
2018-12-26 07:45:53 +00:00
|
|
|
name: "Youtube",
|
2018-12-28 13:21:16 +00:00
|
|
|
url: "https://www.youtube.com/"
|
2018-12-26 07:45:53 +00:00
|
|
|
}];
|
|
|
|
|
|
|
|
var get = function() {
|
|
|
|
return all;
|
|
|
|
};
|
|
|
|
|
|
|
|
var add = function(object) {
|
|
|
|
all.push(object);
|
|
|
|
};
|
|
|
|
|
|
|
|
var edit = function(object, index) {
|
|
|
|
all[index] = object;
|
|
|
|
};
|
|
|
|
|
|
|
|
var remove = function(index) {
|
|
|
|
all.splice(index, 1);
|
|
|
|
};
|
|
|
|
|
|
|
|
var restore = function(array) {
|
2018-12-26 23:46:53 +00:00
|
|
|
if (array) {
|
|
|
|
all = array;
|
|
|
|
};
|
2018-12-26 07:45:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// exposed methods
|
|
|
|
return {
|
|
|
|
get: get,
|
|
|
|
add: add,
|
|
|
|
edit: edit,
|
|
|
|
remove: remove,
|
|
|
|
restore: restore
|
|
|
|
};
|
|
|
|
|
|
|
|
})();
|