mirror of https://github.com/mue/mue.git
new!!
This commit is contained in:
parent
ed14e41702
commit
d9a90e5e80
30
README.md
30
README.md
|
@ -1,19 +1,35 @@
|
||||||
# Mue
|
# Mue
|
||||||
Fast, open and free-to-use new tab page for Chrome (also works on Firefox)
|
Fast, open and free-to-use new tab page for Chrome (also works on Opera and Firefox)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
### Chrome
|
### Chrome
|
||||||
1. ``git clone https://github.com/ohlookitsderpy/Mue``
|
1. ``git clone https://github.com/ohlookitsderpy/Mue`` (if you don't have git just go to **Clone or download** and click **Download ZIP**)
|
||||||
2. Visit ``chrome://extensions`` in your browser
|
2. Rename ``manifest-chrome.json`` to ``manifest.json``
|
||||||
3. Click **Load unpacked** (Make sure **Developer Mode** is on)
|
3. Visit ``chrome://extensions`` in your browser
|
||||||
4. Go to the directory, and click ok
|
4. Click **Load unpacked** (Make sure **Developer Mode** is on)
|
||||||
5. Enjoy your new tab!
|
5. Go to the directory and click ok
|
||||||
|
6. Enjoy your new tab!
|
||||||
|
### Opera
|
||||||
|
1. ``git clone https://github.com/ohlookitsderpy/Mue`` (if you don't have git just go to **Clone or download** and click **Download ZIP**)
|
||||||
|
2. Rename ``manifest-opera.json`` to ``manifest.json``
|
||||||
|
3. Visit ``about://extensions`` in your browser
|
||||||
|
4. Click **Load unpacked extension...** (Make sure you are in **Developer Mode**)
|
||||||
|
5. Go to the directory and click ok
|
||||||
|
6. Enjoy your new tab!
|
||||||
### Firefox
|
### Firefox
|
||||||
soon TM
|
*Note: I'm currently trying to find a better method to do this, but this works for now. Also in testing and may not work properly!*
|
||||||
|
1. ``git clone https://github.com/ohlookitsderpy/Mue`` (if you don't have git just go to **Clone or download** and click **Download ZIP**)
|
||||||
|
2. Rename ``manifest-chrome`` to ``manifest.json``
|
||||||
|
3. Visit ``about:debugging#addons`` in your browser
|
||||||
|
4. Click **Load temporary Add-on**
|
||||||
|
5. Go to the directory and click on the manifest.json
|
||||||
|
6. Enjoy your new tab!
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
[Turbomarshmello](https://github.com/TurboMarshmello) - Portions of original code, name idea. ~~pls don't ban me i gave credit~~
|
[Turbomarshmello](https://github.com/TurboMarshmello) - Portions of original code, name idea. ~~pls don't ban me i gave credit~~
|
||||||
|
|
||||||
[Pexels](https://pexels.com) - Stock photos used
|
[Pexels](https://pexels.com) - Stock photos used
|
||||||
|
|
||||||
|
[Opera Forum](https://forums.opera.com/topic/25046/how-to-disable-completely-the-speed-dial/14) - Portions of code to add Opera support
|
||||||
|
|
||||||
and all the contributors <3
|
and all the contributors <3
|
||||||
|
|
|
@ -113,11 +113,10 @@ time {
|
||||||
|
|
||||||
/* Font */
|
/* Font */
|
||||||
|
|
||||||
/* roboto-regular - latin */
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Roboto';
|
font-family: 'Roboto';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: local('Roboto'), local('Roboto-Regular'),
|
src: local('Roboto'), local('Roboto-Regular'),
|
||||||
url('../font/roboto-v18-latin-regular.woff2') format('woff2'); /* Super Modern Browsers */
|
url('../font/roboto-v18-latin-regular.woff2') format('woff2');
|
||||||
}
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
// Original code sourced from https://forums.opera.com/topic/25046/how-to-disable-completely-the-speed-dial/14
|
||||||
|
|
||||||
|
chrome.tabs.onCreated.addListener(function(tab) {
|
||||||
|
if (tab.status === "complete" && tab.url === "chrome://startpage/") {
|
||||||
|
chrome.tabs.update(tab.id, {
|
||||||
|
url: chrome.extension.getURL("index.html")
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
|
||||||
|
if (changeInfo.status === "complete" && tab.url === "chrome://startpage/") {
|
||||||
|
chrome.tabs.update(tabId, {
|
||||||
|
url: chrome.extension.getURL("index.html")
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
|
@ -121,8 +121,12 @@ function setRandomQuote () {
|
||||||
{ text: 'Hard times don’t create heroes. It is during the hard times when the ‘hero’ within us is revealed.', author: 'Bob Riley'},
|
{ text: 'Hard times don’t create heroes. It is during the hard times when the ‘hero’ within us is revealed.', author: 'Bob Riley'},
|
||||||
{ text: 'If you can tune into your purpose and really align with it, setting goals so that your vision is an expression of that purpose, then life flows much more easily.', author: 'Jack Canfield'},
|
{ text: 'If you can tune into your purpose and really align with it, setting goals so that your vision is an expression of that purpose, then life flows much more easily.', author: 'Jack Canfield'},
|
||||||
{ text: 'Whatever the mind can conceive and believe, it can achieve.', author: 'Napoleon Hill'},
|
{ text: 'Whatever the mind can conceive and believe, it can achieve.', author: 'Napoleon Hill'},
|
||||||
{ text: 'Don’t wish it were easier. Wish you were better.', author: 'Jim Rohn'}
|
{ text: 'Don’t wish it were easier. Wish you were better.', author: 'Jim Rohn'},
|
||||||
|
{ text: 'A champion is defined not by their wins but by how they can recover when they fall.', author: 'Serena Williams'},
|
||||||
|
{ text: 'Motivation comes from working on things we care about.', author: 'Sheryl Sandberg'},
|
||||||
|
{ text: 'With the right kind of coaching and determination you can accomplish anything.', author: 'Reese Witherspoon'},
|
||||||
|
{ text: 'Some people look for a beautiful place. Others make a place beautiful.', author: 'Hazrat Inayat Khan'},
|
||||||
|
{ text: 'Life is like riding a bicycle. To keep your balance, you must keep moving.', author: 'Albert Einstein'}
|
||||||
],
|
],
|
||||||
quote = pickFromArray(quotes);
|
quote = pickFromArray(quotes);
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"manifest_version": 2,
|
||||||
|
"name": "Mue",
|
||||||
|
"version": "0.1",
|
||||||
|
"browser_action": {
|
||||||
|
"default_icon": "./assets/img/icon.png"
|
||||||
|
},
|
||||||
|
"chrome_url_overrides" : {
|
||||||
|
"newtab": "index.html"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Mue",
|
"name": "Mue",
|
||||||
"version": "0.1",
|
"version": "0.1",
|
||||||
"browser_action": {
|
"browser_action": {
|
||||||
"default_icon": "./assets/img/icon.png"
|
"default_icon": "./assets/img/icon.png"
|
||||||
},
|
},
|
||||||
"chrome_url_overrides" : {
|
"background": {
|
||||||
"newtab": "index.html"
|
"scripts": ["./assets/js/background-opera.js"]
|
||||||
}
|
},
|
||||||
}
|
"permissions": [
|
||||||
|
"tabs"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue