Updated: Just use qutebrowser (and disable javascript). The web is done for.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open facebook.com/messages and the stickers pop-up, click on a Facebook Sticker set, open up your JS console and paste this | |
function dumpStickers() { | |
URLs = []; | |
URLs.push(document.querySelectorAll('._5r8a._5r8b')[0].getAttribute('aria-label')); | |
[].slice.call(document.querySelectorAll('._5r8h')).forEach(function (el) { | |
URLs.push(el.querySelector('div').style.backgroundImage.replace('url(','').replace(')','').replace('p64','p128').replace('x64','x128')); | |
}); | |
return URLs; | |
} | |
copy(dumpStickers()); |