From 04909168cda52f4565b985e226d1def9cba98752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Mert?= Date: Sun, 31 May 2020 02:30:28 +0300 Subject: [PATCH] nayn search --- background.js | 6 ++++++ manifest.json | 23 +++++++++++++++++++++++ nayn_128.png | Bin 0 -> 5679 bytes 3 files changed, 29 insertions(+) create mode 100644 background.js create mode 100644 manifest.json create mode 100644 nayn_128.png diff --git a/background.js b/background.js new file mode 100644 index 0000000..fd22a97 --- /dev/null +++ b/background.js @@ -0,0 +1,6 @@ +chrome.omnibox.onInputEntered.addListener( + function(text) { + var q = text + " -site:trthaber.com -site:memurlar.net -site:yeniasir.com.tr -site:t24.com.tr -site:haber7.com -site:sondakika.com -site:yenisafak.com -site:posta.com.tr -site:milligazete.com.tr -site:birgun.net -site:yeniakit.com.tr -site:internethaber.com -site:ensonhaber.com -site:mynet.com -site:star.com.tr -site:takvim.com.tr -site:gazeteduvar.com.tr -site:haberturk.com -site:sozcu.com.tr -site:haberler.com -site:odatv.com -site:hurriyet.com.tr -site:milliyet.com.tr -site:sabah.com.tr -site:cumhuriyet.com.tr -site:cnnturk.com"; + var newURL = 'https://www.google.com/search?q=' + encodeURIComponent(q); + chrome.tabs.create({ url: newURL }); + }); diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..e7d9321 --- /dev/null +++ b/manifest.json @@ -0,0 +1,23 @@ +{ + "name": "NAYN.SEARCH", + "description": "nayn yazıp haber sitelerinin çöplüğü olmadan arama sonuçlarını görün", + "version": "1.0", + "background": { + "scripts": ["background.js"], + "persistent": false + }, + "omnibox": { "keyword" : "nayn" }, + "manifest_version": 2, + "browser_action": { + "default_icon": { + "16": "nayn_128.png", + "32": "nayn_128.png" + } + }, + "icons": { + "16": "nayn_128.png", + "32": "nayn_128.png", + "48": "nayn_128.png", + "128": "nayn_128.png" + } +} diff --git a/nayn_128.png b/nayn_128.png new file mode 100644 index 0000000000000000000000000000000000000000..ceb8f3823c0e02443dd29131523082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