aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-12-03 18:30:57 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-12-03 18:30:57 +0530
commitbe4c5abcae4ef3d49bec8dba632381989af05311 (patch)
tree0b639af042860536972a5681021dd90baa9e1340 /docs
parentchore: upgrade dependencies to latest (#782) (diff)
downloadferdium-recipes-be4c5abcae4ef3d49bec8dba632381989af05311.tar.gz
ferdium-recipes-be4c5abcae4ef3d49bec8dba632381989af05311.tar.zst
ferdium-recipes-be4c5abcae4ef3d49bec8dba632381989af05311.zip
fix: extending #782 - remove dummy 'webview.js' files.
Diffstat (limited to 'docs')
-rw-r--r--docs/integration.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/integration.md b/docs/integration.md
index c078ba1..9e9a547 100644
--- a/docs/integration.md
+++ b/docs/integration.md
@@ -64,7 +64,7 @@ Every recipe needs a specific file structure in order to work as a Ferdi recipe
64- icon.svg - Icon for the service in SVG form (must be square) 64- icon.svg - Icon for the service in SVG form (must be square)
65- index.js - Backend script, this script is NOT included in the service webview but only in Ferdi itself 65- index.js - Backend script, this script is NOT included in the service webview but only in Ferdi itself
66- package.json - Information about the recipe 66- package.json - Information about the recipe
67- webview.js - Frontend script, this script is injected into the service itself but still has access to all NodeJS APIs 67- webview.js - Optional frontend script, this script is injected into the service itself but still has access to all NodeJS APIs
68- darkmode.css - CSS File that gets included when dark mode is activated 68- darkmode.css - CSS File that gets included when dark mode is activated
69 69
70### package.json 70### package.json
@@ -153,7 +153,7 @@ overrideUserAgent() {
153 153
154### webview.js 154### webview.js
155 155
156The `webview.js` is the actual script that will be loaded into the webview. Here you can do whatever you want to do in order perfectly integrate the service into Ferdi. For convenience, we have provided a very simple set of functions to set unread message badges (`Ferdi.setBadge()`), set active dialog title (`Ferdi.setDialogTitle()`) and inject CSS files (`Ferdi.injectCSS()`). 156The optional `webview.js` is the actual script that will be loaded into the webview. Here you can do whatever you want to do in order perfectly integrate the service into Ferdi. For convenience, we have provided a very simple set of functions to set unread message badges (`Ferdi.setBadge()`), set active dialog title (`Ferdi.setDialogTitle()`) and inject CSS files (`Ferdi.injectCSS()`).
157 157
158```js 158```js
159// telegram integration 159// telegram integration