Last active
April 18, 2020 20:59
-
-
Save oldcai/0c07bc289db48418ecf3f51b0e899581 to your computer and use it in GitHub Desktop.
Enable copy 500px images and image links by right click at the image
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
// ==UserScript== | |
// @name copy 500px images | |
// @namespace http://www.oldcai.com/ | |
// @version 0.1 | |
// @description copy 500px images | |
// @author You | |
// @match https://500px.com/photo/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
$('body').on('DOMNodeInserted', '#photo_copyright_tooltip', function(e) { | |
$('.photo').css('z-index', 99999); | |
$('.photo-focus__photo').css('z-index', 99999); | |
console.log('put photo to front'); | |
return true; | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment