- Install TamperMonkey extension
- Click on
Rawbutton near theinstagram-image-download.user.jsscript - Click "Install"
Now you have a download button on each photo.
| // ==UserScript== | |
| // @name Tsum Image Downloader | |
| // @namespace tsum | |
| // @include https://www.tsum.ru/* | |
| // @match *://www.tsum.ru/* | |
| // @version 1.1.1 | |
| // @grant none | |
| // @author Oleg Koval | |
| // ==/UserScript== |
| var lines = ''; | |
| var songs = document.querySelectorAll('div[class^="audio_row__title"]'); | |
| var artists = document.querySelectorAll('div[class^="audio_row__performers"]'); | |
| for(var i=0; i < songs.length; i++) { | |
| lines += artists[i].innerText + " — " + songs[i].innerText + "\n"; | |
| } | |
| copy(lines); |
| var oldAddEventListener = EventTarget.prototype.addEventListener; | |
| EventTarget.prototype.addEventListener = function(eventName, eventHandler) | |
| { | |
| oldAddEventListener.call(this, eventName, function(event) { | |
| console.log(eventName); | |
| eventHandler(event); | |
| }); | |
| }; |
| lines = ''; | |
| var songs = document.querySelectorAll('[class^="SongTitle__heading"] a'); | |
| var artists = document.querySelectorAll('[class^="SongEventRow__subtitle"] a[class="Tunefind__Artist"]'); | |
| [].forEach.call(artists, function(item,i,a) { | |
| lines += item.innerHTML + " — " + songs[i].innerHTML + "\n"; | |
| }); | |
| console.log(lines); |
| // ==UserScript== | |
| // @name Twitter Image Download | |
| // @version 1.2 | |
| // @match https://pbs.twimg.com/media/* | |
| // @match https://twitter.com/* | |
| // @grant none | |
| // @author Oleg Koval | |
| // @noframes | |
| // @namespace twitter | |
| // ==/UserScript== |
| // ==UserScript== | |
| // @name List of EW Gallery Images | |
| // @namespace ew | |
| // @author Oleg Koval | |
| // @match http://ew.com/news/*/* | |
| // @version 1.1 | |
| // @grant none | |
| // ==/UserScript== | |
| window.galleryListToggle = false; |
| var csv = "data:text/csv;charset=utf-8,"; | |
| var obj = document.getElementsByClassName("sale_page_name_link"); | |
| [].forEach.call(obj, function(item,i,a) { | |
| csv += item.innerHTML; | |
| }); | |
| var content = encodeURI(csv); | |
| window.open(content); |
| (^\/\/.*)|(\s+\/\/.*)|((\/\*)(.|\n)+?(\*\/)) |
| function value = myround(x, n) | |
| if(n > 0) n = -n; end | |
| value = round(x/(10^n))*(10^n); | |
| end |