From c39b9e6513d6ece47241d2aced3b3cee553cff58 Mon Sep 17 00:00:00 2001 From: meiphoo7-Mae <95827976+meiphoo7-Mae@users.noreply.github.com> Date: Sun, 3 Sep 2023 02:23:38 +0200 Subject: add Wikipedia recipe (#401) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --------- Co-authored-by: AndreĢ Oliveira --- recipes/wikipedia/icon.svg | 1260 ++++++++++++++++++++++++++++++++++++++++ recipes/wikipedia/index.js | 1 + recipes/wikipedia/package.json | 11 + recipes/wikipedia/webview.js | 9 + 4 files changed, 1281 insertions(+) create mode 100644 recipes/wikipedia/icon.svg create mode 100644 recipes/wikipedia/index.js create mode 100644 recipes/wikipedia/package.json create mode 100644 recipes/wikipedia/webview.js (limited to 'recipes/wikipedia') diff --git a/recipes/wikipedia/icon.svg b/recipes/wikipedia/icon.svg new file mode 100644 index 0000000..6774de1 --- /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 0000000..dd41f72 --- /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 0000000..2c837ef --- /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 0000000..1119219 --- /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')); +}; -- cgit v1.2.3-54-g00ecf