OceanHero: Save Our Oceans by Surfing the Web

Our environment friendly new tab sets your search bar to OceanHero. With each search you protect the ocean and reduce plastic waste.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "name": "OceanHero: Save Our Oceans by Surfing the Web",
  "short_name": "OceanHero",
  "description": "Our environment friendly new tab sets your search bar to OceanHero. With each search you protect the ocean and reduce plastic waste.",
  "version": "6.0.1",
  "default_locale": "en",
  "icons": {
    "16": "img/icon16.png",
    "48": "img/icon48.png",
    "128": "img/icon128.png"
  },
  "background": {
    "service_worker": "background.js"
  },
  "chrome_settings_overrides": {
    "search_provider": {
      "encoding": "UTF-8",
      "favicon_url": "https://www.oceanhero.today/favicon.ico",
      "is_default": true,
      "keyword": "oceanhero",
      "name": "OceanHero",
      "search_url": "https://oceanhero.today/web?q={searchTerms}&utm_medium=Extension:omnibox&utm_source=Chrome",
      "suggest_url": "https://api.oceanhero.today/suggestions?q={searchTerms}&mkt=__MSG_@@ui_locale__&v=6.0.1&utm_medium=Extension:omnibox"
    }
  },
  "content_scripts": [
    {
      "js": [
        "funnel.js"
      ],
      "matches": [
        "https://oceanhero.today/*"
      ],
      "run_at": "document_start"
    },
    {
      "js": [
        "annotations.js"
      ],
      "css": [
        "annotations.css"
      ],
      "matches": [
        "*://www.google.com/search*",
        "*://www.google.ad/search*",
        "*://www.google.ae/search*",
        "*://www.google.com.af/search*",
        "*://www.google.com.ag/search*",
        "*://www.google.com.ai/search*",
        "*://www.google.am/search*",
        "*://www.google.co.ao/search*",
        "*://www.google.com.ar/search*",
        "*://www.google.as/search*",
        "*://www.google.at/search*",
        "*://www.google.com.au/search*",
        "*://www.google.az/search*",
        "*://www.google.ba/search*",
        "*://www.google.com.bd/search*",
        "*://www.google.be/search*",
        "*://www.google.bf/search*",
        "*://www.google.bg/search*",
        "*://www.google.com.bh/search*",
        "*://www.google.bi/search*",
        "*://www.google.bj/search*",
        "*://www.google.com.bn/search*",
        "*://www.google.com.bo/search*",
        "*://www.google.com.br/search*",
        "*://www.google.bs/search*",
        "*://www.google.co.bw/search*",
        "*://www.google.by/search*",
        "*://www.google.com.bz/search*",
        "*://www.google.ca/search*",
        "*://www.google.cd/search*",
        "*://www.google.cf/search*",
        "*://www.google.cg/search*",
        "*://www.google.ch/search*",
        "*://www.google.ci/search*",
        "*://www.google.co.ck/search*",
        "*://www.google.cl/search*",
        "*://www.google.cm/search*",
        "*://www.google.cn/search*",
        "*://www.google.com.co/search*",
        "*://www.google.co.cr/search*",
        "*://www.google.com.cu/search*",
        "*://www.google.cv/search*",
        "*://www.google.com.cy/search*",
        "*://www.google.cz/search*",
        "*://www.google.de/search*",
        "*://www.google.dj/search*",
        "*://www.google.dk/search*",
        "*://www.google.dm/search*",
        "*://www.google.com.do/search*",
        "*://www.google.dz/search*",
        "*://www.google.com.ec/search*",
        "*://www.google.ee/search*",
        "*://www.google.com.eg/search*",
        "*://www.google.es/search*",
        "*://www.google.com.et/search*",
        "*://www.google.fi/search*",
        "*://www.google.com.fj/search*",
        "*://www.google.fm/search*",
        "*://www.google.fr/search*",
        "*://www.google.ga/search*",
        "*://www.google.ge/search*",
        "*://www.google.gg/search*",
        "*://www.google.com.gh/search*",
        "*://www.google.com.gi/search*",
        "*://www.google.gl/search*",
        "*://www.google.gm/search*",
        "*://www.google.gp/search*",
        "*://www.google.gr/search*",
        "*://www.google.com.gt/search*",
        "*://www.google.gy/search*",
        "*://www.google.com.hk/search*",
        "*://www.google.hn/search*",
        "*://www.google.hr/search*",
        "*://www.google.ht/search*",
        "*://www.google.hu/search*",
        "*://www.google.co.id/search*",
        "*://www.google.ie/search*",
        "*://www.google.co.il/search*",
        "*://www.google.im/search*",
        "*://www.google.co.in/search*",
        "*://www.google.iq/search*",
        "*://www.google.is/search*",
        "*://www.google.it/search*",
        "*://www.google.je/search*",
        "*://www.google.com.jm/search*",
        "*://www.google.jo/search*",
        "*://www.google.co.jp/search*",
        "*://www.google.co.ke/search*",
        "*://www.google.com.kh/search*",
        "*://www.google.ki/search*",
        "*://www.google.kg/search*",
        "*://www.google.co.kr/search*",
        "*://www.google.com.kw/search*",
        "*://www.google.kz/search*",
        "*://www.google.la/search*",
        "*://www.google.com.lb/search*",
        "*://www.google.li/search*",
        "*://www.google.lk/search*",
        "*://www.google.co.ls/search*",
        "*://www.google.lt/search*",
        "*://www.google.lu/search*",
        "*://www.google.lv/search*",
        "*://www.google.com.ly/search*",
        "*://www.google.co.ma/search*",
        "*://www.google.md/search*",
        "*://www.google.me/search*",
        "*://www.google.mg/search*",
        "*://www.google.mk/search*",
        "*://www.google.ml/search*",
        "*://www.google.mn/search*",
        "*://www.google.ms/search*",
        "*://www.google.com.mt/search*",
        "*://www.google.mu/search*",
        "*://www.google.mv/search*",
        "*://www.google.mw/search*",
        "*://www.google.com.mx/search*",
        "*://www.google.com.my/search*",
        "*://www.google.co.mz/search*",
        "*://www.google.com.na/search*",
        "*://www.google.com.nf/search*",
        "*://www.google.com.ng/search*",
        "*://www.google.com.ni/search*",
        "*://www.google.ne/search*",
        "*://www.google.nl/search*",
        "*://www.google.no/search*",
        "*://www.google.com.np/search*",
        "*://www.google.nr/search*",
        "*://www.google.nu/search*",
        "*://www.google.co.nz/search*",
        "*://www.google.com.om/search*",
        "*://www.google.com.pa/search*",
        "*://www.google.com.pe/search*",
        "*://www.google.com.ph/search*",
        "*://www.google.com.pk/search*",
        "*://www.google.pl/search*",
        "*://www.google.pn/search*",
        "*://www.google.com.pr/search*",
        "*://www.google.ps/search*",
        "*://www.google.pt/search*",
        "*://www.google.com.py/search*",
        "*://www.google.com.qa/search*",
        "*://www.google.ro/search*",
        "*://www.google.ru/search*",
        "*://www.google.rw/search*",
        "*://www.google.com.sa/search*",
        "*://www.google.com.sb/search*",
        "*://www.google.sc/search*",
        "*://www.google.se/search*",
        "*://www.google.com.sg/search*",
        "*://www.google.sh/search*",
        "*://www.google.si/search*",
        "*://www.google.sk/search*",
        "*://www.google.com.sl/search*",
        "*://www.google.sn/search*",
        "*://www.google.so/search*",
        "*://www.google.sm/search*",
        "*://www.google.st/search*",
        "*://www.google.com.sv/search*",
        "*://www.google.td/search*",
        "*://www.google.tg/search*",
        "*://www.google.co.th/search*",
        "*://www.google.com.tj/search*",
        "*://www.google.tk/search*",
        "*://www.google.tl/search*",
        "*://www.google.tm/search*",
        "*://www.google.tn/search*",
        "*://www.google.to/search*",
        "*://www.google.com.tr/search*",
        "*://www.google.tt/search*",
        "*://www.google.com.tw/search*",
        "*://www.google.co.tz/search*",
        "*://www.google.com.ua/search*",
        "*://www.google.co.ug/search*",
        "*://www.google.co.uk/search*",
        "*://www.google.com.uy/search*",
        "*://www.google.co.uz/search*",
        "*://www.google.com.vc/search*",
        "*://www.google.co.ve/search*",
        "*://www.google.vg/search*",
        "*://www.google.co.vi/search*",
        "*://www.google.com.vn/search*",
        "*://www.google.vu/search*",
        "*://www.google.ws/search*",
        "*://www.google.rs/search*",
        "*://www.google.co.za/search*",
        "*://www.google.co.zm/search*",
        "*://www.google.co.zw/search*",
        "*://www.google.cat/search*"
      ],
      "run_at": "document_start"
    },
    {
      "js": [
        "changeEnginePrompt.js"
      ],
      "css": [
        "changeEnginePrompt.css"
      ],
      "matches": [
        "*://www.google.com/search*",
        "*://www.google.ad/search*",
        "*://www.google.ae/search*",
        "*://www.google.com.af/search*",
        "*://www.google.com.ag/search*",
        "*://www.google.com.ai/search*",
        "*://www.google.am/search*",
        "*://www.google.co.ao/search*",
        "*://www.google.com.ar/search*",
        "*://www.google.as/search*",
        "*://www.google.at/search*",
        "*://www.google.com.au/search*",
        "*://www.google.az/search*",
        "*://www.google.ba/search*",
        "*://www.google.com.bd/search*",
        "*://www.google.be/search*",
        "*://www.google.bf/search*",
        "*://www.google.bg/search*",
        "*://www.google.com.bh/search*",
        "*://www.google.bi/search*",
        "*://www.google.bj/search*",
        "*://www.google.com.bn/search*",
        "*://www.google.com.bo/search*",
        "*://www.google.com.br/search*",
        "*://www.google.bs/search*",
        "*://www.google.co.bw/search*",
        "*://www.google.by/search*",
        "*://www.google.com.bz/search*",
        "*://www.google.ca/search*",
        "*://www.google.cd/search*",
        "*://www.google.cf/search*",
        "*://www.google.cg/search*",
        "*://www.google.ch/search*",
        "*://www.google.ci/search*",
        "*://www.google.co.ck/search*",
        "*://www.google.cl/search*",
        "*://www.google.cm/search*",
        "*://www.google.cn/search*",
        "*://www.google.com.co/search*",
        "*://www.google.co.cr/search*",
        "*://www.google.com.cu/search*",
        "*://www.google.cv/search*",
        "*://www.google.com.cy/search*",
        "*://www.google.cz/search*",
        "*://www.google.de/search*",
        "*://www.google.dj/search*",
        "*://www.google.dk/search*",
        "*://www.google.dm/search*",
        "*://www.google.com.do/search*",
        "*://www.google.dz/search*",
        "*://www.google.com.ec/search*",
        "*://www.google.ee/search*",
        "*://www.google.com.eg/search*",
        "*://www.google.es/search*",
        "*://www.google.com.et/search*",
        "*://www.google.fi/search*",
        "*://www.google.com.fj/search*",
        "*://www.google.fm/search*",
        "*://www.google.fr/search*",
        "*://www.google.ga/search*",
        "*://www.google.ge/search*",
        "*://www.google.gg/search*",
        "*://www.google.com.gh/search*",
        "*://www.google.com.gi/search*",
        "*://www.google.gl/search*",
        "*://www.google.gm/search*",
        "*://www.google.gp/search*",
        "*://www.google.gr/search*",
        "*://www.google.com.gt/search*",
        "*://www.google.gy/search*",
        "*://www.google.com.hk/search*",
        "*://www.google.hn/search*",
        "*://www.google.hr/search*",
        "*://www.google.ht/search*",
        "*://www.google.hu/search*",
        "*://www.google.co.id/search*",
        "*://www.google.ie/search*",
        "*://www.google.co.il/search*",
        "*://www.google.im/search*",
        "*://www.google.co.in/search*",
        "*://www.google.iq/search*",
        "*://www.google.is/search*",
        "*://www.google.it/search*",
        "*://www.google.je/search*",
        "*://www.google.com.jm/search*",
        "*://www.google.jo/search*",
        "*://www.google.co.jp/search*",
        "*://www.google.co.ke/search*",
        "*://www.google.com.kh/search*",
        "*://www.google.ki/search*",
        "*://www.google.kg/search*",
        "*://www.google.co.kr/search*",
        "*://www.google.com.kw/search*",
        "*://www.google.kz/search*",
        "*://www.google.la/search*",
        "*://www.google.com.lb/search*",
        "*://www.google.li/search*",
        "*://www.google.lk/search*",
        "*://www.google.co.ls/search*",
        "*://www.google.lt/search*",
        "*://www.google.lu/search*",
        "*://www.google.lv/search*",
        "*://www.google.com.ly/search*",
        "*://www.google.co.ma/search*",
        "*://www.google.md/search*",
        "*://www.google.me/search*",
        "*://www.google.mg/search*",
        "*://www.google.mk/search*",
        "*://www.google.ml/search*",
        "*://www.google.mn/search*",
        "*://www.google.ms/search*",
        "*://www.google.com.mt/search*",
        "*://www.google.mu/search*",
        "*://www.google.mv/search*",
        "*://www.google.mw/search*",
        "*://www.google.com.mx/search*",
        "*://www.google.com.my/search*",
        "*://www.google.co.mz/search*",
        "*://www.google.com.na/search*",
        "*://www.google.com.nf/search*",
        "*://www.google.com.ng/search*",
        "*://www.google.com.ni/search*",
        "*://www.google.ne/search*",
        "*://www.google.nl/search*",
        "*://www.google.no/search*",
        "*://www.google.com.np/search*",
        "*://www.google.nr/search*",
        "*://www.google.nu/search*",
        "*://www.google.co.nz/search*",
        "*://www.google.com.om/search*",
        "*://www.google.com.pa/search*",
        "*://www.google.com.pe/search*",
        "*://www.google.com.ph/search*",
        "*://www.google.com.pk/search*",
        "*://www.google.pl/search*",
        "*://www.google.pn/search*",
        "*://www.google.com.pr/search*",
        "*://www.google.ps/search*",
        "*://www.google.pt/search*",
        "*://www.google.com.py/search*",
        "*://www.google.com.qa/search*",
        "*://www.google.ro/search*",
        "*://www.google.ru/search*",
        "*://www.google.rw/search*",
        "*://www.google.com.sa/search*",
        "*://www.google.com.sb/search*",
        "*://www.google.sc/search*",
        "*://www.google.se/search*",
        "*://www.google.com.sg/search*",
        "*://www.google.sh/search*",
        "*://www.google.si/search*",
        "*://www.google.sk/search*",
        "*://www.google.com.sl/search*",
        "*://www.google.sn/search*",
        "*://www.google.so/search*",
        "*://www.google.sm/search*",
        "*://www.google.st/search*",
        "*://www.google.com.sv/search*",
        "*://www.google.td/search*",
        "*://www.google.tg/search*",
        "*://www.google.co.th/search*",
        "*://www.google.com.tj/search*",
        "*://www.google.tk/search*",
        "*://www.google.tl/search*",
        "*://www.google.tm/search*",
        "*://www.google.tn/search*",
        "*://www.google.to/search*",
        "*://www.google.com.tr/search*",
        "*://www.google.tt/search*",
        "*://www.google.com.tw/search*",
        "*://www.google.co.tz/search*",
        "*://www.google.com.ua/search*",
        "*://www.google.co.ug/search*",
        "*://www.google.co.uk/search*",
        "*://www.google.com.uy/search*",
        "*://www.google.co.uz/search*",
        "*://www.google.com.vc/search*",
        "*://www.google.co.ve/search*",
        "*://www.google.vg/search*",
        "*://www.google.co.vi/search*",
        "*://www.google.com.vn/search*",
        "*://www.google.vu/search*",
        "*://www.google.ws/search*",
        "*://www.google.rs/search*",
        "*://www.google.co.za/search*",
        "*://www.google.co.zm/search*",
        "*://www.google.co.zw/search*",
        "*://www.google.cat/search*"
      ]
    }
  ],
  "chrome_url_overrides": {
    "newtab": "index.html"
  },
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "img/icon16.png",
      "48": "img/icon48.png",
      "128": "img/icon128.png"
    }
  },
  "homepage_url": "https://oceanhero.today",
  "manifest_version": 3,
  "permissions": [
    "cookies",
    "storage",
    "topSites",
    "unlimitedStorage",
    "alarms"
  ],
  "optional_permissions": [
    "tabs"
  ],
  "host_permissions": [
    "https://oceanhero.today/*",
    "https://accounts.google.com/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "/img/*",
        "/img/*",
        "/*.svg",
        "/*.png",
        "/*.jpg",
        "/*.jpeg"
      ],
      "matches": [
        "*://www.google.com/*",
        "*://www.google.ad/*",
        "*://www.google.ae/*",
        "*://www.google.com.af/*",
        "*://www.google.com.ag/*",
        "*://www.google.com.ai/*",
        "*://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.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.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.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.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/*"
      ]
    }
  ],
  "externally_connectable": {
    "matches": [
      "https://oceanhero.today/*"
    ]
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; child-src https://www.youtube.com https://s.ytimg.com; frame-src https://wss.pollfish.com https://www.youtube.com https://www.instagram.com/"
  },
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}