-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The extension now injects the FrankerFaceZ script as well + some image updates
- Loading branch information
1 parent
ed02e41
commit 8665668
Showing
18 changed files
with
50 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"extension_name": { | ||
"message": "BTTV for Safari", | ||
"description": "The display name for the extension." | ||
"description": "BTTV for Safari" | ||
}, | ||
"extension_description": { | ||
"message": "BTTV and FFZ emotes for Safari. This project is not affiliated with neither BTTV for FFZ.", | ||
"description": "Description of what the extension does." | ||
"message": "BTTV and FFZ emotes for Safari. This project is not affiliated with neither BTTV or FFZ.", | ||
"description": "BTTV for Safari" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
// Inject BBTV Script | ||
const script = document.createElement('script'); | ||
script.type = 'text/javascript'; | ||
script.src = 'https://cdn.betterttv.net/betterttv.js'; | ||
const head = document.getElementsByTagName('head')[0]; | ||
head.appendChild(script); | ||
const bttvScript = document.createElement('script'); | ||
bttvScript.type = 'text/javascript'; | ||
bttvScript.src = 'https://cdn.betterttv.net/betterttv.js'; | ||
|
||
// Inject FFZ script | ||
const ffzScript = document.createElement('script'); | ||
ffzScript.type = 'text/javascript'; | ||
ffzScript.src = 'https://cdn.frankerfacez.com/static/ffz_injector.user.js'; | ||
|
||
// Append scripts to head | ||
const head = document.getElementsByTagName('head')[0]; | ||
head.appendChild(bttvScript); | ||
head.appendChild(ffzScript); |
This file contains 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
This file contains 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