aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/instagram/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/instagram/index.js')
-rw-r--r--recipes/instagram/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/instagram/index.js b/recipes/instagram/index.js
new file mode 100644
index 0000000..12ff25a
--- /dev/null
+++ b/recipes/instagram/index.js
@@ -0,0 +1,8 @@
1module.exports = Franz => class Instagram extends Franz {
2 overrideUserAgent() {
3 return window.navigator.userAgent.replace(
4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
5 ""
6 );
7 }
8};