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

Limit comment_history_delete.user.js to comment history pages only #1

Closed
mjpieters opened this issue Aug 26, 2016 · 1 comment
Closed

Comments

@mjpieters
Copy link

The comment_history_delete script is active on all pages on every site, but this causes issues in the flag review queue; each comment you delete from the flag queue triggers an error dialog with Failed undefined: error.

The @match URLs are overly broad and should just be limited to:

// @match       *://*.stackoverflow.com/admin/users/*/post-comments
// ... etc.
@ArtOfCode-
Copy link
Owner

Heh, good point. I thought that was done, but I copied the match block from another script of mine and replaced the old matches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants