ghost-keychain/packages/extension-base
Thibaut Sardan ae9227ef6d
Add phishing site detection, redirection and information (#488)
* missing type declarations for @polkadot/phishing

* phishing landing page

* Update packages/extension-base/src/background/types.ts

* wording make it short

* fix build

* add test for xml pdf utils

* fix export

* Update packages/extension-base/src/utils/isXmlOrPdf.ts

* use Trans from i18n

* alpha ordering

* i18nKey

* lint

* move pdf and xml detection to enable to prevent unwanted redirection

* styled component refactoring

* import odering

* remove a css hack :)

Co-authored-by: Github Actions <action@github.com>
2020-10-13 14:14:55 +02:00
..
src Add phishing site detection, redirection and information (#488) 2020-10-13 14:14:55 +02:00
LICENSE Pull out extension-base (#271) 2020-03-21 11:07:11 +01:00
package.json [CI Skip] release/beta 0.35.0-beta.12 2020-10-10 10:06:21 +00:00
README.md Pull out extension-base (#271) 2020-03-21 11:07:11 +01:00

@polkadot/extension-base

Functions, classes and other utilities used in @polkadot/extension. These include:

  • background script handlers,
  • message passing,
  • scripts injected inside pages.

They are primarily meant to be used in @polkadot/extension, and can be broken without any notice to cater for @polkadot/extension's needs. They are exported here if you wish to use part of them in the development of your own extension.