diff --git a/dist/background.js b/dist/background.js
new file mode 100644
index 0000000..abce7a2
--- /dev/null
+++ b/dist/background.js
@@ -0,0 +1 @@
+"use strict";chrome.runtime.onInstalled.addListener(function(t){"install"===t.reason&&chrome.tabs.create({url:"pages/getting-started/getting-started.html"})});
\ No newline at end of file
diff --git a/dist/blank.js b/dist/blank.js
deleted file mode 100644
index 2f038be..0000000
--- a/dist/blank.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";window.location="https://www.google.com";
\ No newline at end of file
diff --git a/dist/manifest.json b/dist/manifest.json
index d197d93..bd34f9e 100644
--- a/dist/manifest.json
+++ b/dist/manifest.json
@@ -1 +1 @@
-{"name":"Remove Most Visited Pages","short_name":"RMVP","description":"Remove Most Visited Pages by redirecting the new tab page to Google homepage","icons":{"16":"icons/16.png","48":"icons/48.png","128":"icons/128.png"},"author":"Christian Esperar","version":"2.1.0","incognito":"split","chrome_url_overrides":{"newtab":"blank.html"},"permissions":["storage"],"options_page":"options/options.html","manifest_version":2,"content_scripts":[{"matches":["*://www.google.com/*","*://www.google.ad/*","*://www.google.ae/*","*://www.google.com.af/*","*://www.google.com.ag/*","*://www.google.com.ai/*","*://www.google.al/*","*://www.google.am/*","*://www.google.co.ao/*","*://www.google.com.ar/*","*://www.google.as/*","*://www.google.at/*","*://www.google.com.au/*","*://www.google.az/*","*://www.google.ba/*","*://www.google.com.bd/*","*://www.google.be/*","*://www.google.bf/*","*://www.google.bg/*","*://www.google.com.bh/*","*://www.google.bi/*","*://www.google.bj/*","*://www.google.com.bn/*","*://www.google.com.bo/*","*://www.google.com.br/*","*://www.google.bs/*","*://www.google.bt/*","*://www.google.co.bw/*","*://www.google.by/*","*://www.google.com.bz/*","*://www.google.ca/*","*://www.google.cd/*","*://www.google.cf/*","*://www.google.cg/*","*://www.google.ch/*","*://www.google.ci/*","*://www.google.co.ck/*","*://www.google.cl/*","*://www.google.cm/*","*://www.google.cn/*","*://www.google.com.co/*","*://www.google.co.cr/*","*://www.google.com.cu/*","*://www.google.cv/*","*://www.google.com.cy/*","*://www.google.cz/*","*://www.google.de/*","*://www.google.dj/*","*://www.google.dk/*","*://www.google.dm/*","*://www.google.com.do/*","*://www.google.dz/*","*://www.google.com.ec/*","*://www.google.ee/*","*://www.google.com.eg/*","*://www.google.es/*","*://www.google.com.et/*","*://www.google.fi/*","*://www.google.com.fj/*","*://www.google.fm/*","*://www.google.fr/*","*://www.google.ga/*","*://www.google.ge/*","*://www.google.gg/*","*://www.google.com.gh/*","*://www.google.com.gi/*","*://www.google.gl/*","*://www.google.gm/*","*://www.google.gp/*","*://www.google.gr/*","*://www.google.com.gt/*","*://www.google.gy/*","*://www.google.com.hk/*","*://www.google.hn/*","*://www.google.hr/*","*://www.google.ht/*","*://www.google.hu/*","*://www.google.co.id/*","*://www.google.ie/*","*://www.google.co.il/*","*://www.google.im/*","*://www.google.co.in/*","*://www.google.iq/*","*://www.google.is/*","*://www.google.it/*","*://www.google.je/*","*://www.google.com.jm/*","*://www.google.jo/*","*://www.google.co.jp/*","*://www.google.co.ke/*","*://www.google.com.kh/*","*://www.google.ki/*","*://www.google.kg/*","*://www.google.co.kr/*","*://www.google.com.kw/*","*://www.google.kz/*","*://www.google.la/*","*://www.google.com.lb/*","*://www.google.li/*","*://www.google.lk/*","*://www.google.co.ls/*","*://www.google.lt/*","*://www.google.lu/*","*://www.google.lv/*","*://www.google.com.ly/*","*://www.google.co.ma/*","*://www.google.md/*","*://www.google.me/*","*://www.google.mg/*","*://www.google.mk/*","*://www.google.ml/*","*://www.google.com.mm/*","*://www.google.mn/*","*://www.google.ms/*","*://www.google.com.mt/*","*://www.google.mu/*","*://www.google.mv/*","*://www.google.mw/*","*://www.google.com.mx/*","*://www.google.com.my/*","*://www.google.co.mz/*","*://www.google.com.na/*","*://www.google.com.nf/*","*://www.google.com.ng/*","*://www.google.com.ni/*","*://www.google.ne/*","*://www.google.nl/*","*://www.google.no/*","*://www.google.com.np/*","*://www.google.nr/*","*://www.google.nu/*","*://www.google.co.nz/*","*://www.google.com.om/*","*://www.google.com.pa/*","*://www.google.com.pe/*","*://www.google.com.pg/*","*://www.google.com.ph/*","*://www.google.com.pk/*","*://www.google.pl/*","*://www.google.pn/*","*://www.google.com.pr/*","*://www.google.ps/*","*://www.google.pt/*","*://www.google.com.py/*","*://www.google.com.qa/*","*://www.google.ro/*","*://www.google.ru/*","*://www.google.rw/*","*://www.google.com.sa/*","*://www.google.com.sb/*","*://www.google.sc/*","*://www.google.se/*","*://www.google.com.sg/*","*://www.google.sh/*","*://www.google.si/*","*://www.google.sk/*","*://www.google.com.sl/*","*://www.google.sn/*","*://www.google.so/*","*://www.google.sm/*","*://www.google.sr/*","*://www.google.st/*","*://www.google.com.sv/*","*://www.google.td/*","*://www.google.tg/*","*://www.google.co.th/*","*://www.google.com.tj/*","*://www.google.tk/*","*://www.google.tl/*","*://www.google.tm/*","*://www.google.tn/*","*://www.google.to/*","*://www.google.com.tr/*","*://www.google.tt/*","*://www.google.com.tw/*","*://www.google.co.tz/*","*://www.google.com.ua/*","*://www.google.co.ug/*","*://www.google.co.uk/*","*://www.google.com.uy/*","*://www.google.co.uz/*","*://www.google.com.vc/*","*://www.google.co.ve/*","*://www.google.vg/*","*://www.google.co.vi/*","*://www.google.com.vn/*","*://www.google.vu/*","*://www.google.ws/*","*://www.google.rs/*","*://www.google.co.za/*","*://www.google.co.zm/*","*://www.google.co.zw/*","*://www.google.cat/*"],"css":["search.css"],"js":["search.js"],"run_at":"document_start"}]}
\ No newline at end of file
+{"name":"Remove Most Visited Pages","short_name":"RMVP","description":"Remove Most Visited Pages by redirecting the new tab page to Google homepage","icons":{"16":"icons/16.png","48":"icons/48.png","128":"icons/128.png"},"author":"Christian Esperar","version":"2.2.0","incognito":"split","chrome_url_overrides":{"newtab":"blank.html"},"permissions":["storage"],"background":{"scripts":["background.js"],"persistent":false},"options_page":"pages/options/options.html","manifest_version":2,"content_scripts":[{"matches":["*://www.google.com/*","*://www.google.ad/*","*://www.google.ae/*","*://www.google.com.af/*","*://www.google.com.ag/*","*://www.google.com.ai/*","*://www.google.al/*","*://www.google.am/*","*://www.google.co.ao/*","*://www.google.com.ar/*","*://www.google.as/*","*://www.google.at/*","*://www.google.com.au/*","*://www.google.az/*","*://www.google.ba/*","*://www.google.com.bd/*","*://www.google.be/*","*://www.google.bf/*","*://www.google.bg/*","*://www.google.com.bh/*","*://www.google.bi/*","*://www.google.bj/*","*://www.google.com.bn/*","*://www.google.com.bo/*","*://www.google.com.br/*","*://www.google.bs/*","*://www.google.bt/*","*://www.google.co.bw/*","*://www.google.by/*","*://www.google.com.bz/*","*://www.google.ca/*","*://www.google.cd/*","*://www.google.cf/*","*://www.google.cg/*","*://www.google.ch/*","*://www.google.ci/*","*://www.google.co.ck/*","*://www.google.cl/*","*://www.google.cm/*","*://www.google.cn/*","*://www.google.com.co/*","*://www.google.co.cr/*","*://www.google.com.cu/*","*://www.google.cv/*","*://www.google.com.cy/*","*://www.google.cz/*","*://www.google.de/*","*://www.google.dj/*","*://www.google.dk/*","*://www.google.dm/*","*://www.google.com.do/*","*://www.google.dz/*","*://www.google.com.ec/*","*://www.google.ee/*","*://www.google.com.eg/*","*://www.google.es/*","*://www.google.com.et/*","*://www.google.fi/*","*://www.google.com.fj/*","*://www.google.fm/*","*://www.google.fr/*","*://www.google.ga/*","*://www.google.ge/*","*://www.google.gg/*","*://www.google.com.gh/*","*://www.google.com.gi/*","*://www.google.gl/*","*://www.google.gm/*","*://www.google.gp/*","*://www.google.gr/*","*://www.google.com.gt/*","*://www.google.gy/*","*://www.google.com.hk/*","*://www.google.hn/*","*://www.google.hr/*","*://www.google.ht/*","*://www.google.hu/*","*://www.google.co.id/*","*://www.google.ie/*","*://www.google.co.il/*","*://www.google.im/*","*://www.google.co.in/*","*://www.google.iq/*","*://www.google.is/*","*://www.google.it/*","*://www.google.je/*","*://www.google.com.jm/*","*://www.google.jo/*","*://www.google.co.jp/*","*://www.google.co.ke/*","*://www.google.com.kh/*","*://www.google.ki/*","*://www.google.kg/*","*://www.google.co.kr/*","*://www.google.com.kw/*","*://www.google.kz/*","*://www.google.la/*","*://www.google.com.lb/*","*://www.google.li/*","*://www.google.lk/*","*://www.google.co.ls/*","*://www.google.lt/*","*://www.google.lu/*","*://www.google.lv/*","*://www.google.com.ly/*","*://www.google.co.ma/*","*://www.google.md/*","*://www.google.me/*","*://www.google.mg/*","*://www.google.mk/*","*://www.google.ml/*","*://www.google.com.mm/*","*://www.google.mn/*","*://www.google.ms/*","*://www.google.com.mt/*","*://www.google.mu/*","*://www.google.mv/*","*://www.google.mw/*","*://www.google.com.mx/*","*://www.google.com.my/*","*://www.google.co.mz/*","*://www.google.com.na/*","*://www.google.com.nf/*","*://www.google.com.ng/*","*://www.google.com.ni/*","*://www.google.ne/*","*://www.google.nl/*","*://www.google.no/*","*://www.google.com.np/*","*://www.google.nr/*","*://www.google.nu/*","*://www.google.co.nz/*","*://www.google.com.om/*","*://www.google.com.pa/*","*://www.google.com.pe/*","*://www.google.com.pg/*","*://www.google.com.ph/*","*://www.google.com.pk/*","*://www.google.pl/*","*://www.google.pn/*","*://www.google.com.pr/*","*://www.google.ps/*","*://www.google.pt/*","*://www.google.com.py/*","*://www.google.com.qa/*","*://www.google.ro/*","*://www.google.ru/*","*://www.google.rw/*","*://www.google.com.sa/*","*://www.google.com.sb/*","*://www.google.sc/*","*://www.google.se/*","*://www.google.com.sg/*","*://www.google.sh/*","*://www.google.si/*","*://www.google.sk/*","*://www.google.com.sl/*","*://www.google.sn/*","*://www.google.so/*","*://www.google.sm/*","*://www.google.sr/*","*://www.google.st/*","*://www.google.com.sv/*","*://www.google.td/*","*://www.google.tg/*","*://www.google.co.th/*","*://www.google.com.tj/*","*://www.google.tk/*","*://www.google.tl/*","*://www.google.tm/*","*://www.google.tn/*","*://www.google.to/*","*://www.google.com.tr/*","*://www.google.tt/*","*://www.google.com.tw/*","*://www.google.co.tz/*","*://www.google.com.ua/*","*://www.google.co.ug/*","*://www.google.co.uk/*","*://www.google.com.uy/*","*://www.google.co.uz/*","*://www.google.com.vc/*","*://www.google.co.ve/*","*://www.google.vg/*","*://www.google.co.vi/*","*://www.google.com.vn/*","*://www.google.vu/*","*://www.google.ws/*","*://www.google.rs/*","*://www.google.co.za/*","*://www.google.co.zm/*","*://www.google.co.zw/*","*://www.google.cat/*"],"css":["search.css"],"js":["search.js"],"run_at":"document_start"}]}
\ No newline at end of file
diff --git a/dist/normalize.css b/dist/normalize.css
new file mode 100644
index 0000000..48026ae
--- /dev/null
+++ b/dist/normalize.css
@@ -0,0 +1 @@
+/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
\ No newline at end of file
diff --git a/dist/pages/disure.png b/dist/pages/disure.png
new file mode 100644
index 0000000..76c3ddc
Binary files /dev/null and b/dist/pages/disure.png differ
diff --git a/dist/pages/getting-started/getting-started.html b/dist/pages/getting-started/getting-started.html
new file mode 100644
index 0000000..0ddd26e
--- /dev/null
+++ b/dist/pages/getting-started/getting-started.html
@@ -0,0 +1 @@
+
Getting Started - Remove most visited pages
Remove most visited pages
Getting Started
Remove Most Visited Pages by redirecting the new tab page to Google homepage.
This plugin also modify your Google homepage by removing some elements to make it look exactly like the new tab page.
Pros
Removes Most Visited Pages
Cons
Typing search query in the URL bar is not yet possible, alternatively, you can use shortcut key
Windows or Linux: Ctrl + L or Alt + D or F6
Mac: ⌘ + L
No theme support
Not recommended for users with slow internet connections
Additional Features
Go directly to the website if search query is in url format (v2.1.0 and above)
\ No newline at end of file
diff --git a/dist/pages/options/options.html b/dist/pages/options/options.html
new file mode 100644
index 0000000..f6ff622
--- /dev/null
+++ b/dist/pages/options/options.html
@@ -0,0 +1 @@
+Options - Remove most visited pages
Remove Most Visited Pages
Options
\ No newline at end of file
diff --git a/dist/pages/options/options.js b/dist/pages/options/options.js
new file mode 100644
index 0000000..23ad77c
--- /dev/null
+++ b/dist/pages/options/options.js
@@ -0,0 +1 @@
+"use strict";var RMVPOptions={onLoad:function(){var t=[document.getElementsByClassName("options"),document.getElementById("save")];RMVPOptions.inputs=t[0],RMVPOptions.button=t[1];var n=RMVPOptions.inputs[0];chrome.storage.sync.get(["RMVP_Options_UrlRedirection"],function(t){n.checked=-1<[void 0,!0].indexOf(t.RMVP_Options_UrlRedirection)}),RMVPOptions.button.addEventListener("click",function(){chrome.storage.sync.set({RMVP_Options_UrlRedirection:n.checked},function(){})})}};document.addEventListener("DOMContentLoaded",RMVPOptions.onLoad,!1);
\ No newline at end of file
diff --git a/dist/pages/pages.css b/dist/pages/pages.css
new file mode 100644
index 0000000..6030365
--- /dev/null
+++ b/dist/pages/pages.css
@@ -0,0 +1 @@
+body{padding:0 15px;font-size:16px;color:#333}.main,.sponsor{float:left}.main{width:85%}.main__video{margin-top:15px;border:none}.sponsor{position:fixed;right:10px;width:15%}.sponsor__img{width:100%}
\ No newline at end of file
diff --git a/disure.png b/disure.png
new file mode 100644
index 0000000..276174d
Binary files /dev/null and b/disure.png differ
diff --git a/gulpfile.js b/gulpfile.js
index e7d6bd9..ca6ccd7 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -10,7 +10,7 @@ const dest = 'dist/';
const src = 'src/';
function build() {
- gulp.src(`${src}*.js`)
+ gulp.src(`${src}**/*.js`)
.pipe(babel({
presets: ['es2015'],
}))
@@ -18,24 +18,24 @@ function build() {
.pipe(uglify())
.pipe(gulp.dest(dest));
- gulp.src(`${src}*.css`)
+ gulp.src(`${src}**/*.css`)
.pipe(cleanCSS({ compatibility: 'ie8' }))
.pipe(gulp.dest(dest));
- gulp.src(`${src}*.html`)
+ gulp.src(`${src}**/*.html`)
.pipe(htmlmin({ collapseWhitespace: true }))
.pipe(gulp.dest(dest));
- gulp.src(`${src}*.json`)
+ gulp.src(`${src}**/*.json`)
.pipe(jsonminify())
.pipe(gulp.dest(dest));
- gulp.src(`${src}icons/*.png`)
- .pipe(gulp.dest(`${dest}icons/`));
+ gulp.src(`${src}**/*.png`)
+ .pipe(gulp.dest(dest));
}
function watch() {
- gulp.watch([ `${src}*` ], [ 'build' ]);
+ gulp.watch([ `${src}**/*` ], [ 'build' ]);
}
gulp.task('build', build);
diff --git a/src/background.js b/src/background.js
new file mode 100644
index 0000000..c156e26
--- /dev/null
+++ b/src/background.js
@@ -0,0 +1,5 @@
+chrome.runtime.onInstalled.addListener((object) => {
+ if (object.reason === 'install') {
+ chrome.tabs.create({ url: 'pages/getting-started/getting-started.html' });
+ }
+});
diff --git a/src/manifest.json b/src/manifest.json
index 2190ba0..4d546f9 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -8,7 +8,7 @@
"128": "icons/128.png"
},
"author":"Christian Esperar",
- "version": "2.1.0",
+ "version": "2.2.0",
"incognito": "split",
"chrome_url_overrides": {
"newtab": "blank.html"
@@ -16,7 +16,13 @@
"permissions": [
"storage"
],
- "options_page": "options/options.html",
+ "background": {
+ "scripts": [
+ "background.js"
+ ],
+ "persistent": false
+ },
+ "options_page": "pages/options/options.html",
"manifest_version": 2,
"content_scripts": [
{
diff --git a/src/normalize.css b/src/normalize.css
new file mode 100644
index 0000000..3d6624c
--- /dev/null
+++ b/src/normalize.css
@@ -0,0 +1,341 @@
+/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
+
+/* Document
+ ========================================================================== */
+
+/**
+ * 1. Correct the line height in all browsers.
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
+ */
+
+html {
+ line-height: 1.15; /* 1 */
+ -webkit-text-size-adjust: 100%; /* 2 */
+}
+
+/* Sections
+ ========================================================================== */
+
+/**
+ * Remove the margin in all browsers.
+ */
+
+body {
+ margin: 0;
+}
+
+/**
+ * Correct the font size and margin on `h1` elements within `section` and
+ * `article` contexts in Chrome, Firefox, and Safari.
+ */
+
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+
+/* Grouping content
+ ========================================================================== */
+
+/**
+ * 1. Add the correct box sizing in Firefox.
+ * 2. Show the overflow in Edge and IE.
+ */
+
+hr {
+ box-sizing: content-box; /* 1 */
+ height: 0; /* 1 */
+ overflow: visible; /* 2 */
+}
+
+/**
+ * 1. Correct the inheritance and scaling of font size in all browsers.
+ * 2. Correct the odd `em` font sizing in all browsers.
+ */
+
+pre {
+ font-family: monospace, monospace; /* 1 */
+ font-size: 1em; /* 2 */
+}
+
+/* Text-level semantics
+ ========================================================================== */
+
+/**
+ * Remove the gray background on active links in IE 10.
+ */
+
+a {
+ background-color: transparent;
+}
+
+/**
+ * 1. Remove the bottom border in Chrome 57-
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
+ */
+
+abbr[title] {
+ border-bottom: none; /* 1 */
+ text-decoration: underline; /* 2 */
+ text-decoration: underline dotted; /* 2 */
+}
+
+/**
+ * Add the correct font weight in Chrome, Edge, and Safari.
+ */
+
+b,
+strong {
+ font-weight: bolder;
+}
+
+/**
+ * 1. Correct the inheritance and scaling of font size in all browsers.
+ * 2. Correct the odd `em` font sizing in all browsers.
+ */
+
+code,
+kbd,
+samp {
+ font-family: monospace, monospace; /* 1 */
+ font-size: 1em; /* 2 */
+}
+
+/**
+ * Add the correct font size in all browsers.
+ */
+
+small {
+ font-size: 80%;
+}
+
+/**
+ * Prevent `sub` and `sup` elements from affecting the line height in
+ * all browsers.
+ */
+
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+sup {
+ top: -0.5em;
+}
+
+/* Embedded content
+ ========================================================================== */
+
+/**
+ * Remove the border on images inside links in IE 10.
+ */
+
+img {
+ border-style: none;
+}
+
+/* Forms
+ ========================================================================== */
+
+/**
+ * 1. Change the font styles in all browsers.
+ * 2. Remove the margin in Firefox and Safari.
+ */
+
+button,
+input,
+optgroup,
+select,
+textarea {
+ font-family: inherit; /* 1 */
+ font-size: 100%; /* 1 */
+ line-height: 1.15; /* 1 */
+ margin: 0; /* 2 */
+}
+
+/**
+ * Show the overflow in IE.
+ * 1. Show the overflow in Edge.
+ */
+
+button,
+input { /* 1 */
+ overflow: visible;
+}
+
+/**
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
+ * 1. Remove the inheritance of text transform in Firefox.
+ */
+
+button,
+select { /* 1 */
+ text-transform: none;
+}
+
+/**
+ * Correct the inability to style clickable types in iOS and Safari.
+ */
+
+button,
+[type="button"],
+[type="reset"],
+[type="submit"] {
+ -webkit-appearance: button;
+}
+
+/**
+ * Remove the inner border and padding in Firefox.
+ */
+
+button::-moz-focus-inner,
+[type="button"]::-moz-focus-inner,
+[type="reset"]::-moz-focus-inner,
+[type="submit"]::-moz-focus-inner {
+ border-style: none;
+ padding: 0;
+}
+
+/**
+ * Restore the focus styles unset by the previous rule.
+ */
+
+button:-moz-focusring,
+[type="button"]:-moz-focusring,
+[type="reset"]:-moz-focusring,
+[type="submit"]:-moz-focusring {
+ outline: 1px dotted ButtonText;
+}
+
+/**
+ * Correct the padding in Firefox.
+ */
+
+fieldset {
+ padding: 0.35em 0.75em 0.625em;
+}
+
+/**
+ * 1. Correct the text wrapping in Edge and IE.
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
+ * 3. Remove the padding so developers are not caught out when they zero out
+ * `fieldset` elements in all browsers.
+ */
+
+legend {
+ box-sizing: border-box; /* 1 */
+ color: inherit; /* 2 */
+ display: table; /* 1 */
+ max-width: 100%; /* 1 */
+ padding: 0; /* 3 */
+ white-space: normal; /* 1 */
+}
+
+/**
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
+ */
+
+progress {
+ vertical-align: baseline;
+}
+
+/**
+ * Remove the default vertical scrollbar in IE 10+.
+ */
+
+textarea {
+ overflow: auto;
+}
+
+/**
+ * 1. Add the correct box sizing in IE 10.
+ * 2. Remove the padding in IE 10.
+ */
+
+[type="checkbox"],
+[type="radio"] {
+ box-sizing: border-box; /* 1 */
+ padding: 0; /* 2 */
+}
+
+/**
+ * Correct the cursor style of increment and decrement buttons in Chrome.
+ */
+
+[type="number"]::-webkit-inner-spin-button,
+[type="number"]::-webkit-outer-spin-button {
+ height: auto;
+}
+
+/**
+ * 1. Correct the odd appearance in Chrome and Safari.
+ * 2. Correct the outline style in Safari.
+ */
+
+[type="search"] {
+ -webkit-appearance: textfield; /* 1 */
+ outline-offset: -2px; /* 2 */
+}
+
+/**
+ * Remove the inner padding in Chrome and Safari on macOS.
+ */
+
+[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+/**
+ * 1. Correct the inability to style clickable types in iOS and Safari.
+ * 2. Change font properties to `inherit` in Safari.
+ */
+
+::-webkit-file-upload-button {
+ -webkit-appearance: button; /* 1 */
+ font: inherit; /* 2 */
+}
+
+/* Interactive
+ ========================================================================== */
+
+/*
+ * Add the correct display in Edge, IE 10+, and Firefox.
+ */
+
+details {
+ display: block;
+}
+
+/*
+ * Add the correct display in all browsers.
+ */
+
+summary {
+ display: list-item;
+}
+
+/* Misc
+ ========================================================================== */
+
+/**
+ * Add the correct display in IE 10+.
+ */
+
+template {
+ display: none;
+}
+
+/**
+ * Add the correct display in IE 10.
+ */
+
+[hidden] {
+ display: none;
+}
\ No newline at end of file
diff --git a/src/options/options.html b/src/options/options.html
deleted file mode 100644
index 7f7b50e..0000000
--- a/src/options/options.html
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- Remove Most Visited Pages Options
-
-
-
-
-
Remove Most Visited Pages Options
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/disure.png b/src/pages/disure.png
new file mode 100644
index 0000000..76c3ddc
Binary files /dev/null and b/src/pages/disure.png differ
diff --git a/src/pages/getting-started/getting-started.html b/src/pages/getting-started/getting-started.html
new file mode 100644
index 0000000..1e47387
--- /dev/null
+++ b/src/pages/getting-started/getting-started.html
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+ Getting Started - Remove most visited pages
+
+
+
+
Remove most visited pages
+
Getting Started
+
+
Remove Most Visited Pages by redirecting the new tab page to Google homepage.
+
This plugin also modify your Google homepage by removing some elements to make it look exactly like the new tab page.
+
+
Pros
+
+
Removes Most Visited Pages
+
+
Cons
+
+
Typing search query in the URL bar is not yet possible, alternatively, you can use shortcut key
+
+
Windows or Linux: Ctrl + L or Alt + D or F6
+
Mac: ⌘ + L
+
+
+
No theme support
+
Not recommended for users with slow internet connections
+
+
+
Additional Features
+
+
+ Go directly to the website if search query is in url format (v2.1.0 and above)
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/options/options.html b/src/pages/options/options.html
new file mode 100644
index 0000000..ba881cc
--- /dev/null
+++ b/src/pages/options/options.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+ Options - Remove most visited pages
+
+
+
+
Remove Most Visited Pages
+
Options
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/options/options.js b/src/pages/options/options.js
similarity index 89%
rename from src/options/options.js
rename to src/pages/options/options.js
index f8953b0..e49f9a0 100644
--- a/src/options/options.js
+++ b/src/pages/options/options.js
@@ -5,8 +5,8 @@ const RMVPOptions = {
*/
onLoad: () => {
[RMVPOptions.inputs, RMVPOptions.button] = [
- document.getElementsByClassName('rvmp__checkbox'),
- document.getElementById('rmvp__save'),
+ document.getElementsByClassName('options'),
+ document.getElementById('save'),
];
// Go directly to the website if search query is url format
const urlRedirection = RMVPOptions.inputs[0];
diff --git a/src/pages/pages.css b/src/pages/pages.css
new file mode 100644
index 0000000..dacaf51
--- /dev/null
+++ b/src/pages/pages.css
@@ -0,0 +1,29 @@
+body {
+ padding: 0 15px;
+ font-size: 16px;
+ color: #333;
+}
+
+.main,
+.sponsor {
+ float: left;
+}
+
+.main {
+ width: 85%;
+}
+
+.main__video {
+ margin-top: 15px;
+ border: none;
+}
+
+.sponsor {
+ position: fixed;
+ right: 10px;
+ width: 15%;
+}
+
+.sponsor__img {
+ width: 100%;
+}
\ No newline at end of file