Commit Graph

12 Commits

Author SHA1 Message Date
Eduardo Antuña Díez 8279916ee4 Added webRequest.RequestFilter to filter main_frame .eth requests 2018-10-08 21:50:15 +02:00
Phyrex Tsai 386110ef0f fix tld bug (#5250) 2018-09-27 12:51:50 -02:30
bitpshr 803a79f836 Do not resolve .test domains using ENS 2018-08-24 12:40:37 -04:00
Eduardo Antuña Díez a2082bae5c Avoid overwriting a domain that can be resolved by DNS
According to the current implementation any domain ending in .eth or .test will try to resolve through ENS even if the DNS is able to resolve it.
changing `onBeforeRequest` to `onErrorOccurred` will only resolve those .eth or .test domains that the DNS is not able to resolve.
2018-08-09 12:20:51 +02:00
Eduardo Antuña Díez 543207b5af Fixed ENS to IPFS functionality in Firefox
`tabs.getSelected` is deprecated and it doesn't work in firefox replaced by `tabs.query({active: true}`
2018-08-09 12:14:09 +02:00
bitpshr d02c160db5 Updates for linting 2018-07-19 08:04:17 -04:00
bitpshr 94f99b6ed0 Updates 2018-07-19 08:04:17 -04:00
brunobar79 13b03ec090 fix lint errors 2018-07-03 14:29:36 -04:00
PhyrexTsai 11736e6318
Update to support pathnames on IPFS hash
As @Georgi87 mentioned about pathnames on the domain like `http://phyrextsai.eth/home` will pass to IPFS hash and append `/home` on redirection url.

You can try the example below: 
http://phyrextsai.eth/index.html
http://phyrextsai.eth/images/phyrex.jpg
2018-06-29 13:57:41 +08:00
Yung chieh Tsai 77d17f2d55 Update ipfs to infura 2018-06-01 11:27:05 +08:00
Yung chieh Tsai 384cb126dd Update lib 2018-05-29 19:29:12 +08:00
Yung chieh Tsai 829deacb57 Rename files 2018-05-29 12:44:37 +08:00