aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed/instagram/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'uncompressed/instagram/index.js')
-rw-r--r--uncompressed/instagram/index.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/uncompressed/instagram/index.js b/uncompressed/instagram/index.js
index b64a3e4..12ff25a 100644
--- a/uncompressed/instagram/index.js
+++ b/uncompressed/instagram/index.js
@@ -1,7 +1,8 @@
1'use strict'
2
3module.exports = Franz => class Instagram extends Franz { 1module.exports = Franz => class Instagram extends Franz {
4 overrideUserAgent() { 2 overrideUserAgent() {
5 return 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B137 Safari/601.1' 3 return window.navigator.userAgent.replace(
4 /(Ferdi|Electron)\/\S+ \([^)]+\)/g,
5 ""
6 );
6 } 7 }
7} \ No newline at end of file 8};