Browse Source

Flickr: Allow saving any image

Jason Tarka 1 year ago
parent
commit
f95d4af9c3
1 changed files with 23 additions and 0 deletions
  1. 23 0
      flickr-save-any-image.user.js

+ 23 - 0
flickr-save-any-image.user.js

@@ -0,0 +1,23 @@
+// ==UserScript==
+// @name         Flickr: Allow saving any image
+// @namespace    http://tampermonkey.net/
+// @version      2024-11-23
+// @description  try to take over the world!
+// @author       You
+// @match        https://www.flickr.com/photos/*/*/sizes/*
+// @icon         https://www.google.com/s2/favicons?sz=64&domain=flickr.com
+// @grant        none
+// ==/UserScript==
+
+(function() {
+    'use strict';
+
+    var faker = document.querySelector('.spaceball');
+    if (!faker) {
+        faker = document.querySelector('.allsizes-photo > div');
+    }
+    if (!faker) {
+        console.warning('Could not locate spaceball faker');
+    }
+    faker.remove();
+})();