소스 검색

Flickr: Allow saving any image

Jason Tarka 1 년 전
부모
커밋
f95d4af9c3
1개의 변경된 파일23개의 추가작업 그리고 0개의 파일을 삭제
  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();
+})();