Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ This method is for developers and advanced users.

## Usage

> [!WARNING]
> FreeTube on macOS is currently experiencing a problem that manifests itself as an error when opening links when there is no FreeTube window open. This problem has been reported to the FreeTube developers and we are waiting for a solution.

### Via button

Click the RedirectTube button in the toolbar to open the current YouTube video in FreeTube.
Expand Down
6 changes: 3 additions & 3 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# 1.0.6 (25015)
# 1.0.7 (25031)

## Release Notes

- Improved the function of the button in iframes - added the FreeTube logo, changed the text and structure of the button, optimized the code, added the ability to close the button.
- From now on, the button for iframes (beta) is enabled by default. It can be turned off in the options.
- Dutch translation added (thanks @Vistaus!)
- Fixed a bug whereby the iFrame button could display incorrectly on some pages.

> [!WARNING]
> File `-unsigned.xpi` will most likely not work in your browser. Use the signed version (`-signed.xpi`) or download from [Mozilla Add-ons](https://addons.mozilla.org/firefox/addon/redirecttube/).
52 changes: 26 additions & 26 deletions src/Gecko/content.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
.redirecttube-redirection-div {
position: absolute;
z-index: 10000;
height: 47px;
align-items: center;
height: 47px !important;
align-items: center !important;
padding: 0 10px;
background-color: #171717cc;
color: #fff;
font: 400 16px/16px "YouTube Noto",Roboto,Arial,Helvetica,sans-serif;
background-color: #171717cc !important;
color: #fff !important;
font: 400 16px/16px "YouTube Noto",Roboto,Arial,Helvetica,sans-serif !important;
border: none;
border-radius: 0 2px 2px 0;
transition: all 0.3s;
cursor: pointer;
}

.redirecttube-redirection-open-button {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
margin: 0 2px;
color: #fff;
text-decoration: none;
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 100% !important;
margin: 0 2px !important;
color: #fff !important;
text-decoration: none !important;
}

.redirecttube-redirection-open-button svg {
height: 16px;
fill: #fff;
margin-left: 8px;
margin-right: 2px;
height: 16px !important;
fill: #fff !important;
margin-left: 8px !important;
margin-right: 2px !important;
}

.redirecttube-redirection-hide-button {
display: flex;
align-items: center;
justify-content: center;
height: 47px;
width: 47px;
margin: 0 2px;
color: #fff;
background-color: #171717cc;
text-decoration: none;
transform: translate(184px, -100%);
display: flex !important;
align-items: center !important;
justify-content: center !important;
height: 47px !important;
width: 47px !important;
margin: 0 2px !important;
color: #fff !important;
background-color: #171717cc !important;
text-decoration: none !important;
transform: translate(184px, -100%) !important;
}
4 changes: 1 addition & 3 deletions src/Gecko/content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 66 additions & 0 deletions src/Gecko/i18n/locales/nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"options": {
"extensionIcon": {
"label": "Add-onpictogram:"
},
"options": {
"title": "Instellingen"
},
"popupBehavior": {
"label": "Na aanklikken van add-onpictogram:",
"redirect": "Doorverwijzen naar FreeTube",
"showPopup": "Menu openen"
},
"footer": {
"kofi": "Als je deze add-on graag gebruikt, overweg dan <a href=\"https://ko-fi.com/mstankiewicz\" target=\"_blank\">een donatie (bijv. een kopje thee)</a> 🍵",
"version": "RedirectTube v<span id=\"version\">X.Y.Z</span>",
"affiliation": "RedirectTube is niet verbonden aan FreeTube of de makers ervan.<br>FreeTube wordt uitgebracht onder de voorwaarden van de <a href=\"https://github.com/FreeTubeApp/FreeTube/blob/master/LICENSE\">AGPL-3.0-licentie</a>.<br>De naam ‘FreeTube’ en het FreeTube-logo zijn eigendom van de <a href=\"https://docs.freetubeapp.io/credits/\">makers van FreeTube</a>."
},
"iframeButton": {
"label": "Knop op iframes tonen:",
"yes": "Ja",
"no": "Nee"
},
"page": {
"title": "RedirectTube"
}
},
"ui": {
"beta": {
"label": "Bèta"
},
"createdby": "Met ❤️ gemaakt door <a href=\"https://www.stankiewiczm.eu\" target=\"_blank\">Michał Stankiewicz</a>",
"button": {
"opinion": "Deel je mening",
"redirect": "Website openen in FreeTube",
"issue": "Meld een probleem",
"options": "Instellingen",
"suggestion": "Deel een idee"
},
"error": {
"e404": "Deze pagina kan niet worden geopend in FreeTube."
},
"iframeButton": {
"redirect": "Bekijken op"
},
"close": "Sluiten",
"contextMenu": {
"redirect": "Openen in FreeTube"
}
},
"introduction": {
"page": {
"title": "RedirectTube • Introductie"
},
"usage": {
"title": "Gebruik",
"toolbar": "Open een YouTube-videopagina en klik op het pictogram",
"contextMenu": "of klik met de rechtermuisknop op de url van een YouTube-video"
}
},
"popup": {
"page": {
"title": "RedirectTube"
}
}
}
2 changes: 1 addition & 1 deletion src/Gecko/i18n/translate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let langList = ["en", "pl"]
let langList = ["en", "pl", "nl"]

let lang = navigator.language.split("-")[0]
if (!langList.includes(lang)) {
Expand Down
2 changes: 1 addition & 1 deletion src/Gecko/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "RedirectTube",
"description": "Open YouTube links in FreeTube",
"author": "Michał Stankiewicz",
"version": "1.0.6",
"version": "1.0.7",
"manifest_version": 3,
"icons": {
"16": "img/icns/color/allow/16.png",
Expand Down