Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Restrict extension execution to TFS task board #1

Merged
merged 1 commit into from

2 participants

@matt-holden
Owner

Modifies manifest.json to restrict content-script injection to URLs
within TFS that contain the text, "taskboard."

This prevents things like background refresh from happening when on
other pages in TFS (like the yawn query screens).

@matt-holden Restrict extension execution to TFS task board
Modifies manifest.json to restrict content-script injection to URLs
within TFS that contain the text, "taskboard."

This prevents things like background refresh from happening when on
other pages in TFS (like the *yawn* query screens).
02742ea
@jonlunsford
Collaborator

This is a good call. Hopefully in the future we will have other tweaks for other pages in TFS, So this approach could be used on a feature by feature basis. Merging now.

@jonlunsford jonlunsford merged commit 3b90e07 into matt-holden:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 11, 2014
  1. Restrict extension execution to TFS task board

    authored
    Modifies manifest.json to restrict content-script injection to URLs
    within TFS that contain the text, "taskboard."
    
    This prevents things like background refresh from happening when on
    other pages in TFS (like the *yawn* query screens).
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  manifest.json
View
2  manifest.json
@@ -25,7 +25,7 @@
"content_scripts": [
{
- "matches": ["http://tfs:8080/tfs/*", "https://*/tfs/*"],
+ "matches": ["http://tfs:8080/tfs/*taskboard*", "https://*/tfs/*taskboard*"],
"css": ["styles/main.css"],
"js": ["js/libs/jquery.js", "js/main.js"]
}
Something went wrong with that request. Please try again.