Skip to content

Commit

Permalink
Bumped version, updated default open in new tab option
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM committed Oct 9, 2024
1 parent 49eb111 commit 5e31b55
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "random-youtube-video",
"version": "3.1.10",
"version": "3.1.11",
"description": "Customize, shuffle and play random videos from any YouTube channel.",
"scripts": {
"dev": "concurrently \"npm run dev:chromium\" \"npm run dev:firefox\"",
Expand Down
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const configSyncDefaults = {
// If the user has enabled sharing video ID's with the database
"databaseSharingEnabledOption": true,
// These properties influence the behavior of the "Shuffle" button
"shuffleOpenInNewTabOption": true,
"shuffleReUseNewTabOption": true,
"shuffleOpenInNewTabOption": false,
"shuffleReUseNewTabOption": false,
// 0 = only shorts, 1 = no option set (shorts are included), 2 = ignore shorts
"shuffleIgnoreShortsOption": 1,
"shuffleOpenAsPlaylistOption": true,
Expand Down
12 changes: 2 additions & 10 deletions static/html/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ <h3>To be able to use the extension, you <b>MUST</b></h3>
<br />
<br />
<h3>Before you can start and see 'Shuffle' buttons, you need to</h3>
<button id="reloadAllYouTubePagesButton" class="randomYoutubeVideoButton highlight-green" style="font-size: 20px">click me to reload all <i>YouTube.com</i> pages</button>
<button id="reloadAllYouTubePagesButton" class="randomYoutubeVideoButton highlight-green" style="font-size: 20px">click me to reload all <i>YouTube</i> pages</button>
<p>or do so manually.</p>
<p id="reloadText">
<br />
<br />
If you have any open YouTube pages, you will need to reload them to have 'Shuffle' buttons added to them.<br />
Don't have any videos running? Use the button above to automatically reload all YouTube pages open in your browser.
Use the button above to automatically reload all YouTube pages open in your browser, or do so manually.
</p>
</div>

Expand All @@ -38,16 +38,8 @@ <h3>Before you can start and see 'Shuffle' buttons, you need to</h3>
<h3>Customize your experience:</h3>
<button id="openOptionsPageButton" class="randomYoutubeVideoButton highlight-green" style="font-size: 20px">Open the options page</button>
<p>or open the popup for the same experience at any time.</p>
<br />
<p>
Some options are shown depending on the last channel you've visited - try opening the popup after doing so! <br />
Pin the popup to easily access the options at all times.
</p>

<br />
<br />
<p><i>Happy shuffling!</i></p>

<br />
<br />
<div id="shufflingHint">
Expand Down
4 changes: 2 additions & 2 deletions static/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Random YouTube Video",
"description": "Customize, shuffle and play random videos from any YouTube channel.",
"version": "3.1.10",
"version_name": "3.1.10",
"version": "3.1.11",
"version_name": "3.1.11",
"manifest_version": 3,
"content_scripts": [
{
Expand Down

0 comments on commit 5e31b55

Please sign in to comment.