aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/instagram
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/instagram
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/instagram')
-rw-r--r--recipes/instagram/index.js2
-rw-r--r--recipes/instagram/webview.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/instagram/index.js b/recipes/instagram/index.js
index 12ff25a..2c7de64 100644
--- a/recipes/instagram/index.js
+++ b/recipes/instagram/index.js
@@ -2,7 +2,7 @@ module.exports = Franz => class Instagram extends Franz {
2 overrideUserAgent() { 2 overrideUserAgent() {
3 return window.navigator.userAgent.replace( 3 return window.navigator.userAgent.replace(
4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g, 4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
5 "" 5 '',
6 ); 6 );
7 } 7 }
8}; 8};
diff --git a/recipes/instagram/webview.js b/recipes/instagram/webview.js
index f4f7f94..be54317 100644
--- a/recipes/instagram/webview.js
+++ b/recipes/instagram/webview.js
@@ -1,4 +1,4 @@
1const path = require("path"); 1const path = require('path');
2 2
3module.exports = (Franz) => { 3module.exports = (Franz) => {
4 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {