1 parent f6c7919 commit 4e8a6efCopy full SHA for 4e8a6ef
2 files changed
modules/instagram.js
@@ -68,8 +68,6 @@ zeeschuimer.register_module(
68
];
69
70
let prefix;
71
- const dummyDocument = document.implementation.createDocument(null, '', null);
72
-
73
while (js_prefixes.length > 0) {
74
prefix = js_prefixes.shift();
75
@@ -100,10 +98,14 @@ zeeschuimer.register_module(
100
98
json_bit = json_bit.split(']]}}')[0];
101
99
}
102
+ json_bit = json_bit.split('],["CometResourceScheduler"')[0];
+
103
104
try {
105
datas.push(JSON.parse(json_bit));
106
} catch {
107
+ console.log('bad json');
108
+ console.log(json_bit);
109
// fine, not JSON after all
110
111
scratch.js
0 commit comments