diff --git a/recipes/wikipedia/icon.svg b/recipes/wikipedia/icon.svg new file mode 100644 index 000000000..6774de111 --- /dev/null +++ b/recipes/wikipedia/icon.svg @@ -0,0 +1,1260 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/recipes/wikipedia/index.js b/recipes/wikipedia/index.js new file mode 100644 index 000000000..dd41f7287 --- /dev/null +++ b/recipes/wikipedia/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/wikipedia/package.json b/recipes/wikipedia/package.json new file mode 100644 index 000000000..2c837ef99 --- /dev/null +++ b/recipes/wikipedia/package.json @@ -0,0 +1,11 @@ +{ + "id": "wikipedia", + "name": "Wikipedia", + "version": "1.0.0", + "license": "MIT", + "config": { + "serviceURL": "https://www.wikipedia.org/", + "hasHostedOption": true, + "hasCustomUrl": true + } +} diff --git a/recipes/wikipedia/webview.js b/recipes/wikipedia/webview.js new file mode 100644 index 000000000..11192196b --- /dev/null +++ b/recipes/wikipedia/webview.js @@ -0,0 +1,9 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +const _path = _interopRequireDefault(require('path')); + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +};