Skip to content

Commit dfa1f46

Browse files
committed
switch back to no-iframe, update readme
1 parent ade78e0 commit dfa1f46

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ Once you've loaded the YouTube popout chat window described above, you will see
5555

5656
You can open the URL on your computer too if you want to full screen it on a second monitor.
5757

58+
### Persistent Links
59+
60+
While there is no UI for this currently, if you would like to create a persistent link for your stream so that you don't have to re-add the browser source every time, here is how to do it.
61+
62+
* Click "Get Overlay" on a livestream and grab the URL from the field that appears, which should look like `https://chat.aaronpk.tv/overlay/#3gADdqH3NS`
63+
* Notice that your YouTube popout chat address bar has changed to include the same fragment, e.g. `#3gADdqH3NS`
64+
* In the future, add that fragment part to your YouTube popout chat window and reload the page
65+
* Your YouTube chat window will send to the matching `chat.aaronpk.tv` URL that has the same fragment
66+
5867

5968
## See this in action!
6069

@@ -73,5 +82,5 @@ See https://github.com/aaronpk/youtube-chat-overlay/issues
7382

7483
## Credits
7584

76-
The CSS and JavaScript originally came from a video by [ROJ BTS](https://www.youtube.com/watch?v=NHy9D4ClTvc), so huge thanks to him for the initial work!
85+
The original CSS and JavaScript originally came from a video by [ROJ BTS](https://www.youtube.com/watch?v=NHy9D4ClTvc), so huge thanks to him for the initial work!
7786

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"content_scripts": [{
1717
"css": ["youtube.css"],
1818
"js": ["jquery.js", "youtube.js"],
19-
"all_frames": true,
19+
"all_frames": false,
2020
"matches": ["https://youtube.com/live_chat*", "https://www.youtube.com/live_chat*", "https://studio.youtube.com/live_chat*"]
2121
}],
2222
"options_ui": {

0 commit comments

Comments
 (0)