SoundCloudLog

Log played SoundCloud tracks in browsing history to avoid losing music. More detailed instructions and logMode setting inside code.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

المؤلف
Gercomsci
التثبيت اليومي
0
إجمالي التثبيت
45
التقييمات
0 0 0
الإصدار
1.1
تم إنشاؤه
05-06-2021
تم تحديثه
05-06-2021
الحجم
3.81 KB
الترخيص
لا يوجد
ينطبق على

SoundCloudLog

Never lose that tune again!

This is my first ever user script. Feel free to fork and improve. Because SoundCloud is a progressive web application, music playing in background is not logged in the browsing history; only when the playback page is actually opened.

This user script makes clever use of browsers' logging of pushState and anchor URLs in the history, and could have saved several tracks I've lost.

Instructions

Originally, I was going to release separate "variant A" and "variant B" scripts for two distinct logging modes. But I decided to combine both variants into a single script for simplicity. This preference can easily be adjusted in the source code of the script, in the "preferences" section.

Log mode A: "pushState" generates a shareable URL. Log mode B: "URL anchor" changes the URL back to prevent interfering with history navigation. For maximum compatibility, "B" is preferred, thus it is preset.

I might implement an in-website user interface for settings in future, but for now, this fullfills its purpose.