You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@y252328 According to the commit message of 7b114cc, that method is supposed to run for some stories. Therefore, the second method shouldn't be something like this?!
let scriptJson = document.querySelectorAll('script[type="application/json"]');
for (let i = 0; i < scriptJson.length; i++) {
if (window.location.href.match(/www.instagram.com\/stories\/[^\/]+\/(\d+)/)) {
let match = scriptJson[i].text.match(/"pk":"(\d+)","id":"[\d_]+"/);
if (match) return match[1];
}
}
I tested this, and it looks like it doesn't trigger my reported issue. 🤔
@y252328 @Patty-OFurniture
Something is wrong with one of your recent commits. Have a look: https://youtu.be/YVPzZcLqOL0
Steps to reproduce:
This didn't happen on v1.17.10.
The text was updated successfully, but these errors were encountered: