mirror of
https://github.com/davidarroyo1234/InstagramUnfollowers.git
synced 2026-04-26 05:15:52 +03:00
[GH-ISSUE #89] I got this error #40
Labels
No labels
bug
documentation
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/InstagramUnfollowers#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theoyiorkas on GitHub (Jul 5, 2023).
Original GitHub issue: https://github.com/davidarroyo1234/InstagramUnfollowers/issues/89
Error on line 1:36993: ReferenceError: Can't find variable: location
@tomleb3 commented on GitHub (Jul 5, 2023):
Strange. What browser are you using?
@theoyiorkas commented on GitHub (Jul 5, 2023):
I'm trying to implement your code through iOS Shortcuts app using Safari browser.
@tomleb3 commented on GitHub (Jul 5, 2023):
I see. I am not familiar with the "iOS Shortcuts app", but it sounds like a specific use-case that we do not directly support.
Obviously, this is an open-source script and you may use it in every which way that meets the terms of its license, but be aware that we may not be able to provide much assistance in case of issues with specific set-ups.
What I can say that might help is that it seems like either you don't have access to the global
Locationinterface which itself is part of the browser'sWindowinterface.Or you might not have access to
Windowat all, as it depends on the environment you are running the code in (browser / node / etc...).With that being said, we only use the global
Locationinterface for 2 things and both of them could be omitted without really breaking the script.You can achieve this by cloning the repository, searching the code for uses of "location", removing them, and then building the code yourself, thus creating a version of the script that suits your specific needs.
However, if you decide to pursue this option, you should be aware that:
Due to the reasons explained above, I am closing the issue.
If you have any more questions, feel free to comment them :)