OLD | NEW |
(Empty) | |
| 1 { |
| 2 "name": "Content scripts that destroy their frame", |
| 3 "manifest_version": 2, |
| 4 "version": "1", |
| 5 "content_scripts": [{ |
| 6 "run_at": "document_start", |
| 7 "all_frames": true, |
| 8 "match_about_blank": true, |
| 9 "js": ["remove_self.js"], |
| 10 // URL of the parent frame. |
| 11 "matches": ["*://*/*.html?blankstart*"] |
| 12 }, { |
| 13 "run_at": "document_end", |
| 14 "all_frames": true, |
| 15 "match_about_blank": true, |
| 16 "js": ["flag_document_end.js", "remove_self.js"], |
| 17 // URL of the parent frame. |
| 18 "matches": ["*://*/*.html?blankend*"] |
| 19 }, { |
| 20 "run_at": "document_start", |
| 21 "all_frames": true, |
| 22 "js": ["remove_self.js"], |
| 23 // 1st URL for the parent frame, second URL for the child frame. |
| 24 "matches": ["*://*/*.html?start*", "*://*/*?child*"] |
| 25 }, { |
| 26 "run_at": "document_end", |
| 27 "all_frames": true, |
| 28 "js": ["flag_document_end.js", "remove_self.js"], |
| 29 // 1st URL for the parent frame, second URL for the child frame. |
| 30 "matches": ["*://*/*.html?end*", "*://*/*?child*"] |
| 31 }], |
| 32 "permissions": ["*://*/*", "webNavigation"] |
| 33 } |
OLD | NEW |