Created
April 8, 2016 17:59
-
-
Save vcsjones/a00c84e84fe89f0f7ca6c5406970f22f to your computer and use it in GitHub Desktop.
Untoaster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
document.addEventListener('DOMContentLoaded', () => { | |
const frame = document.getElementById('target-frame'); | |
if (frame && frame.src) { | |
const source = frame.src; | |
frame.parentElement.removeChild(frame); | |
window.location.href = source; | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "Untoaster", | |
"version": "0.1", | |
"description": "Removes SocialToaster from your browsing experience.", | |
"author": "Kevin Jones", | |
"minimum_chrome_version": "45", | |
"content_scripts": [ | |
{ | |
"run_at": "document_start", | |
"matches": ["*://my.socialtoaster.com/*"], | |
"js": ["breakout.js"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment