Skip to content

Instantly share code, notes, and snippets.

@dmitriy1980
dmitriy1980 / netflix-export.js
Created December 22, 2021 20:25
Export "My List" from Netflix to CSV
(function() {
var lineArray = [];
document.querySelectorAll('.title-card a[aria-label]').forEach(
function(item, index) {
try {
var line = item.getAttribute('aria-label').replace(/,/g, '') + "," + "https://www.netflix.com" + item.getAttribute("href").split("?")[0]
lineArray.push(index == 0 ? "data:text/csv;charset=utf-8," + line : line);
} catch (err) {
console.err("ERROR: Ignored err", err, item)
}
@dmitriy1980
dmitriy1980 / ReadMe.md
Created June 2, 2022 00:07 — forked from vyach-vasiliev/ReadMe.md
Site icon Auto-detector for 1Password entries

Site Icon Auto-detector

Preview

Why?

The 1Password service very often puts site wrong/empty icons in password item pages.

How to use it?

Just copy this line below and paste it in the address of your new bookmark (CTRL+D) in your browser and save it: javascript:open(`https://s2.googleusercontent.com/s2/favicons?sz=64&domain=${document.querySelector('.value.URL input').value}`)