├── .gitignore ├── demo.gif ├── icons ├── icon.png ├── icon16.png ├── icon48.png └── icon128.png ├── options ├── css │ └── options.css ├── options.html └── js │ └── options.js ├── popup ├── images │ ├── searchIcon.png │ └── gear-icon.svg ├── css │ └── popup.css ├── popup.html └── js │ └── popup.js ├── .travis.yml ├── css └── googleFearch.css ├── scripts ├── googleFearch.js └── googleCS.js ├── .eslintrc ├── Gruntfile.js ├── package.json ├── LICENSE.txt ├── CONTRIBUTING.md ├── README.md └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NITDgpOS/Fearch/HEAD/demo.gif -------------------------------------------------------------------------------- /icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NITDgpOS/Fearch/HEAD/icons/icon.png -------------------------------------------------------------------------------- /icons/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NITDgpOS/Fearch/HEAD/icons/icon16.png -------------------------------------------------------------------------------- /icons/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NITDgpOS/Fearch/HEAD/icons/icon48.png -------------------------------------------------------------------------------- /options/css/options.css: -------------------------------------------------------------------------------- 1 | .main { 2 | width: 200px; 3 | height: 200px; 4 | } -------------------------------------------------------------------------------- /icons/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NITDgpOS/Fearch/HEAD/icons/icon128.png -------------------------------------------------------------------------------- /popup/images/searchIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NITDgpOS/Fearch/HEAD/popup/images/searchIcon.png -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "6" 4 | install: 5 | - npm install 6 | script: 7 | - npm run ci:lint 8 | -------------------------------------------------------------------------------- /css/googleFearch.css: -------------------------------------------------------------------------------- 1 | #sfdiv { 2 | display: none; 3 | } 4 | #hdtb-msb { 5 | display: none; 6 | } 7 | #sbds { 8 | display: none; 9 | } 10 | #fearchText{ 11 | padding: 13px; 12 | font-size: 200%; 13 | color: #6a6a6a; 14 | } 15 | -------------------------------------------------------------------------------- /scripts/googleFearch.js: -------------------------------------------------------------------------------- 1 | document.getElementById("hdtbSum").innerHTML = "
All the links below are FTP servers, containing your file, and similar content. Total Enjoy!!
"; 2 | -------------------------------------------------------------------------------- /scripts/googleCS.js: -------------------------------------------------------------------------------- 1 | var s = document.createElement("script"); 2 | s.src = chrome.extension.getURL("scripts/googleFearch.js"); 3 | (document.head || document.documentElement).appendChild(s); 4 | 5 | // After loading and execution, the node disappears so no one can trace code. 6 | s.onload = function () { 7 | s.parentNode.removeChild(s); 8 | }; 9 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "airbnb-base/legacy", 3 | "parserOptions": { 4 | "ecmaVersion": 5 5 | }, 6 | "env": { 7 | "browser": true, 8 | "webextensions": true 9 | }, 10 | "rules": { 11 | "no-var": "off", 12 | "indent": ["error", 4], 13 | "quotes": ["error", "double"], 14 | "linebreak-style": "off" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function (grunt) { 2 | grunt.initConfig({ 3 | pkg: grunt.file.readJSON("package.json"), 4 | eslint: { 5 | options: { 6 | fix: false 7 | }, 8 | target: ["*.js"] 9 | } 10 | }); 11 | 12 | grunt.loadNpmTasks("grunt-eslint"); 13 | grunt.registerTask("lint", ["eslint"]); 14 | grunt.registerTask("default", ["eslint"]); 15 | }; 16 | -------------------------------------------------------------------------------- /options/options.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fearch - Options 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | 19 |
20 |
21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /popup/images/gear-icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /options/js/options.js: -------------------------------------------------------------------------------- 1 | 2 | var radios = document.getElementsByName('theme'); 3 | 4 | if(!localStorage.getItem('theme')) 5 | localStorage.setItem('theme', 'light'); 6 | 7 | if(localStorage.getItem('theme') == 'light') 8 | { 9 | console.log("light"); 10 | radios[0].checked = true; 11 | } 12 | else 13 | { 14 | console.log("dark"); 15 | radios[1].checked = true; 16 | } 17 | 18 | function handleThemeChange(event) { 19 | if(event.target.value == 'light') 20 | localStorage.setItem('theme', 'light'); 21 | else 22 | localStorage.setItem('theme', 'dark'); 23 | } 24 | 25 | document.addEventListener("DOMContentLoaded", function () { 26 | var radios = document.getElementsByName('theme'); 27 | radios[0].addEventListener('click', handleThemeChange); 28 | radios[1].addEventListener('click', handleThemeChange); 29 | }); 30 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "chrome-search-extension", 3 | "version": "0.1.0", 4 | "description": "Searches FTP servers over the web for music, videos, eBooks and other content.", 5 | "main": "popup.js", 6 | "scripts": { 7 | "ci:lint": "grunt" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/NIT-dgp/chrome-search-extension.git" 12 | }, 13 | "keywords": [ 14 | "chrome", 15 | "extension" 16 | ], 17 | "author": "Sparsh Paliwal", 18 | "license": "MIT", 19 | "bugs": { 20 | "url": "https://github.com/NIT-dgp/chrome-search-extension/issues" 21 | }, 22 | "homepage": "https://github.com/NIT-dgp/chrome-search-extension#readme", 23 | "devDependencies": { 24 | "eslint": "^3.9.1", 25 | "eslint-config-airbnb-base": "^9.0.0", 26 | "eslint-plugin-import": "^2.1.0", 27 | "grunt": "^1.0.1", 28 | "grunt-eslint": "^19.0.0" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 NIT-dgp 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | HOW TO CONTRIBUTE 2 | ================= 3 | 4 | Fearch is in its very early development stage, you can go over the issues on the github 5 | issues page and send in a PR. 6 | 7 | Your commits in the PR should be of the form: 8 | 9 | ``` 10 | shortlog: commit message 11 | 12 | commit body 13 | 14 | Fixes #21 15 | ``` 16 | 17 | 1. **shortlog** is the area/filename where you make the change. Example **popup.js**: Added warning messages 18 | 19 | 2. **commit message** is a very brief description of the change made by you. 20 | 21 | Use the **imperative mood** in the commit message. Imperative mood just means "spoken or written as if giving a command or instruction". A few examples: 22 | 23 | - Add CONTRIBUTING.MD *instead* of Adding CONTRIBUTING.md 24 | - Change the header text format *instead* of Changing the header text format 25 | - Fix text box scaling *instead* of Fixing the text box scaling 26 | 27 | Also never use a full stop towards the end of the commit message. 28 | 29 | 3. **commit body** contains all the additional or extra details about the commit. 30 | 31 | The **commit body need not have imperative mood** you have independence to explain everything normally 32 | there. Also here you are free to use all punctuations, also a full stop towards the end. 33 | 34 | 4. The **Fixes #< issue_no >** is the issue you are working on. 35 | 36 | Happy coding :) 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Fearch 2 | 3 | An extension for both Chrome and Firefox that lets you search music, videos, ebooks and other content available on FTP servers. It uses simple google search under the hood with the query modified to look only for FTP servers. We are interested in the content that is freely available on these servers. 4 | 5 | ## Working GIF 6 | 7 | ![FEARCH_GIF](demo.gif) 8 | 9 | ## Setup (Chrome) 10 | 11 | 1. Download or git pull the repo (Unzip if downloaded) 12 | 2. Open Google Chrome and click on the **Customize and control Google Chrome button** (ie the three dot button to the top-left of the application) 13 | 3. Go to **More tools** > **Extensions** 14 | 4. Click on the **developer mode** checkbox (present in top-right of the page) 15 | 5. Click on the **Load unpacked extension...** button. 16 | 6. Browse to the place where you have unziped or pulled the repo in step 1. 17 | 7. Extension is added to your browser. Enjoy !! 18 | 8. Launch the extension by clicking the extension's logo or by hitting `Ctrl+Shift+F` from your keyboard. 19 | 20 | ## Setup (Firefox) 21 | 22 | 1. Download or git pull the repo (Unzip if downloaded) 23 | 2. Open Firefox, open **about:debugging** in the url 24 | 3. Click **Load Temporary Add-on** and select any file in your **addon's directory** 25 | 4. Extension is added to your browser. Enjoy !! 26 | 5. Launch the extension by clicking the extension's logo or by hitting `Ctrl+Shift+F` from your keyboard. 27 | 28 | ## Issues 29 | 30 | You can post bugs found in the extension here: https://github.com/NIT-dgp/chrome-search-extension/issues 31 | 32 | ## Get Involved 33 | 34 | We would love to have you work with us. Check out the development wiki page for more in-depth details about contributing code and fixing bugs. You can find us on the NIT-dgp [#general](https://gitter.im/NIT-dgp/General) gitter channel. 35 | -------------------------------------------------------------------------------- /popup/css/popup.css: -------------------------------------------------------------------------------- 1 | #header { 2 | margin-bottom: 30px; 3 | font-family: monospace; 4 | font-size: 200%; 5 | height: 60px; 6 | width: 385px; 7 | text-align: center; 8 | display: inline-block; 9 | } 10 | 11 | body { 12 | min-width: 379px; 13 | font-size: 100%; 14 | font-family: "sans-serif", Arial, Helvetica; 15 | background-color: white; 16 | margin: 0; 17 | } 18 | 19 | .dark { 20 | background: rgb(25, 50, 76); 21 | } 22 | 23 | .dark-label { 24 | color: #FFF; 25 | } 26 | 27 | #main { 28 | padding-top: 2.5em; 29 | } 30 | 31 | #searchButton { 32 | border: 0px; 33 | background: none; 34 | opacity: 0.6; 35 | cursor: pointer; 36 | transition: all 0.3s cubic-bezier(.25, .8, .25, 1); 37 | } 38 | 39 | #searchButton:hover { 40 | opacity: 1; 41 | cursor: pointer; 42 | } 43 | 44 | #searchIcon { 45 | height: 30px; 46 | width: 30px; 47 | } 48 | 49 | #query { 50 | border: 0px; 51 | padding: 10px; 52 | } 53 | 54 | input:focus { 55 | outline: none; 56 | } 57 | 58 | #main form table { 59 | width: 385px; 60 | color: black; 61 | } 62 | 63 | #main #query { 64 | font-size: 100%; 65 | width: 270px; 66 | } 67 | 68 | #main form table tr td { 69 | height: 40px; 70 | text-align: center; 71 | } 72 | 73 | #searchButton { 74 | style: none; 75 | } 76 | 77 | #suggest { 78 | position: relative; 79 | height: 40px; 80 | margin: 0px auto; 81 | } 82 | 83 | #suggest-label { 84 | border: 1px solid #FF5A00; 85 | opacity: 0.5; 86 | color: #FF5A00; 87 | padding: 4px; 88 | font-size: 75%; 89 | text-align: center; 90 | display: inline-block; 91 | border-radius: 2px; 92 | transition: all 0.5s; 93 | } 94 | 95 | #suggest-label:hover { 96 | opacity: 1; 97 | } 98 | 99 | .card { 100 | padding: 4px; 101 | background: #fff; 102 | border-radius: 2px; 103 | display: inline-flex; 104 | position: relative; 105 | } 106 | 107 | #searchBox { 108 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08); 109 | transition: all 0.3s cubic-bezier(.25, .8, .25, 1); 110 | } 111 | 112 | #searchBox:hover { 113 | box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08); 114 | } 115 | 116 | #searchBox:focus { 117 | box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08); 118 | } 119 | 120 | #searchWarning { 121 | border: 1px solid tomato; 122 | color: tomato; 123 | padding: 4px; 124 | font-size: 75%; 125 | text-align: center; 126 | position: absolute; 127 | margin: 0px auto; 128 | border-radius: 2px; 129 | left: 30%; 130 | bottom: 40%; 131 | } 132 | 133 | #checkboxWarning { 134 | border: 1px solid tomato; 135 | color: tomato; 136 | padding: 4px; 137 | font-size: 75%; 138 | text-align: center; 139 | position: absolute; 140 | margin: 0px auto; 141 | border-radius: 2px; 142 | left: 18%; 143 | bottom: 6%; 144 | } 145 | 146 | .gear { 147 | margin-right: 10px; 148 | margin-top: 10px; 149 | float: right; 150 | height: 10px; 151 | } 152 | .off 153 | { 154 | display:none; 155 | } 156 | .suggestion:hover 157 | { 158 | background-color: #BEBEBE; 159 | } 160 | 161 | .suggestion 162 | { 163 | border: 0px; 164 | padding: 10px; 165 | text-align: left; 166 | margin-left: 20px; 167 | padding-left: 13px; 168 | width:84%; 169 | } -------------------------------------------------------------------------------- /popup/popup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Fearch 6 | 7 | 8 | 9 |
10 | 20 |
21 |
22 | 23 | 24 | 32 | 33 | 34 | 37 | 38 | 39 | 42 | 43 | 44 | 47 | 48 | 49 | 52 | 53 | 54 | 59 | 60 | 61 | 68 | 69 | 70 | 78 | 79 | 80 | 85 | 86 |
25 | 31 |
35 |
36 |
40 |
41 |
45 |
46 |
50 |
51 |
55 | 58 |
62 |
63 |
64 | Manga 65 |
66 |
67 |
71 | 72 | 73 | 74 | 75 | 76 | 77 |
81 | 84 |
87 |
88 |
89 | 91 |
92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /popup/js/popup.js: -------------------------------------------------------------------------------- 1 | //Autofill Logic 2 | var text=document.getElementById("query"); 3 | var suggestions=document.getElementsByClassName("suggestion"); 4 | function handleData(data) { 5 | if(data[0]!="") 6 | { 7 | for(var i=0;i<(suggestions.length);i++) 8 | { 9 | if(data[1].length>0) 10 | { 11 | suggestions[i].classList.remove("off"); 12 | suggestions[i].innerHTML=data[1][i][0]; 13 | } 14 | } 15 | } 16 | }; 17 | text.addEventListener("keyup",function(req,res){ 18 | if(text.value=="") 19 | { 20 | for(var i=0;i<(suggestions.length);i++) 21 | { 22 | suggestions[i].innerHTML=""; 23 | suggestions[i].classList.add("off"); 24 | } 25 | } 26 | for(var i=0;i<(suggestions.length);i++) 27 | { 28 | suggestions[i].addEventListener("click",function(req,res){ 29 | text.value=this.textContent; 30 | for(var i=0;i<(suggestions.length);i++) 31 | { 32 | suggestions[i].classList.add("off"); 33 | } 34 | }); 35 | } 36 | var script = document.createElement('script'); 37 | script.setAttribute('src','https://www.google.com/complete/search?client=psy-ab&hl=en-IN&gs_rn=64&gs_ri=psy-ab&tok=_vqJWTsUOepGe_q9mSti0A&cp=0&gs_id=9&q='+text.value+'&xhr=t&callback=handleData'); 38 | document.body.appendChild(script); 39 | }); 40 | 41 | //To make Suggestions Disapper when user clicks outside query field 42 | document.body.addEventListener("click", function(){ 43 | for(var i=0;i<(suggestions.length);i++) 44 | { 45 | suggestions[i].classList.add("off"); 46 | } 47 | }); 48 | text.addEventListener("click",function(event){ 49 | event.stopPropagation(); 50 | }); 51 | 52 | // Styling content 53 | // Place suggestion in query box 54 | function suggestionAsValue() { 55 | var sLabel; 56 | sLabel = document.getElementById("suggest-label"); 57 | sLabel.addEventListener("click", function () { 58 | document.getElementById("query").value = sLabel.innerHTML; 59 | }); 60 | } 61 | 62 | // Method to keyboard shortcut 63 | function keyboardShortCutListener(e) { 64 | e.preventDefault(); 65 | if (e.ctrlKey && e.altKey && e.keyCode === 77) { 66 | if (document.getElementById("music").checked === true) { 67 | document.getElementById("music").checked = false; 68 | } else { 69 | document.getElementById("music").checked = true; 70 | } 71 | } else if (e.ctrlKey && e.altKey && e.keyCode === 86) { 72 | if (document.getElementById("video").checked === true) { 73 | document.getElementById("video").checked = false; 74 | } else { 75 | document.getElementById("video").checked = true; 76 | } 77 | } else if (e.ctrlKey && e.altKey && e.keyCode === 66) { 78 | if (document.getElementById("books").checked === true) { 79 | document.getElementById("books").checked = false; 80 | } else { 81 | document.getElementById("books").checked = true; 82 | } 83 | } else if (e.ctrlKey && e.altKey && e.keyCode === 65) { 84 | if ((document.getElementById("music").checked === true) && (document.getElementById("video").checked === true) && (document.getElementById("books").checked === true)) { 85 | document.getElementById("music").checked = false; 86 | document.getElementById("video").checked = false; 87 | document.getElementById("books").checked = false; 88 | } else { 89 | document.getElementById("music").checked = true; 90 | document.getElementById("video").checked = true; 91 | document.getElementById("books").checked = true; 92 | } 93 | } 94 | } 95 | 96 | function register(event) { 97 | var set1; 98 | var set2; 99 | var set3; 100 | var check1; 101 | var check2; 102 | var check3; 103 | var query; 104 | var formats; 105 | var querySplit; 106 | var suggestedFormat; 107 | var dotCheck; 108 | var uuid; 109 | 110 | query = text.value; 111 | query = encodeURIComponent(query); 112 | // Note :- avoid hardcoded uuid. 113 | uuid = "8fd531a3ba79466f8a80e5c71dea9723"; 114 | check1 = document.getElementById("music").checked; 115 | check2 = document.getElementById("video").checked; 116 | check3 = document.getElementById("books").checked; 117 | querySplit = query.split("."); 118 | dotCheck = querySplit.length > 1; 119 | 120 | // Warning messages 121 | if (query === "") { 122 | document.getElementById("searchWarning").style.display = "block"; 123 | document.getElementById("checkboxWarning").style.display = "none"; 124 | event.preventDefault(); 125 | } else if (check1 || check2 || check3 || dotCheck) { 126 | // query logic 127 | if (document.getElementById("music").checked === true) { 128 | set1 = "mp3|wav|m4a|ogg|wma|flac"; 129 | } else { 130 | set1 = ""; 131 | } 132 | if (document.getElementById("video").checked === true) { 133 | set2 = "|mkv|mp4|avi|webm|flv|mov|mpg|mpeg"; 134 | } else { 135 | set2 = ""; 136 | } 137 | if (document.getElementById("books").checked === true) { 138 | set3 = "|epub|pdf"; 139 | } else { 140 | set3 = ""; 141 | } 142 | formats = set1 + set2 + set3; 143 | if (dotCheck) { 144 | suggestedFormat = querySplit[1]; 145 | query = querySplit[0]; 146 | formats = formats + "|" + suggestedFormat; 147 | } 148 | /* eslint-disable */ 149 | window.open("http://www.google.com/search?q="+query+" -"+uuid+" -inurl:(htm|html|php|pls|txt) intitle:index.of \"last modified\" ("+formats+")"); 150 | /* eslint-enable */ 151 | } else { 152 | document.getElementById("searchWarning").style.display = "none"; 153 | document.getElementById("checkboxWarning").style.display = "block"; 154 | event.preventDefault(); 155 | } 156 | } 157 | 158 | function suggestion() { 159 | var suggestions; 160 | var random; 161 | suggestions = ["Anime", 162 | "Manga", 163 | "TV-Series", 164 | "Pokemon", 165 | "Big Bang", 166 | "Blues", 167 | "Rock", 168 | "Metal", 169 | "AC/DC", 170 | "Pop", 171 | "Soft Rock", 172 | "MJ", 173 | "Pink Floyd", 174 | "The Wall", 175 | "Shakira", 176 | "JeLo", 177 | "Hard Rock", 178 | "Old Blues", 179 | "Fiction", 180 | "Thriller", 181 | "Learning", 182 | "Eminem", 183 | "Green Day", 184 | "Metaliica", 185 | "Taylor Swift", 186 | "Drake"]; 187 | 188 | random = Math.floor(Math.random() * suggestions.length); 189 | document.getElementById("suggest-label").innerHTML = suggestions[random]; 190 | } 191 | 192 | var theme; 193 | 194 | function themeChange() { 195 | 196 | theme = localStorage.getItem("theme"); 197 | if(theme == 'light' ) 198 | localStorage.setItem( "theme" , "dark" ); 199 | else 200 | localStorage.setItem("theme", "light"); 201 | 202 | var bg = document.getElementById("content"); 203 | bg.classList.toggle("dark"); 204 | 205 | var labels = document.getElementsByTagName('label'); 206 | labels[0].classList.toggle("dark-label"); 207 | labels[1].classList.toggle("dark-label"); 208 | labels[2].classList.toggle("dark-label"); 209 | 210 | } 211 | 212 | 213 | document.addEventListener("DOMContentLoaded", function () { 214 | document.querySelector("button").addEventListener("click", register); 215 | document.addEventListener("keyup", keyboardShortCutListener, false); 216 | suggestion(); 217 | suggestionAsValue(); 218 | if (!localStorage.getItem('theme')) 219 | localStorage.setItem('theme', 'light'); 220 | 221 | if(localStorage.getItem("theme") == 'dark') 222 | { 223 | themeChange(); 224 | localStorage.setItem( "theme" , "dark" ); 225 | } 226 | }); 227 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 2, 3 | "background":{ 4 | "scripts": [] 5 | }, 6 | "icons": { 7 | "16": "icons/icon16.png", 8 | "48": "icons/icon48.png", 9 | "128": "icons/icon128.png" 10 | }, 11 | "name": "Fearch", 12 | "description": "Search FTP servers over the web for music, videos, eBooks and other content.", 13 | "version": "1.0", 14 | "web_accessible_resources": ["scripts/googleFearch.js"], 15 | "options_ui": { 16 | "page": "options/options.html" 17 | }, 18 | "commands": { 19 | "_execute_browser_action": { 20 | "suggested_key": { 21 | "default": "Ctrl+Shift+F" 22 | } 23 | } 24 | }, 25 | "permissions": ["*://www.google.com/*", 26 | "*://www.google.ad/*", 27 | "*://www.google.ae/*", 28 | "*://www.google.com.af/*", 29 | "*://www.google.com.ag/*", 30 | "*://www.google.com.ai/*", 31 | "*://www.google.am/*", 32 | "*://www.google.co.ao/*", 33 | "*://www.google.com.ar/*", 34 | "*://www.google.as/*", 35 | "*://www.google.at/*", 36 | "*://www.google.com.au/*", 37 | "*://www.google.az/*", 38 | "*://www.google.ba/*", 39 | "*://www.google.com.bd/*", 40 | "*://www.google.be/*", 41 | "*://www.google.bf/*", 42 | "*://www.google.bg/*", 43 | "*://www.google.com.bh/*", 44 | "*://www.google.bi/*", 45 | "*://www.google.bj/*", 46 | "*://www.google.com.bn/*", 47 | "*://www.google.com.bo/*", 48 | "*://www.google.com.br/*", 49 | "*://www.google.bs/*", 50 | "*://www.google.co.bw/*", 51 | "*://www.google.by/*", 52 | "*://www.google.com.bz/*", 53 | "*://www.google.ca/*", 54 | "*://www.google.cd/*", 55 | "*://www.google.cf/*", 56 | "*://www.google.cg/*", 57 | "*://www.google.ch/*", 58 | "*://www.google.ci/*", 59 | "*://www.google.co.ck/*", 60 | "*://www.google.cl/*", 61 | "*://www.google.cm/*", 62 | "*://www.google.cn/*", 63 | "*://www.google.com.co/*", 64 | "*://www.google.co.cr/*", 65 | "*://www.google.com.cu/*", 66 | "*://www.google.cv/*", 67 | "*://www.google.com.cy/*", 68 | "*://www.google.cz/*", 69 | "*://www.google.de/*", 70 | "*://www.google.dj/*", 71 | "*://www.google.dk/*", 72 | "*://www.google.dm/*", 73 | "*://www.google.com.do/*", 74 | "*://www.google.dz/*", 75 | "*://www.google.com.ec/*", 76 | "*://www.google.ee/*", 77 | "*://www.google.com.eg/*", 78 | "*://www.google.es/*", 79 | "*://www.google.com.et/*", 80 | "*://www.google.fi/*", 81 | "*://www.google.com.fj/*", 82 | "*://www.google.fm/*", 83 | "*://www.google.fr/*", 84 | "*://www.google.ga/*", 85 | "*://www.google.ge/*", 86 | "*://www.google.gg/*", 87 | "*://www.google.com.gh/*", 88 | "*://www.google.com.gi/*", 89 | "*://www.google.gl/*", 90 | "*://www.google.gm/*", 91 | "*://www.google.gp/*", 92 | "*://www.google.gr/*", 93 | "*://www.google.com.gt/*", 94 | "*://www.google.gy/*", 95 | "*://www.google.com.hk/*", 96 | "*://www.google.hn/*", 97 | "*://www.google.hr/*", 98 | "*://www.google.ht/*", 99 | "*://www.google.hu/*", 100 | "*://www.google.co.id/*", 101 | "*://www.google.ie/*", 102 | "*://www.google.co.il/*", 103 | "*://www.google.im/*", 104 | "*://www.google.co.in/*", 105 | "*://www.google.iq/*", 106 | "*://www.google.is/*", 107 | "*://www.google.it/*", 108 | "*://www.google.je/*", 109 | "*://www.google.com.jm/*", 110 | "*://www.google.jo/*", 111 | "*://www.google.co.jp/*", 112 | "*://www.google.co.ke/*", 113 | "*://www.google.com.kh/*", 114 | "*://www.google.ki/*", 115 | "*://www.google.kg/*", 116 | "*://www.google.co.kr/*", 117 | "*://www.google.com.kw/*", 118 | "*://www.google.kz/*", 119 | "*://www.google.la/*", 120 | "*://www.google.com.lb/*", 121 | "*://www.google.li/*", 122 | "*://www.google.lk/*", 123 | "*://www.google.co.ls/*", 124 | "*://www.google.lt/*", 125 | "*://www.google.lu/*", 126 | "*://www.google.lv/*", 127 | "*://www.google.com.ly/*", 128 | "*://www.google.co.ma/*", 129 | "*://www.google.md/*", 130 | "*://www.google.me/*", 131 | "*://www.google.mg/*", 132 | "*://www.google.mk/*", 133 | "*://www.google.ml/*", 134 | "*://www.google.mn/*", 135 | "*://www.google.ms/*", 136 | "*://www.google.com.mt/*", 137 | "*://www.google.mu/*", 138 | "*://www.google.mv/*", 139 | "*://www.google.mw/*", 140 | "*://www.google.com.mx/*", 141 | "*://www.google.com.my/*", 142 | "*://www.google.co.mz/*", 143 | "*://www.google.com.na/*", 144 | "*://www.google.com.nf/*", 145 | "*://www.google.com.ng/*", 146 | "*://www.google.com.ni/*", 147 | "*://www.google.ne/*", 148 | "*://www.google.nl/*", 149 | "*://www.google.no/*", 150 | "*://www.google.com.np/*", 151 | "*://www.google.nr/*", 152 | "*://www.google.nu/*", 153 | "*://www.google.co.nz/*", 154 | "*://www.google.com.om/*", 155 | "*://www.google.com.pa/*", 156 | "*://www.google.com.pe/*", 157 | "*://www.google.com.ph/*", 158 | "*://www.google.com.pk/*", 159 | "*://www.google.pl/*", 160 | "*://www.google.pn/*", 161 | "*://www.google.com.pr/*", 162 | "*://www.google.ps/*", 163 | "*://www.google.pt/*", 164 | "*://www.google.com.py/*", 165 | "*://www.google.com.qa/*", 166 | "*://www.google.ro/*", 167 | "*://www.google.ru/*", 168 | "*://www.google.rw/*", 169 | "*://www.google.com.sa/*", 170 | "*://www.google.com.sb/*", 171 | "*://www.google.sc/*", 172 | "*://www.google.se/*", 173 | "*://www.google.com.sg/*", 174 | "*://www.google.sh/*", 175 | "*://www.google.si/*", 176 | "*://www.google.sk/*", 177 | "*://www.google.com.sl/*", 178 | "*://www.google.sn/*", 179 | "*://www.google.so/*", 180 | "*://www.google.sm/*", 181 | "*://www.google.st/*", 182 | "*://www.google.com.sv/*", 183 | "*://www.google.td/*", 184 | "*://www.google.tg/*", 185 | "*://www.google.co.th/*", 186 | "*://www.google.com.tj/*", 187 | "*://www.google.tk/*", 188 | "*://www.google.tl/*", 189 | "*://www.google.tm/*", 190 | "*://www.google.tn/*", 191 | "*://www.google.to/*", 192 | "*://www.google.com.tr/*", 193 | "*://www.google.tt/*", 194 | "*://www.google.com.tw/*", 195 | "*://www.google.co.tz/*", 196 | "*://www.google.com.ua/*", 197 | "*://www.google.co.ug/*", 198 | "*://www.google.co.uk/*", 199 | "*://www.google.com.uy/*", 200 | "*://www.google.co.uz/*", 201 | "*://www.google.com.vc/*", 202 | "*://www.google.co.ve/*", 203 | "*://www.google.vg/*", 204 | "*://www.google.co.vi/*", 205 | "*://www.google.com.vn/*", 206 | "*://www.google.vu/*", 207 | "*://www.google.ws/*", 208 | "*://www.google.rs/*", 209 | "*://www.google.co.za/*", 210 | "*://www.google.co.zm/*", 211 | "*://www.google.co.zw/*", 212 | "*://www.google.cat/*"], 213 | "content_scripts": [ 214 | { 215 | "matches": ["*://www.google.com/*8fd531a3ba79466f8a80e5c71dea9723*", 216 | "*://www.google.ad/*8fd531a3ba79466f8a80e5c71dea9723*", 217 | "*://www.google.ae/*8fd531a3ba79466f8a80e5c71dea9723*", 218 | "*://www.google.com.af/*8fd531a3ba79466f8a80e5c71dea9723*", 219 | "*://www.google.com.ag/*8fd531a3ba79466f8a80e5c71dea9723*", 220 | "*://www.google.com.ai/*8fd531a3ba79466f8a80e5c71dea9723*", 221 | "*://www.google.am/*8fd531a3ba79466f8a80e5c71dea9723*", 222 | "*://www.google.co.ao/*8fd531a3ba79466f8a80e5c71dea9723*", 223 | "*://www.google.com.ar/*8fd531a3ba79466f8a80e5c71dea9723*", 224 | "*://www.google.as/*8fd531a3ba79466f8a80e5c71dea9723*", 225 | "*://www.google.at/*8fd531a3ba79466f8a80e5c71dea9723*", 226 | "*://www.google.com.au/*8fd531a3ba79466f8a80e5c71dea9723*", 227 | "*://www.google.az/*8fd531a3ba79466f8a80e5c71dea9723*", 228 | "*://www.google.ba/*8fd531a3ba79466f8a80e5c71dea9723*", 229 | "*://www.google.com.bd/*8fd531a3ba79466f8a80e5c71dea9723*", 230 | "*://www.google.be/*8fd531a3ba79466f8a80e5c71dea9723*", 231 | "*://www.google.bf/*8fd531a3ba79466f8a80e5c71dea9723*", 232 | "*://www.google.bg/*8fd531a3ba79466f8a80e5c71dea9723*", 233 | "*://www.google.com.bh/*8fd531a3ba79466f8a80e5c71dea9723*", 234 | "*://www.google.bi/*8fd531a3ba79466f8a80e5c71dea9723*", 235 | "*://www.google.bj/*8fd531a3ba79466f8a80e5c71dea9723*", 236 | "*://www.google.com.bn/*8fd531a3ba79466f8a80e5c71dea9723*", 237 | "*://www.google.com.bo/*8fd531a3ba79466f8a80e5c71dea9723*", 238 | "*://www.google.com.br/*8fd531a3ba79466f8a80e5c71dea9723*", 239 | "*://www.google.bs/*8fd531a3ba79466f8a80e5c71dea9723*", 240 | "*://www.google.co.bw/*8fd531a3ba79466f8a80e5c71dea9723*", 241 | "*://www.google.by/*8fd531a3ba79466f8a80e5c71dea9723*", 242 | "*://www.google.com.bz/*8fd531a3ba79466f8a80e5c71dea9723*", 243 | "*://www.google.ca/*8fd531a3ba79466f8a80e5c71dea9723*", 244 | "*://www.google.cd/*8fd531a3ba79466f8a80e5c71dea9723*", 245 | "*://www.google.cf/*8fd531a3ba79466f8a80e5c71dea9723*", 246 | "*://www.google.cg/*8fd531a3ba79466f8a80e5c71dea9723*", 247 | "*://www.google.ch/*8fd531a3ba79466f8a80e5c71dea9723*", 248 | "*://www.google.ci/*8fd531a3ba79466f8a80e5c71dea9723*", 249 | "*://www.google.co.ck/*8fd531a3ba79466f8a80e5c71dea9723*", 250 | "*://www.google.cl/*8fd531a3ba79466f8a80e5c71dea9723*", 251 | "*://www.google.cm/*8fd531a3ba79466f8a80e5c71dea9723*", 252 | "*://www.google.cn/*8fd531a3ba79466f8a80e5c71dea9723*", 253 | "*://www.google.com.co/*8fd531a3ba79466f8a80e5c71dea9723*", 254 | "*://www.google.co.cr/*8fd531a3ba79466f8a80e5c71dea9723*", 255 | "*://www.google.com.cu/*8fd531a3ba79466f8a80e5c71dea9723*", 256 | "*://www.google.cv/*8fd531a3ba79466f8a80e5c71dea9723*", 257 | "*://www.google.com.cy/*8fd531a3ba79466f8a80e5c71dea9723*", 258 | "*://www.google.cz/*8fd531a3ba79466f8a80e5c71dea9723*", 259 | "*://www.google.de/*8fd531a3ba79466f8a80e5c71dea9723*", 260 | "*://www.google.dj/*8fd531a3ba79466f8a80e5c71dea9723*", 261 | "*://www.google.dk/*8fd531a3ba79466f8a80e5c71dea9723*", 262 | "*://www.google.dm/*8fd531a3ba79466f8a80e5c71dea9723*", 263 | "*://www.google.com.do/*8fd531a3ba79466f8a80e5c71dea9723*", 264 | "*://www.google.dz/*8fd531a3ba79466f8a80e5c71dea9723*", 265 | "*://www.google.com.ec/*8fd531a3ba79466f8a80e5c71dea9723*", 266 | "*://www.google.ee/*8fd531a3ba79466f8a80e5c71dea9723*", 267 | "*://www.google.com.eg/*8fd531a3ba79466f8a80e5c71dea9723*", 268 | "*://www.google.es/*8fd531a3ba79466f8a80e5c71dea9723*", 269 | "*://www.google.com.et/*8fd531a3ba79466f8a80e5c71dea9723*", 270 | "*://www.google.fi/*8fd531a3ba79466f8a80e5c71dea9723*", 271 | "*://www.google.com.fj/*8fd531a3ba79466f8a80e5c71dea9723*", 272 | "*://www.google.fm/*8fd531a3ba79466f8a80e5c71dea9723*", 273 | "*://www.google.fr/*8fd531a3ba79466f8a80e5c71dea9723*", 274 | "*://www.google.ga/*8fd531a3ba79466f8a80e5c71dea9723*", 275 | "*://www.google.ge/*8fd531a3ba79466f8a80e5c71dea9723*", 276 | "*://www.google.gg/*8fd531a3ba79466f8a80e5c71dea9723*", 277 | "*://www.google.com.gh/*8fd531a3ba79466f8a80e5c71dea9723*", 278 | "*://www.google.com.gi/*8fd531a3ba79466f8a80e5c71dea9723*", 279 | "*://www.google.gl/*8fd531a3ba79466f8a80e5c71dea9723*", 280 | "*://www.google.gm/*8fd531a3ba79466f8a80e5c71dea9723*", 281 | "*://www.google.gp/*8fd531a3ba79466f8a80e5c71dea9723*", 282 | "*://www.google.gr/*8fd531a3ba79466f8a80e5c71dea9723*", 283 | "*://www.google.com.gt/*8fd531a3ba79466f8a80e5c71dea9723*", 284 | "*://www.google.gy/*8fd531a3ba79466f8a80e5c71dea9723*", 285 | "*://www.google.com.hk/*8fd531a3ba79466f8a80e5c71dea9723*", 286 | "*://www.google.hn/*8fd531a3ba79466f8a80e5c71dea9723*", 287 | "*://www.google.hr/*8fd531a3ba79466f8a80e5c71dea9723*", 288 | "*://www.google.ht/*8fd531a3ba79466f8a80e5c71dea9723*", 289 | "*://www.google.hu/*8fd531a3ba79466f8a80e5c71dea9723*", 290 | "*://www.google.co.id/*8fd531a3ba79466f8a80e5c71dea9723*", 291 | "*://www.google.ie/*8fd531a3ba79466f8a80e5c71dea9723*", 292 | "*://www.google.co.il/*8fd531a3ba79466f8a80e5c71dea9723*", 293 | "*://www.google.im/*8fd531a3ba79466f8a80e5c71dea9723*", 294 | "*://www.google.co.in/*8fd531a3ba79466f8a80e5c71dea9723*", 295 | "*://www.google.iq/*8fd531a3ba79466f8a80e5c71dea9723*", 296 | "*://www.google.is/*8fd531a3ba79466f8a80e5c71dea9723*", 297 | "*://www.google.it/*8fd531a3ba79466f8a80e5c71dea9723*", 298 | "*://www.google.je/*8fd531a3ba79466f8a80e5c71dea9723*", 299 | "*://www.google.com.jm/*8fd531a3ba79466f8a80e5c71dea9723*", 300 | "*://www.google.jo/*8fd531a3ba79466f8a80e5c71dea9723*", 301 | "*://www.google.co.jp/*8fd531a3ba79466f8a80e5c71dea9723*", 302 | "*://www.google.co.ke/*8fd531a3ba79466f8a80e5c71dea9723*", 303 | "*://www.google.com.kh/*8fd531a3ba79466f8a80e5c71dea9723*", 304 | "*://www.google.ki/*8fd531a3ba79466f8a80e5c71dea9723*", 305 | "*://www.google.kg/*8fd531a3ba79466f8a80e5c71dea9723*", 306 | "*://www.google.co.kr/*8fd531a3ba79466f8a80e5c71dea9723*", 307 | "*://www.google.com.kw/*8fd531a3ba79466f8a80e5c71dea9723*", 308 | "*://www.google.kz/*8fd531a3ba79466f8a80e5c71dea9723*", 309 | "*://www.google.la/*8fd531a3ba79466f8a80e5c71dea9723*", 310 | "*://www.google.com.lb/*8fd531a3ba79466f8a80e5c71dea9723*", 311 | "*://www.google.li/*8fd531a3ba79466f8a80e5c71dea9723*", 312 | "*://www.google.lk/*8fd531a3ba79466f8a80e5c71dea9723*", 313 | "*://www.google.co.ls/*8fd531a3ba79466f8a80e5c71dea9723*", 314 | "*://www.google.lt/*8fd531a3ba79466f8a80e5c71dea9723*", 315 | "*://www.google.lu/*8fd531a3ba79466f8a80e5c71dea9723*", 316 | "*://www.google.lv/*8fd531a3ba79466f8a80e5c71dea9723*", 317 | "*://www.google.com.ly/*8fd531a3ba79466f8a80e5c71dea9723*", 318 | "*://www.google.co.ma/*8fd531a3ba79466f8a80e5c71dea9723*", 319 | "*://www.google.md/*8fd531a3ba79466f8a80e5c71dea9723*", 320 | "*://www.google.me/*8fd531a3ba79466f8a80e5c71dea9723*", 321 | "*://www.google.mg/*8fd531a3ba79466f8a80e5c71dea9723*", 322 | "*://www.google.mk/*8fd531a3ba79466f8a80e5c71dea9723*", 323 | "*://www.google.ml/*8fd531a3ba79466f8a80e5c71dea9723*", 324 | "*://www.google.mn/*8fd531a3ba79466f8a80e5c71dea9723*", 325 | "*://www.google.ms/*8fd531a3ba79466f8a80e5c71dea9723*", 326 | "*://www.google.com.mt/*8fd531a3ba79466f8a80e5c71dea9723*", 327 | "*://www.google.mu/*8fd531a3ba79466f8a80e5c71dea9723*", 328 | "*://www.google.mv/*8fd531a3ba79466f8a80e5c71dea9723*", 329 | "*://www.google.mw/*8fd531a3ba79466f8a80e5c71dea9723*", 330 | "*://www.google.com.mx/*8fd531a3ba79466f8a80e5c71dea9723*", 331 | "*://www.google.com.my/*8fd531a3ba79466f8a80e5c71dea9723*", 332 | "*://www.google.co.mz/*8fd531a3ba79466f8a80e5c71dea9723*", 333 | "*://www.google.com.na/*8fd531a3ba79466f8a80e5c71dea9723*", 334 | "*://www.google.com.nf/*8fd531a3ba79466f8a80e5c71dea9723*", 335 | "*://www.google.com.ng/*8fd531a3ba79466f8a80e5c71dea9723*", 336 | "*://www.google.com.ni/*8fd531a3ba79466f8a80e5c71dea9723*", 337 | "*://www.google.ne/*8fd531a3ba79466f8a80e5c71dea9723*", 338 | "*://www.google.nl/*8fd531a3ba79466f8a80e5c71dea9723*", 339 | "*://www.google.no/*8fd531a3ba79466f8a80e5c71dea9723*", 340 | "*://www.google.com.np/*8fd531a3ba79466f8a80e5c71dea9723*", 341 | "*://www.google.nr/*8fd531a3ba79466f8a80e5c71dea9723*", 342 | "*://www.google.nu/*8fd531a3ba79466f8a80e5c71dea9723*", 343 | "*://www.google.co.nz/*8fd531a3ba79466f8a80e5c71dea9723*", 344 | "*://www.google.com.om/*8fd531a3ba79466f8a80e5c71dea9723*", 345 | "*://www.google.com.pa/*8fd531a3ba79466f8a80e5c71dea9723*", 346 | "*://www.google.com.pe/*8fd531a3ba79466f8a80e5c71dea9723*", 347 | "*://www.google.com.ph/*8fd531a3ba79466f8a80e5c71dea9723*", 348 | "*://www.google.com.pk/*8fd531a3ba79466f8a80e5c71dea9723*", 349 | "*://www.google.pl/*8fd531a3ba79466f8a80e5c71dea9723*", 350 | "*://www.google.pn/*8fd531a3ba79466f8a80e5c71dea9723*", 351 | "*://www.google.com.pr/*8fd531a3ba79466f8a80e5c71dea9723*", 352 | "*://www.google.ps/*8fd531a3ba79466f8a80e5c71dea9723*", 353 | "*://www.google.pt/*8fd531a3ba79466f8a80e5c71dea9723*", 354 | "*://www.google.com.py/*8fd531a3ba79466f8a80e5c71dea9723*", 355 | "*://www.google.com.qa/*8fd531a3ba79466f8a80e5c71dea9723*", 356 | "*://www.google.ro/*8fd531a3ba79466f8a80e5c71dea9723*", 357 | "*://www.google.ru/*8fd531a3ba79466f8a80e5c71dea9723*", 358 | "*://www.google.rw/*8fd531a3ba79466f8a80e5c71dea9723*", 359 | "*://www.google.com.sa/*8fd531a3ba79466f8a80e5c71dea9723*", 360 | "*://www.google.com.sb/*8fd531a3ba79466f8a80e5c71dea9723*", 361 | "*://www.google.sc/*8fd531a3ba79466f8a80e5c71dea9723*", 362 | "*://www.google.se/*8fd531a3ba79466f8a80e5c71dea9723*", 363 | "*://www.google.com.sg/*8fd531a3ba79466f8a80e5c71dea9723*", 364 | "*://www.google.sh/*8fd531a3ba79466f8a80e5c71dea9723*", 365 | "*://www.google.si/*8fd531a3ba79466f8a80e5c71dea9723*", 366 | "*://www.google.sk/*8fd531a3ba79466f8a80e5c71dea9723*", 367 | "*://www.google.com.sl/*8fd531a3ba79466f8a80e5c71dea9723*", 368 | "*://www.google.sn/*8fd531a3ba79466f8a80e5c71dea9723*", 369 | "*://www.google.so/*8fd531a3ba79466f8a80e5c71dea9723*", 370 | "*://www.google.sm/*8fd531a3ba79466f8a80e5c71dea9723*", 371 | "*://www.google.st/*8fd531a3ba79466f8a80e5c71dea9723*", 372 | "*://www.google.com.sv/*8fd531a3ba79466f8a80e5c71dea9723*", 373 | "*://www.google.td/*8fd531a3ba79466f8a80e5c71dea9723*", 374 | "*://www.google.tg/*8fd531a3ba79466f8a80e5c71dea9723*", 375 | "*://www.google.co.th/*8fd531a3ba79466f8a80e5c71dea9723*", 376 | "*://www.google.com.tj/*8fd531a3ba79466f8a80e5c71dea9723*", 377 | "*://www.google.tk/*8fd531a3ba79466f8a80e5c71dea9723*", 378 | "*://www.google.tl/*8fd531a3ba79466f8a80e5c71dea9723*", 379 | "*://www.google.tm/*8fd531a3ba79466f8a80e5c71dea9723*", 380 | "*://www.google.tn/*8fd531a3ba79466f8a80e5c71dea9723*", 381 | "*://www.google.to/*8fd531a3ba79466f8a80e5c71dea9723*", 382 | "*://www.google.com.tr/*8fd531a3ba79466f8a80e5c71dea9723*", 383 | "*://www.google.tt/*8fd531a3ba79466f8a80e5c71dea9723*", 384 | "*://www.google.com.tw/*8fd531a3ba79466f8a80e5c71dea9723*", 385 | "*://www.google.co.tz/*8fd531a3ba79466f8a80e5c71dea9723*", 386 | "*://www.google.com.ua/*8fd531a3ba79466f8a80e5c71dea9723*", 387 | "*://www.google.co.ug/*8fd531a3ba79466f8a80e5c71dea9723*", 388 | "*://www.google.co.uk/*8fd531a3ba79466f8a80e5c71dea9723*", 389 | "*://www.google.com.uy/*8fd531a3ba79466f8a80e5c71dea9723*", 390 | "*://www.google.co.uz/*8fd531a3ba79466f8a80e5c71dea9723*", 391 | "*://www.google.com.vc/*8fd531a3ba79466f8a80e5c71dea9723*", 392 | "*://www.google.co.ve/*8fd531a3ba79466f8a80e5c71dea9723*", 393 | "*://www.google.vg/*8fd531a3ba79466f8a80e5c71dea9723*", 394 | "*://www.google.co.vi/*8fd531a3ba79466f8a80e5c71dea9723*", 395 | "*://www.google.com.vn/*8fd531a3ba79466f8a80e5c71dea9723*", 396 | "*://www.google.vu/*8fd531a3ba79466f8a80e5c71dea9723*", 397 | "*://www.google.ws/*8fd531a3ba79466f8a80e5c71dea9723*", 398 | "*://www.google.rs/*8fd531a3ba79466f8a80e5c71dea9723*", 399 | "*://www.google.co.za/*8fd531a3ba79466f8a80e5c71dea9723*", 400 | "*://www.google.co.zm/*8fd531a3ba79466f8a80e5c71dea9723*", 401 | "*://www.google.co.zw/*8fd531a3ba79466f8a80e5c71dea9723*", 402 | "*://www.google.cat/*8fd531a3ba79466f8a80e5c71dea9723*"], 403 | "css": ["css/googleFearch.css"], 404 | "js": ["scripts/googleCS.js"], 405 | "run_at": "document_end" 406 | } 407 | ], 408 | "browser_action": { 409 | "default_icon": "icons/icon128.png", 410 | "default_popup": "popup/popup.html" 411 | }, 412 | "content_security_policy":"script-src 'self' https://www.google.com/; object-src 'self'" 413 | } 414 | --------------------------------------------------------------------------------