Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document.location.href = "....user.js" fails in framesets #1248

Closed
arantius opened this Issue Jan 19, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@arantius
Copy link
Collaborator

arantius commented Jan 19, 2011

I can provide more informations concerning this.
document.location.href = "...user.js"; won't trigger GM installation
window if the website is using framesets and the script is just
triggered in one of these frames.

From: http://groups.google.com/group/greasemonkey-users/t/ab54d9b272bb955d?hl=en

@arantius

This comment has been minimized.

Copy link
Collaborator Author

arantius commented Apr 14, 2011

Confirmed that this will fail: https://gist.github.com/919910

But just change "document" to "top.document" and it works as intended.

@arantius arantius closed this in 7425cfd Apr 14, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.