misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux
Rust bittorrent-clientdebriddownload-acceleratordownload-managerdownloadmanagereguifile-downloadergallery-dlidmidm-alternativeinternet-download-managerm3u8-downloadermagnetplaylist-downloaderreal-debridrusttorrent-clientvideo-downloaderyoutube-downloaderyt-dlp
Media page title filenames (#443)
Jalawoud5cbdce1a56da
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6b9374b4..da014b73 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -38,6 +38,7 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see- Windows: no more crash when a screen is unplugged, turned off or rearranged while MDM runs ([#335](https://github.com/anefzaoui/misterdownloadmanager/issues/335)).### Added+- The extension's **Media on this page** can name a file after its page: **Prefix media file names with the page title** puts the page's title before the file's own name. Off as installed.- **Far more file types taken from the browser by default** ([#382](https://github.com/anefzaoui/misterdownloadmanager/issues/382)): AI models and datasets (GGUF, SAFETENSORS, CKPT, PT, ONNX, PARQUET...), 3D and CAD (GLB, FBX, OBJ, STL, BLEND, STEP...), design and camera RAW files, ebooks, Office files, DAT, disk images and split archives. A list you never edited gains them; one you edited stays yours.- **A Safari extension, inside the Mac app:** a click on a link to a file type MDM takes goes to MDM, and so do the right-click items, the button over videos and **Media on this page**, as in the other browsers. Safari gives extensions no access to its downloads, so a download a page starts by itself stays with Safari, and the browser's proxy is not shared. See [Browser integration](docs/browser-integration.md#safari-macos).- **Far more file types taken from the browser by default** ([#382](https://github.com/anefzaoui/misterdownloadmanager/issues/382)): AI models and datasets (GGUF, SAFETENSORS, CKPT, PT, ONNX, PARQUET...), 3D and CAD (GLB, FBX, OBJ, STL, BLEND, STEP...), design and camera RAW files, ebooks, Office files, disk images and split archives. A list you never edited gains them; one you edited stays yours.diff --git a/ROADMAP.md b/ROADMAP.mdindex 22d16cfd..b5c59fb8 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -504,6 +504,7 @@ These ship in a later version, when they're ready.so a download a page starts by itself stays with Safari. Built and its relay to the helperchecked in the sandbox Safari uses; still to check in Safari itself, signed with a Developer ID+- 🔄 The browser extension's media list naming a file after its page, as an option: in review- 🔄 Malay: a native speaker's check of the menus, toolbar and list columns: in review### Bugs being looked intodiff --git a/docs/browser-integration.md b/docs/browser-integration.mdindex 728f38f4..3a02769f 100644--- a/docs/browser-integration.md+++ b/docs/browser-integration.md@@ -145,7 +145,8 @@ too. The toolbar button lists what the page has loaded, so you can still save itfor a video, its picture size.Start the video first: the list fills as the page loads things, and it's emptied when the tab goes-to another page. Click **Download** beside one: a stream opens MDM's **Download video from a page**+to another page. With **Prefix media file names with the page title** on, a file from the list is+named after the page, then its own name (`The page - clip.mp4`). Click **Download** beside one: a stream opens MDM's **Download video from a page**window, which reads its qualities (yt-dlp does the work); a file goes to MDM's list like any otherdownload. Your cookies for its server, the page as the referrer and your browser's User-Agent gowith it, as they do for a link you click.diff --git a/extension/_locales/am/messages.json b/extension/_locales/am/messages.jsonindex a0023927..5e390df8 100644--- a/extension/_locales/am/messages.json+++ b/extension/_locales/am/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "የአሳሽ ቅጥያ"+ },+ "popup_media_title_name": {+ "message": "የገጹን ርዕስ ከሚዲያ ፋይል ስሞች በፊት አክል"}}diff --git a/extension/_locales/ar/messages.json b/extension/_locales/ar/messages.jsonindex e652793e..f55cca6d 100644--- a/extension/_locales/ar/messages.json+++ b/extension/_locales/ar/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ملحق المتصفح"+ },+ "popup_media_title_name": {+ "message": "إضافة عنوان الصفحة قبل أسماء ملفات الوسائط"}}diff --git a/extension/_locales/bg/messages.json b/extension/_locales/bg/messages.jsonindex f11eeb5b..bd99356d 100644--- a/extension/_locales/bg/messages.json+++ b/extension/_locales/bg/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Разширение на браузъра"+ },+ "popup_media_title_name": {+ "message": "Добавяне на заглавието на страницата пред имената на медийните файлове"}}diff --git a/extension/_locales/bn/messages.json b/extension/_locales/bn/messages.jsonindex 2deb54a4..b90ea8ce 100644--- a/extension/_locales/bn/messages.json+++ b/extension/_locales/bn/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ব্রাউজার এক্সটেনশন"+ },+ "popup_media_title_name": {+ "message": "মিডিয়া ফাইলের নামের আগে পৃষ্ঠার শিরোনাম যোগ করুন"}}diff --git a/extension/_locales/ca/messages.json b/extension/_locales/ca/messages.jsonindex 08f5d520..343c9bdc 100644--- a/extension/_locales/ca/messages.json+++ b/extension/_locales/ca/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extensió del navegador"+ },+ "popup_media_title_name": {+ "message": "Afegeix el títol de la pàgina davant dels noms dels fitxers multimèdia"}}diff --git a/extension/_locales/cs/messages.json b/extension/_locales/cs/messages.jsonindex 6faacc17..54e27b38 100644--- a/extension/_locales/cs/messages.json+++ b/extension/_locales/cs/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Rozšíření prohlížeče"+ },+ "popup_media_title_name": {+ "message": "Přidat název stránky před názvy mediálních souborů"}}diff --git a/extension/_locales/da/messages.json b/extension/_locales/da/messages.jsonindex 441c1995..6f9c7d43 100644--- a/extension/_locales/da/messages.json+++ b/extension/_locales/da/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Browserudvidelse"+ },+ "popup_media_title_name": {+ "message": "Tilføj sidens titel foran mediefilernes navne"}}diff --git a/extension/_locales/de/messages.json b/extension/_locales/de/messages.jsonindex 4f90d24b..842b9520 100644--- a/extension/_locales/de/messages.json+++ b/extension/_locales/de/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Browsererweiterung"+ },+ "popup_media_title_name": {+ "message": "Seitentitel vor die Namen von Mediendateien setzen"}}diff --git a/extension/_locales/el/messages.json b/extension/_locales/el/messages.jsonindex fe5edc29..3838b1f5 100644--- a/extension/_locales/el/messages.json+++ b/extension/_locales/el/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Επέκταση προγράμματος περιήγησης"+ },+ "popup_media_title_name": {+ "message": "Προσθήκη του τίτλου της σελίδας πριν από τα ονόματα των αρχείων πολυμέσων"}}diff --git a/extension/_locales/en/messages.json b/extension/_locales/en/messages.jsonindex 89a2deac..55fac385 100644--- a/extension/_locales/en/messages.json+++ b/extension/_locales/en/messages.json@@ -306,5 +306,9 @@"remote_device_name": {"message": "Browser extension","description": "the name this browser gets in the other MDM's list of paired devices"+ },+ "popup_media_title_name": {+ "message": "Prefix media file names with the page title",+ "description": "Option in the browser extension media list: put the page title before the original file name when downloading a detected media file"}}diff --git a/extension/_locales/es/messages.json b/extension/_locales/es/messages.jsonindex 61d357f8..7a61d2e3 100644--- a/extension/_locales/es/messages.json+++ b/extension/_locales/es/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extensión del navegador"+ },+ "popup_media_title_name": {+ "message": "Añadir el título de la página delante de los nombres de los archivos multimedia"}}diff --git a/extension/_locales/es_419/messages.json b/extension/_locales/es_419/messages.jsonindex 30f834bf..e711394b 100644--- a/extension/_locales/es_419/messages.json+++ b/extension/_locales/es_419/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extensión del navegador"+ },+ "popup_media_title_name": {+ "message": "Agregar el título de la página antes de los nombres de los archivos multimedia"}}diff --git a/extension/_locales/et/messages.json b/extension/_locales/et/messages.jsonindex aecac865..f4103f26 100644--- a/extension/_locales/et/messages.json+++ b/extension/_locales/et/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Brauserilaiend"+ },+ "popup_media_title_name": {+ "message": "Lisa meediafailide nimede ette lehe pealkiri"}}diff --git a/extension/_locales/fa/messages.json b/extension/_locales/fa/messages.jsonindex 6512c77c..16fa8837 100644--- a/extension/_locales/fa/messages.json+++ b/extension/_locales/fa/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "افزونه مرورگر"+ },+ "popup_media_title_name": {+ "message": "افزودن عنوان صفحه پیش از نام فایل رسانه"}}diff --git a/extension/_locales/fi/messages.json b/extension/_locales/fi/messages.jsonindex acfd4a46..cc0f58f2 100644--- a/extension/_locales/fi/messages.json+++ b/extension/_locales/fi/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Selaimen laajennus"+ },+ "popup_media_title_name": {+ "message": "Lisää sivun otsikko mediatiedostojen nimien eteen"}}diff --git a/extension/_locales/fil/messages.json b/extension/_locales/fil/messages.jsonindex f7e1c010..173f64e8 100644--- a/extension/_locales/fil/messages.json+++ b/extension/_locales/fil/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extension ng browser"+ },+ "popup_media_title_name": {+ "message": "Idagdag ang pamagat ng page bago ang mga pangalan ng media file"}}diff --git a/extension/_locales/fr/messages.json b/extension/_locales/fr/messages.jsonindex 337f5c41..1a26657f 100644--- a/extension/_locales/fr/messages.json+++ b/extension/_locales/fr/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extension de navigateur"+ },+ "popup_media_title_name": {+ "message": "Ajouter le titre de la page devant les noms des fichiers multimédias"}}diff --git a/extension/_locales/gu/messages.json b/extension/_locales/gu/messages.jsonindex 84dc5557..89fa2c61 100644--- a/extension/_locales/gu/messages.json+++ b/extension/_locales/gu/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "બ્રાઉઝર એક્સ્ટેંશન"+ },+ "popup_media_title_name": {+ "message": "મીડિયા ફાઇલોનાં નામો પહેલાં પૃષ્ઠનું શીર્ષક ઉમેરો"}}diff --git a/extension/_locales/he/messages.json b/extension/_locales/he/messages.jsonindex a505aad0..c28fbe1f 100644--- a/extension/_locales/he/messages.json+++ b/extension/_locales/he/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "הרחבת דפדפן"+ },+ "popup_media_title_name": {+ "message": "הוספת כותרת הדף לפני שמות קובצי המדיה"}}diff --git a/extension/_locales/hi/messages.json b/extension/_locales/hi/messages.jsonindex cc80b52b..e8d8bbb5 100644--- a/extension/_locales/hi/messages.json+++ b/extension/_locales/hi/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ब्राउज़र एक्सटेंशन"+ },+ "popup_media_title_name": {+ "message": "मीडिया फ़ाइलों के नामों से पहले पेज का शीर्षक जोड़ें"}}diff --git a/extension/_locales/hr/messages.json b/extension/_locales/hr/messages.jsonindex 34af6537..83fa9a85 100644--- a/extension/_locales/hr/messages.json+++ b/extension/_locales/hr/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Proširenje preglednika"+ },+ "popup_media_title_name": {+ "message": "Dodaj naslov stranice ispred naziva medijskih datoteka"}}diff --git a/extension/_locales/hu/messages.json b/extension/_locales/hu/messages.jsonindex 1226dfb9..5b6fd451 100644--- a/extension/_locales/hu/messages.json+++ b/extension/_locales/hu/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Böngészőbővítmény"+ },+ "popup_media_title_name": {+ "message": "Az oldal címének hozzáadása a médiafájlok neve elé"}}diff --git a/extension/_locales/id/messages.json b/extension/_locales/id/messages.jsonindex e3f82014..a46acecf 100644--- a/extension/_locales/id/messages.json+++ b/extension/_locales/id/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Ekstensi browser"+ },+ "popup_media_title_name": {+ "message": "Tambahkan judul halaman di depan nama file media"}}diff --git a/extension/_locales/it/messages.json b/extension/_locales/it/messages.jsonindex d40eb76c..f731c780 100644--- a/extension/_locales/it/messages.json+++ b/extension/_locales/it/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Estensione del browser"+ },+ "popup_media_title_name": {+ "message": "Aggiungi il titolo della pagina davanti ai nomi dei file multimediali"}}diff --git a/extension/_locales/ja/messages.json b/extension/_locales/ja/messages.jsonindex b50f33bd..f02f1456 100644--- a/extension/_locales/ja/messages.json+++ b/extension/_locales/ja/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ブラウザー拡張機能"+ },+ "popup_media_title_name": {+ "message": "メディアファイル名の前にページのタイトルを付ける"}}diff --git a/extension/_locales/kn/messages.json b/extension/_locales/kn/messages.jsonindex 3c43f8c2..964f9a84 100644--- a/extension/_locales/kn/messages.json+++ b/extension/_locales/kn/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ಬ್ರೌಸರ್ ವಿಸ್ತರಣೆ"+ },+ "popup_media_title_name": {+ "message": "ಮಾಧ್ಯಮ ಫೈಲ್ ಹೆಸರುಗಳ ಮುಂದೆ ಪುಟದ ಶೀರ್ಷಿಕೆಯನ್ನು ಸೇರಿಸಿ"}}diff --git a/extension/_locales/ko/messages.json b/extension/_locales/ko/messages.jsonindex 25aa8bcc..86d60535 100644--- a/extension/_locales/ko/messages.json+++ b/extension/_locales/ko/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "브라우저 확장"+ },+ "popup_media_title_name": {+ "message": "미디어 파일 이름 앞에 페이지 제목 추가"}}diff --git a/extension/_locales/lt/messages.json b/extension/_locales/lt/messages.jsonindex d889ea28..60f0f6df 100644--- a/extension/_locales/lt/messages.json+++ b/extension/_locales/lt/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Naršyklės plėtinys"+ },+ "popup_media_title_name": {+ "message": "Pridėti puslapio pavadinimą prieš medijos failų vardus"}}diff --git a/extension/_locales/lv/messages.json b/extension/_locales/lv/messages.jsonindex ba985cab..1957baf0 100644--- a/extension/_locales/lv/messages.json+++ b/extension/_locales/lv/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Pārlūkprogrammas paplašinājums"+ },+ "popup_media_title_name": {+ "message": "Pievienot lapas nosaukumu multivides failu nosaukumu priekšā"}}diff --git a/extension/_locales/ml/messages.json b/extension/_locales/ml/messages.jsonindex 580c99a6..dab8c39d 100644--- a/extension/_locales/ml/messages.json+++ b/extension/_locales/ml/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ബ്രൗസർ എക്സ്റ്റൻഷൻ"+ },+ "popup_media_title_name": {+ "message": "മീഡിയ ഫയലുകളുടെ പേരുകൾക്ക് മുന്നിൽ പേജിന്റെ ശീർഷകം ചേർക്കുക"}}diff --git a/extension/_locales/mr/messages.json b/extension/_locales/mr/messages.jsonindex 3df95c26..161a08fd 100644--- a/extension/_locales/mr/messages.json+++ b/extension/_locales/mr/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ब्राउझर एक्स्टेंशन"+ },+ "popup_media_title_name": {+ "message": "मीडिया फायलींच्या नावांपुढे पृष्ठाचे शीर्षक जोडा"}}diff --git a/extension/_locales/ms/messages.json b/extension/_locales/ms/messages.jsonindex 638836f9..f477f41c 100644--- a/extension/_locales/ms/messages.json+++ b/extension/_locales/ms/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Sambungan pelayar"+ },+ "popup_media_title_name": {+ "message": "Tambahkan tajuk halaman di hadapan nama fail media"}}diff --git a/extension/_locales/nl/messages.json b/extension/_locales/nl/messages.jsonindex 6b0e5f2d..c40453f3 100644--- a/extension/_locales/nl/messages.json+++ b/extension/_locales/nl/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Browserextensie"+ },+ "popup_media_title_name": {+ "message": "Voeg de paginatitel toe vóór de namen van mediabestanden"}}diff --git a/extension/_locales/no/messages.json b/extension/_locales/no/messages.jsonindex 0b2c1b52..6d513456 100644--- a/extension/_locales/no/messages.json+++ b/extension/_locales/no/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Nettleserutvidelse"+ },+ "popup_media_title_name": {+ "message": "Legg til sidetittelen foran navn på mediefiler"}}diff --git a/extension/_locales/pl/messages.json b/extension/_locales/pl/messages.jsonindex 9791f2e7..2958fbfc 100644--- a/extension/_locales/pl/messages.json+++ b/extension/_locales/pl/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Rozszerzenie przeglądarki"+ },+ "popup_media_title_name": {+ "message": "Dodaj tytuł strony przed nazwami plików multimedialnych"}}diff --git a/extension/_locales/pt_BR/messages.json b/extension/_locales/pt_BR/messages.jsonindex dbe985ac..4c664305 100644--- a/extension/_locales/pt_BR/messages.json+++ b/extension/_locales/pt_BR/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extensão do navegador"+ },+ "popup_media_title_name": {+ "message": "Adicionar o título da página antes dos nomes dos arquivos de mídia"}}diff --git a/extension/_locales/pt_PT/messages.json b/extension/_locales/pt_PT/messages.jsonindex f1cc0b76..fdd92977 100644--- a/extension/_locales/pt_PT/messages.json+++ b/extension/_locales/pt_PT/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extensão do navegador"+ },+ "popup_media_title_name": {+ "message": "Adicionar o título da página antes dos nomes dos ficheiros multimédia"}}diff --git a/extension/_locales/ro/messages.json b/extension/_locales/ro/messages.jsonindex 14ae3282..ef507e90 100644--- a/extension/_locales/ro/messages.json+++ b/extension/_locales/ro/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Extensie de browser"+ },+ "popup_media_title_name": {+ "message": "Adaugă titlul paginii înaintea numelor fișierelor media"}}diff --git a/extension/_locales/ru/messages.json b/extension/_locales/ru/messages.jsonindex 98531392..7c0bb222 100644--- a/extension/_locales/ru/messages.json+++ b/extension/_locales/ru/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Расширение браузера"+ },+ "popup_media_title_name": {+ "message": "Добавлять заголовок страницы перед именами медиафайлов"}}diff --git a/extension/_locales/sk/messages.json b/extension/_locales/sk/messages.jsonindex 046e8b4b..8b11e5f6 100644--- a/extension/_locales/sk/messages.json+++ b/extension/_locales/sk/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Rozšírenie prehliadača"+ },+ "popup_media_title_name": {+ "message": "Pridať názov stránky pred názvy mediálnych súborov"}}diff --git a/extension/_locales/sl/messages.json b/extension/_locales/sl/messages.jsonindex cc189712..e986758e 100644--- a/extension/_locales/sl/messages.json+++ b/extension/_locales/sl/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Razširitev brskalnika"+ },+ "popup_media_title_name": {+ "message": "Dodaj naslov strani pred imena predstavnostnih datotek"}}diff --git a/extension/_locales/sr/messages.json b/extension/_locales/sr/messages.jsonindex 6a21a15c..00e8c14f 100644--- a/extension/_locales/sr/messages.json+++ b/extension/_locales/sr/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Проширење прегледача"+ },+ "popup_media_title_name": {+ "message": "Додај наслов странице испред назива медијских датотека"}}diff --git a/extension/_locales/sv/messages.json b/extension/_locales/sv/messages.jsonindex 3e39f7b0..90c172d5 100644--- a/extension/_locales/sv/messages.json+++ b/extension/_locales/sv/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Webbläsartillägg"+ },+ "popup_media_title_name": {+ "message": "Lägg till sidtiteln framför mediefilernas namn"}}diff --git a/extension/_locales/ta/messages.json b/extension/_locales/ta/messages.jsonindex df102c8b..68bf9efc 100644--- a/extension/_locales/ta/messages.json+++ b/extension/_locales/ta/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "உலாவி நீட்டிப்பு"+ },+ "popup_media_title_name": {+ "message": "மீடியா கோப்புப் பெயர்களுக்கு முன் பக்கத்தின் தலைப்பைச் சேர்"}}diff --git a/extension/_locales/te/messages.json b/extension/_locales/te/messages.jsonindex b0839385..fa0b36d5 100644--- a/extension/_locales/te/messages.json+++ b/extension/_locales/te/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "బ్రౌజర్ పొడిగింపు"+ },+ "popup_media_title_name": {+ "message": "మీడియా ఫైల్ పేర్ల ముందు పేజీ శీర్షికను జోడించు"}}diff --git a/extension/_locales/th/messages.json b/extension/_locales/th/messages.jsonindex db3ed137..c6524f18 100644--- a/extension/_locales/th/messages.json+++ b/extension/_locales/th/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "ส่วนขยายเบราว์เซอร์"+ },+ "popup_media_title_name": {+ "message": "เพิ่มชื่อหน้าไว้หน้าชื่อไฟล์สื่อ"}}diff --git a/extension/_locales/tr/messages.json b/extension/_locales/tr/messages.jsonindex 9c7ff81b..4ea8e896 100644--- a/extension/_locales/tr/messages.json+++ b/extension/_locales/tr/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Tarayıcı uzantısı"+ },+ "popup_media_title_name": {+ "message": "Medya dosyası adlarının önüne sayfa başlığını ekle"}}diff --git a/extension/_locales/uk/messages.json b/extension/_locales/uk/messages.jsonindex 75c54d8c..afe12832 100644--- a/extension/_locales/uk/messages.json+++ b/extension/_locales/uk/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Розширення браузера"+ },+ "popup_media_title_name": {+ "message": "Додавати заголовок сторінки перед назвами медіафайлів"}}diff --git a/extension/_locales/vi/messages.json b/extension/_locales/vi/messages.jsonindex 0a4f24e1..37754ef5 100644--- a/extension/_locales/vi/messages.json+++ b/extension/_locales/vi/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "Tiện ích mở rộng trình duyệt"+ },+ "popup_media_title_name": {+ "message": "Thêm tiêu đề trang vào trước tên tệp phương tiện"}}diff --git a/extension/_locales/zh_CN/messages.json b/extension/_locales/zh_CN/messages.jsonindex 77552f42..97b3a366 100644--- a/extension/_locales/zh_CN/messages.json+++ b/extension/_locales/zh_CN/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "浏览器扩展"+ },+ "popup_media_title_name": {+ "message": "在媒体文件名前加上页面标题"}}diff --git a/extension/_locales/zh_TW/messages.json b/extension/_locales/zh_TW/messages.jsonindex 48ef5df8..294bf6a6 100644--- a/extension/_locales/zh_TW/messages.json+++ b/extension/_locales/zh_TW/messages.json@@ -238,5 +238,8 @@},"remote_device_name": {"message": "瀏覽器擴充功能"+ },+ "popup_media_title_name": {+ "message": "在媒體檔案名稱前加上頁面標題"}}diff --git a/extension/background.js b/extension/background.jsindex b20e6e6a..e19b6b59 100644--- a/extension/background.js+++ b/extension/background.js@@ -917,15 +917,19 @@ async function mediaList(tabId) {return out;}-// A file's name from the tab's title when its address ends in a long hash (#345), else none: the+// A file's name from the tab's title when its address ends in a long hash (#345); else, with the+// popup's switch on (`includeOriginal`), the title before the address's own name; else none: the// app names it from the address, as for any download.-function titledName(url, title) {+function titledName(url, title, includeOriginal = false) {const last = pathOf(url).split("/").pop() || "";const dot = last.lastIndexOf(".");const stem = dot > 0 ? last.slice(0, dot) : last;const name = String(title || "").replace(/[\\/:*?"<>|]/g, " ").trim().slice(0, 150);const hash = stem.length >= 24 && /^[A-Za-z0-9=_-]+$/.test(stem) && (stem.match(/[-_]/g) || []).length <= 2;- return hash && name ? `${name}${dot > 0 ? last.slice(dot) : ""}` : "";+ if (hash && name) return `${name}${dot > 0 ? last.slice(dot) : ""}`;+ if (!includeOriginal || !name) return "";+ const original = addressName(url).replace(/[\\/:*?"<>|\x00-\x1f]/g, " ").trim();+ return original && original !== "." && original !== ".." ? `${name} - ${original}` : "";}// One of the tab's media, handed to the app as the popup asked: a stream to the Download video@@ -960,7 +964,8 @@ async function mediaDownload(tabId, url) {...(ctx.incognito ? { private: true } : {}),});}- return handOff({ url: it.url, referrer: page, size: it.size, mime: it.mime, explicit: true, filename: titledName(it.url, tab.title), ...ctx });+ const { mediaTitleName } = await ext.storage.local.get({ mediaTitleName: false });+ return handOff({ url: it.url, referrer: page, size: it.size, mime: it.mime, explicit: true, filename: titledName(it.url, tab.title, mediaTitleName), ...ctx });}// ---- the hand-off ------------------------------------------------------------------------diff --git a/extension/popup.html b/extension/popup.htmlindex 8be15c66..0040612c 100644--- a/extension/popup.html+++ b/extension/popup.html@@ -46,6 +46,10 @@</div><section id="media" class="media" hidden><h2 data-i18n="popup_media"></h2>+ <label class="switch">+ <input id="media-title-name" type="checkbox">+ <span data-i18n="popup_media_title_name"></span>+ </label><ul id="media-list"></ul><p id="media-none" class="note" data-i18n="popup_media_none" hidden></p><p id="media-said" class="note" role="status" hidden></p>diff --git a/extension/popup.js b/extension/popup.jsindex 61a9ace1..930dc067 100644--- a/extension/popup.js+++ b/extension/popup.js@@ -218,6 +218,14 @@ async function showMedia(tab, connected) {}}+// This applies to files chosen in the media list, not ordinary browser downloads or streams.+const mediaTitleName = $("media-title-name");+ext.storage.local.get({ mediaTitleName: false })+ .then((v) => (mediaTitleName.checked = Boolean(v.mediaTitleName)))+ .catch(() => {});+mediaTitleName.addEventListener("change", () =>+ ext.storage.local.set({ mediaTitleName: mediaTitleName.checked }).catch(() => {}));+// #42: reading the browser's proxy (a VPN or proxy extension's) is an opt-in, this switch, off as// installed. Firefox: the optional "proxy" permission, asked for on it. Chromium can't make that// permission optional, so the extension has it from the install, and the switch is a setting ofdiff --git a/i18n/am.tsv b/i18n/am.tsvindex 7f4ac2a4..c55bad0b 100644--- a/i18n/am.tsv+++ b/i18n/am.tsv@@ -5756,6 +5756,10 @@ extension Pairing code የማጣመሪያ ኮድ#, machineextension Paused: downloads stay with the browser ባለበት ቆሟል፦ ውርዶች በአሳሹ ይቀራሉ#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title የገጹን ርዕስ ከሚዲያ ፋይል ስሞች በፊት አክል+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected የተጠበቀdiff --git a/i18n/ar.tsv b/i18n/ar.tsvindex 14196b07..08737baf 100644--- a/i18n/ar.tsv+++ b/i18n/ar.tsv@@ -4371,6 +4371,10 @@ extension Pairing code رمز الإقران#. status when the user switched off taking downloads in the toolbar button's popupextension Paused: downloads stay with the browser متوقف مؤقتا: تبقى التنزيلات مع المستعرض#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title إضافة عنوان الصفحة قبل أسماء ملفات الوسائط+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; shortextension Protected محمي#. text in the browser extensiondiff --git a/i18n/bg.tsv b/i18n/bg.tsvindex 304e596e..574a0f2e 100644--- a/i18n/bg.tsv+++ b/i18n/bg.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Код за сдвояване#, machineextension Paused: downloads stay with the browser На пауза: изтеглянията остават в браузъра#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Добавяне на заглавието на страницата пред имената на медийните файлове+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Защитеноdiff --git a/i18n/bn.tsv b/i18n/bn.tsvindex 287b4d89..211fea14 100644--- a/i18n/bn.tsv+++ b/i18n/bn.tsv@@ -5756,6 +5756,10 @@ extension Pairing code পেয়ারিং কোড#, machineextension Paused: downloads stay with the browser বিরত আছে: ডাউনলোডগুলি ব্রাউজারের সাথে থাকে#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title মিডিয়া ফাইলের নামের আগে পৃষ্ঠার শিরোনাম যোগ করুন+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected সুরক্ষিতdiff --git a/i18n/ca.tsv b/i18n/ca.tsvindex 3dae926a..e7d69931 100644--- a/i18n/ca.tsv+++ b/i18n/ca.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Codi d'empllaçament#, machineextension Paused: downloads stay with the browser En pausa: les baixades es queden al navegador#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Afegeix el títol de la pàgina davant dels noms dels fitxers multimèdia+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protegitdiff --git a/i18n/cs.tsv b/i18n/cs.tsvindex 73f4229d..d778f0c4 100644--- a/i18n/cs.tsv+++ b/i18n/cs.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Párovací kód#, machineextension Paused: downloads stay with the browser Pozastaveno: stahování zůstává v prohlížeči#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Přidat název stránky před názvy mediálních souborů+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Chráněnodiff --git a/i18n/da.tsv b/i18n/da.tsvindex d0ef388e..58c2f438 100644--- a/i18n/da.tsv+++ b/i18n/da.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Parringskode#, machineextension Paused: downloads stay with the browser Sat på pause: downloads forbliver i browseren#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Tilføj sidens titel foran mediefilernes navne+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Beskyttetdiff --git a/i18n/de.tsv b/i18n/de.tsvindex af5690b8..50186c5a 100644--- a/i18n/de.tsv+++ b/i18n/de.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Kopplungscode#, machineextension Paused: downloads stay with the browser Angehalten: Downloads verbleiben im Browser#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Seitentitel vor die Namen von Mediendateien setzen+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Geschütztdiff --git a/i18n/el.tsv b/i18n/el.tsvindex 8a571574..5d3323c7 100644--- a/i18n/el.tsv+++ b/i18n/el.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Κωδικός σύζευξης#, machineextension Paused: downloads stay with the browser Σε παύση: οι λήψεις παραμένουν στο πρόγραμμα περιήγησης#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Προσθήκη του τίτλου της σελίδας πριν από τα ονόματα των αρχείων πολυμέσων+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Προστατευμένοdiff --git a/i18n/en.tsv b/i18n/en.tsvindex 57f710f8..0478eded 100644--- a/i18n/en.tsv+++ b/i18n/en.tsv@@ -4260,6 +4260,9 @@ extension Pairing code Pairing code#. status when the user switched off taking downloads in the toolbar button's popupextension Paused: downloads stay with the browser Paused: downloads stay with the browser#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+extension Prefix media file names with the page title Prefix media file names with the page title+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; shortextension Protected Protected#. text in the browser extensiondiff --git a/i18n/es-mx.tsv b/i18n/es-mx.tsvindex 1977122a..2e7e5923 100644--- a/i18n/es-mx.tsv+++ b/i18n/es-mx.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Código de emparejamiento#, machineextension Paused: downloads stay with the browser En pausa: las descargas se quedan en el navegador#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Agregar el título de la página antes de los nombres de los archivos multimedia+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protegidodiff --git a/i18n/es.tsv b/i18n/es.tsvindex 5533c589..f0c20f2d 100644--- a/i18n/es.tsv+++ b/i18n/es.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Código de emparejamiento#, machineextension Paused: downloads stay with the browser En pausa: las descargas se quedan en el navegador#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Añadir el título de la página delante de los nombres de los archivos multimedia+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protegidodiff --git a/i18n/et.tsv b/i18n/et.tsvindex 8d63de9b..f2d72442 100644--- a/i18n/et.tsv+++ b/i18n/et.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Sidumiskood#, machineextension Paused: downloads stay with the browser Peatatud: allalaadimised jäävad brauserisse#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Lisa meediafailide nimede ette lehe pealkiri+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Kaitstuddiff --git a/i18n/fa.tsv b/i18n/fa.tsvindex 26b2cef1..4dba7e52 100644--- a/i18n/fa.tsv+++ b/i18n/fa.tsv@@ -5756,6 +5756,10 @@ extension Pairing code کد جفتسازی#, machineextension Paused: downloads stay with the browser متوقف شد: بارگیریها در مرورگر میمانند#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title افزودن عنوان صفحه پیش از نام فایل رسانه+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected محافظتشدهdiff --git a/i18n/fi.tsv b/i18n/fi.tsvindex 01c29055..a74c564f 100644--- a/i18n/fi.tsv+++ b/i18n/fi.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Pariliitoskoodi#, machineextension Paused: downloads stay with the browser Ei käytössä: lataukset jäävät selaimeen#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Lisää sivun otsikko mediatiedostojen nimien eteen+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Suojattudiff --git a/i18n/fil.tsv b/i18n/fil.tsvindex bc4b58af..50670dda 100644--- a/i18n/fil.tsv+++ b/i18n/fil.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Code ng pagpapares#, machineextension Paused: downloads stay with the browser Naka-pause: mananatili ang mga download sa browser#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Idagdag ang pamagat ng page bago ang mga pangalan ng media file+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protektadodiff --git a/i18n/fr.tsv b/i18n/fr.tsvindex e4fdaf8c..30947d7d 100644--- a/i18n/fr.tsv+++ b/i18n/fr.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Code de jumelage#, machineextension Paused: downloads stay with the browser En pause : les téléchargements restent dans le navigateur#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Ajouter le titre de la page devant les noms des fichiers multimédias+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protégédiff --git a/i18n/gu.tsv b/i18n/gu.tsvindex 36354d8f..1212b7d8 100644--- a/i18n/gu.tsv+++ b/i18n/gu.tsv@@ -5756,6 +5756,10 @@ extension Pairing code જોડી બનાવવાનો કોડ#, machineextension Paused: downloads stay with the browser થોભાવેલ: ડાઉનલોડ્સ બ્રાઉઝર સાથે રહે છે#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title મીડિયા ફાઇલોનાં નામો પહેલાં પૃષ્ઠનું શીર્ષક ઉમેરો+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected સુરક્ષિતdiff --git a/i18n/he.tsv b/i18n/he.tsvindex 8db70539..12cccca5 100644--- a/i18n/he.tsv+++ b/i18n/he.tsv@@ -5756,6 +5756,10 @@ extension Pairing code קוד צימוד#, machineextension Paused: downloads stay with the browser מושהה: ההורדות נשארות בדפדפן#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title הוספת כותרת הדף לפני שמות קובצי המדיה+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected מוגןdiff --git a/i18n/hi.tsv b/i18n/hi.tsvindex e0a2c4cc..3622e970 100644--- a/i18n/hi.tsv+++ b/i18n/hi.tsv@@ -5756,6 +5756,10 @@ extension Pairing code युग्मन कोड#, machineextension Paused: downloads stay with the browser रोका गया: डाउनलोड ब्राउज़र के साथ रहते हैं#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title मीडिया फ़ाइलों के नामों से पहले पेज का शीर्षक जोड़ें+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected सुरक्षितdiff --git a/i18n/hr.tsv b/i18n/hr.tsvindex 23c3bfca..c25e070b 100644--- a/i18n/hr.tsv+++ b/i18n/hr.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Kôd za uparivanje#, machineextension Paused: downloads stay with the browser Pauzirano: preuzimanja ostaju u pregledniku#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Dodaj naslov stranice ispred naziva medijskih datoteka+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Zaštićenodiff --git a/i18n/hu.tsv b/i18n/hu.tsvindex 259f5daa..45609293 100644--- a/i18n/hu.tsv+++ b/i18n/hu.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Párosítási kód#, machineextension Paused: downloads stay with the browser Szüneteltetve: a letöltések a böngészőben maradnak#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Az oldal címének hozzáadása a médiafájlok neve elé+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Védettdiff --git a/i18n/id.tsv b/i18n/id.tsvindex 68f6fb5f..9a19433d 100644--- a/i18n/id.tsv+++ b/i18n/id.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Kode pemasangan#, machineextension Paused: downloads stay with the browser Dijeda: unduhan tetap di browser#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Tambahkan judul halaman di depan nama file media+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Terlindungidiff --git a/i18n/it.tsv b/i18n/it.tsvindex 4bbc16b9..b0ca694c 100644--- a/i18n/it.tsv+++ b/i18n/it.tsv@@ -4270,6 +4270,10 @@ extension Pairing code Codice di associazione#. status when the user switched off taking downloads in the toolbar button's popupextension Paused: downloads stay with the browser In pausa: i download restano al browser#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Aggiungi il titolo della pagina davanti ai nomi dei file multimediali+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; shortextension Protected Protetto#. text in the browser extensiondiff --git a/i18n/ja.tsv b/i18n/ja.tsvindex 5db2c54b..41c60151 100644--- a/i18n/ja.tsv+++ b/i18n/ja.tsv@@ -5756,6 +5756,10 @@ extension Pairing code ペアリング コード#, machineextension Paused: downloads stay with the browser 一時停止: ダウンロードはブラウザーに残ります#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title メディアファイル名の前にページのタイトルを付ける+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected 保護されていますdiff --git a/i18n/kn.tsv b/i18n/kn.tsvindex 369803f0..2c03b3bf 100644--- a/i18n/kn.tsv+++ b/i18n/kn.tsv@@ -5756,6 +5756,10 @@ extension Pairing code ಜೋಡಿಸುವ ಕೋಡ್#, machineextension Paused: downloads stay with the browser ವಿರಾಮಗೊಳಿಸಲಾಗಿದೆ: ಡೌನ್ಲೋಡ್ಗಳು ಬ್ರೌಸರ್ನಲ್ಲಿ ಉಳಿಯುತ್ತವೆ#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title ಮಾಧ್ಯಮ ಫೈಲ್ ಹೆಸರುಗಳ ಮುಂದೆ ಪುಟದ ಶೀರ್ಷಿಕೆಯನ್ನು ಸೇರಿಸಿ+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected ರಕ್ಷಿಸಲಾಗಿದೆdiff --git a/i18n/ko.tsv b/i18n/ko.tsvindex cfab5584..16a5dcff 100644--- a/i18n/ko.tsv+++ b/i18n/ko.tsv@@ -5756,6 +5756,10 @@ extension Pairing code 페어링 코드#, machineextension Paused: downloads stay with the browser 일시 중지됨: 다운로드는 브라우저에 남아 있습니다.#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title 미디어 파일 이름 앞에 페이지 제목 추가+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected 보호됨diff --git a/i18n/lt.tsv b/i18n/lt.tsvindex 79271fa7..89055367 100644--- a/i18n/lt.tsv+++ b/i18n/lt.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Susiejimo kodas#, machineextension Paused: downloads stay with the browser Pristabdyta: atsisiuntimai lieka naršyklėje#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Pridėti puslapio pavadinimą prieš medijos failų vardus+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Apsaugotadiff --git a/i18n/lv.tsv b/i18n/lv.tsvindex 919ab528..5b976da9 100644--- a/i18n/lv.tsv+++ b/i18n/lv.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Savienošanas kods#, machineextension Paused: downloads stay with the browser Apturēts: lejupielādes paliek pārlūkprogrammā#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Pievienot lapas nosaukumu multivides failu nosaukumu priekšā+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Aizsargātsdiff --git a/i18n/ml.tsv b/i18n/ml.tsvindex 310ac6f9..8bfc96e2 100644--- a/i18n/ml.tsv+++ b/i18n/ml.tsv@@ -5756,6 +5756,10 @@ extension Pairing code ജോടിയാക്കൽ കോഡ്#, machineextension Paused: downloads stay with the browser താൽക്കാലികമായി നിർത്തി: ഡൗൺലോഡുകൾ ബ്രൗസറിൽ തുടരും#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title മീഡിയ ഫയലുകളുടെ പേരുകൾക്ക് മുന്നിൽ പേജിന്റെ ശീർഷകം ചേർക്കുക+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected പരിരക്ഷിതംdiff --git a/i18n/mr.tsv b/i18n/mr.tsvindex 15dd5215..926fe6ed 100644--- a/i18n/mr.tsv+++ b/i18n/mr.tsv@@ -5756,6 +5756,10 @@ extension Pairing code पेअरिंग कोड#, machineextension Paused: downloads stay with the browser विरामित: डाउनलोड ब्राउझरमध्येच राहतात#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title मीडिया फायलींच्या नावांपुढे पृष्ठाचे शीर्षक जोडा+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected संरक्षितdiff --git a/i18n/ms.tsv b/i18n/ms.tsvindex 4b805c0b..46d006de 100644--- a/i18n/ms.tsv+++ b/i18n/ms.tsv@@ -5745,6 +5745,10 @@ extension Pairing code Kod pasangan#, machineextension Paused: downloads stay with the browser Dijeda: muat turun kekal bersama penyemak imbas#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Tambahkan tajuk halaman di hadapan nama fail media+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Dilindungidiff --git a/i18n/nb.tsv b/i18n/nb.tsvindex ca6aacbf..30e29070 100644--- a/i18n/nb.tsv+++ b/i18n/nb.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Paringskode#, machineextension Paused: downloads stay with the browser Pauset: nedlastingene blir i nettleseren#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Legg til sidetittelen foran navn på mediefiler+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Beskyttetdiff --git a/i18n/nl.tsv b/i18n/nl.tsvindex 8c9b08c8..50d8b4cf 100644--- a/i18n/nl.tsv+++ b/i18n/nl.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Koppelingscode#, machineextension Paused: downloads stay with the browser Gepauzeerd: downloads blijven bij de browser#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Voeg de paginatitel toe vóór de namen van mediabestanden+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Beveiligddiff --git a/i18n/pl.tsv b/i18n/pl.tsvindex aeefec86..aceb6de7 100644--- a/i18n/pl.tsv+++ b/i18n/pl.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Kod parowania#, machineextension Paused: downloads stay with the browser Wstrzymano: pobieranie pozostaje w przeglądarce#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Dodaj tytuł strony przed nazwami plików multimedialnych+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Chronionediff --git a/i18n/pt-br.tsv b/i18n/pt-br.tsvindex 2f6f52ba..93c2af89 100644--- a/i18n/pt-br.tsv+++ b/i18n/pt-br.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Código de emparelhamento#, machineextension Paused: downloads stay with the browser Pausado: os downloads permanecem no navegador#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Adicionar o título da página antes dos nomes dos arquivos de mídia+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protegidodiff --git a/i18n/pt.tsv b/i18n/pt.tsvindex f7e0ef0b..29709c66 100644--- a/i18n/pt.tsv+++ b/i18n/pt.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Código de emparelhamento#, machineextension Paused: downloads stay with the browser Em pausa: os downloads permanecem no navegador#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Adicionar o título da página antes dos nomes dos ficheiros multimédia+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protegidodiff --git a/i18n/ro.tsv b/i18n/ro.tsvindex e3eb123b..1ee8907b 100644--- a/i18n/ro.tsv+++ b/i18n/ro.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Cod de asociere#, machineextension Paused: downloads stay with the browser Întrerupt: descărcările rămân în browser#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Adaugă titlul paginii înaintea numelor fișierelor media+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Protejatdiff --git a/i18n/ru.tsv b/i18n/ru.tsvindex 33cf85a4..2f9abf34 100644--- a/i18n/ru.tsv+++ b/i18n/ru.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Код сопряжения#, machineextension Paused: downloads stay with the browser Приостановлено: загрузки остаются в браузере#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Добавлять заголовок страницы перед именами медиафайлов+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Защищеноdiff --git a/i18n/sk.tsv b/i18n/sk.tsvindex efb0e22e..44626d5b 100644--- a/i18n/sk.tsv+++ b/i18n/sk.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Párovací kód#, machineextension Paused: downloads stay with the browser Pozastavené: sťahovania zostávajú v prehliadači#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Pridať názov stránky pred názvy mediálnych súborov+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Chránenédiff --git a/i18n/sl.tsv b/i18n/sl.tsvindex a2a08ca2..8d71071a 100644--- a/i18n/sl.tsv+++ b/i18n/sl.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Koda za seznanjanje#, machineextension Paused: downloads stay with the browser Začasno ustavljeno: prenosi ostanejo v brskalniku#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Dodaj naslov strani pred imena predstavnostnih datotek+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Zaščitenodiff --git a/i18n/sr.tsv b/i18n/sr.tsvindex f2c6101c..607e3b98 100644--- a/i18n/sr.tsv+++ b/i18n/sr.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Кôд за упаривање#, machineextension Paused: downloads stay with the browser Паузирано: преузимања остају у прегледачу#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Додај наслов странице испред назива медијских датотека+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Заштићеноdiff --git a/i18n/sv.tsv b/i18n/sv.tsvindex f4c62fc6..3ebcaee8 100644--- a/i18n/sv.tsv+++ b/i18n/sv.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Kopplingskod#, machineextension Paused: downloads stay with the browser Pausad: nedladdningar stannar i webbläsaren#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Lägg till sidtiteln framför mediefilernas namn+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Skyddaddiff --git a/i18n/ta.tsv b/i18n/ta.tsvindex 78952bd3..ea980337 100644--- a/i18n/ta.tsv+++ b/i18n/ta.tsv@@ -5756,6 +5756,10 @@ extension Pairing code இணைக்கும் குறியீடு#, machineextension Paused: downloads stay with the browser இடைநிறுத்தப்பட்டது: பதிவிறக்கங்கள் உலாவியிலேயே இருக்கும்#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title மீடியா கோப்புப் பெயர்களுக்கு முன் பக்கத்தின் தலைப்பைச் சேர்+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected பாதுகாக்கப்பட்டதுdiff --git a/i18n/te.tsv b/i18n/te.tsvindex fbfa5425..2f7fc250 100644--- a/i18n/te.tsv+++ b/i18n/te.tsv@@ -5756,6 +5756,10 @@ extension Pairing code జత చేసే కోడ్#, machineextension Paused: downloads stay with the browser పాజ్ చేయబడింది: డౌన్లోడ్లు బ్రౌజర్లోనే ఉంటాయి#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title మీడియా ఫైల్ పేర్ల ముందు పేజీ శీర్షికను జోడించు+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected రక్షితంdiff --git a/i18n/th.tsv b/i18n/th.tsvindex fb587ab1..47545793 100644--- a/i18n/th.tsv+++ b/i18n/th.tsv@@ -5756,6 +5756,10 @@ extension Pairing code รหัสจับคู่#, machineextension Paused: downloads stay with the browser หยุดชั่วคราว: การดาวน์โหลดจะยังคงอยู่ในเบราว์เซอร์#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title เพิ่มชื่อหน้าไว้หน้าชื่อไฟล์สื่อ+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected ป้องกันdiff --git a/i18n/tr.tsv b/i18n/tr.tsvindex 58ef775b..820c3d37 100644--- a/i18n/tr.tsv+++ b/i18n/tr.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Eşleme kodu#, machineextension Paused: downloads stay with the browser Duraklatıldı: indirmeler tarayıcıda kalır#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Medya dosyası adlarının önüne sayfa başlığını ekle+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Korumalıdiff --git a/i18n/uk.tsv b/i18n/uk.tsvindex 2392b0f1..550b7e9a 100644--- a/i18n/uk.tsv+++ b/i18n/uk.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Код з’єднання#, machineextension Paused: downloads stay with the browser Призупинено: завантаження залишаються в браузері#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Додавати заголовок сторінки перед назвами медіафайлів+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Захищеноdiff --git a/i18n/vi.tsv b/i18n/vi.tsvindex eb87013e..294d2b1b 100644--- a/i18n/vi.tsv+++ b/i18n/vi.tsv@@ -5756,6 +5756,10 @@ extension Pairing code Mã ghép nối#, machineextension Paused: downloads stay with the browser Đã tạm dừng: các bản tải xuống vẫn ở trong trình duyệt#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title Thêm tiêu đề trang vào trước tên tệp phương tiện+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected Được bảo vệdiff --git a/i18n/zh-hans.tsv b/i18n/zh-hans.tsvindex faf183c5..d5263ff4 100644--- a/i18n/zh-hans.tsv+++ b/i18n/zh-hans.tsv@@ -5756,6 +5756,10 @@ extension Pairing code 配对代码#, machineextension Paused: downloads stay with the browser 已暂停: 下载保留在浏览器中#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title 在媒体文件名前加上页面标题+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected 受保护diff --git a/i18n/zh-hant.tsv b/i18n/zh-hant.tsvindex 8e87e1ec..5ff6c2b6 100644--- a/i18n/zh-hant.tsv+++ b/i18n/zh-hant.tsv@@ -5756,6 +5756,10 @@ extension Pairing code 配對代碼#, machineextension Paused: downloads stay with the browser 已暫停:下載仍由瀏覽器處理#. text in the browser extension+#. Option in the browser extension media list: put the page title before the original file name when downloading a detected media file+#, machine+extension Prefix media file names with the page title 在媒體檔案名稱前加上頁面標題+#. text in the browser extension#. shown instead of the Download button beside a copy-protected (DRM) stream in the toolbar button's popup: it can't be downloaded; short#, machineextension Protected 受保護diff --git a/tools/extension/test.mjs b/tools/extension/test.mjsindex 68bf4d6e..39d09795 100644--- a/tools/extension/test.mjs+++ b/tools/extension/test.mjs@@ -807,11 +807,17 @@ const MPD = (protect) => `<?xml version="1.0"?>const f = natives(calls).find((m) => m.url === "https://files.test/movie.mp4");assert.deepEqual([f.explicit, f.referrer, f.size, f.mime, f.video], [true, "https://watch.test/v/1", 52428800, "video/mp4", undefined]);assert.equal(f.filename, "", "a file with a name of its own is named by its address");+ await api.storage.local.set({ mediaTitleName: true });+ await popupAsk(listeners, { type: "media-download", tab: 9, url: "https://files.test/movie.mp4" });+ assert.equal(natives(calls).filter((m) => m.url === "https://files.test/movie.mp4").at(-1).filename, "A film - movie.mp4");// #345: an address that ends in a long hash names nothing: the tab's title does.const hashed = "https://files.test/SFp1NUcrZFRkRUVrUWlqM3paMitkakJIUW9JSFhOeEZkd0ZMNEc5UHpnZm5hRkY4Vis5MjlJU00xdDVqTk1vaw.mp4";listeners.responseStarted({ tabId: 9, frameId: 0, type: "media", url: hashed, responseHeaders: [{ name: "Content-Type", value: "video/mp4" }, { name: "Content-Length", value: "52428800" }] });await settle();await popupAsk(listeners, { type: "media-download", tab: 9, url: hashed });+ // A hash isn't worth keeping, with the switch on too: the title alone names it.+ assert.equal(natives(calls).filter((m) => m.url === hashed).at(-1).filename, "A film.mp4");+ await api.storage.local.set({ mediaTitleName: false });assert.equal(natives(calls).find((m) => m.url === hashed).filename, "A film.mp4");const before = natives(calls).length;assert.deepEqual(await popupAsk(listeners, { type: "media-download", tab: 9, url: "https://drm.test/p/manifest.mpd" }), { ok: false, why: "drm" });