Last active
July 21, 2020 16:24
-
-
Save MaySoMusician/49ec6bed0fe14e55819310132b72e24f to your computer and use it in GitHub Desktop.
The Supreme Court of Japan demanded in July 21, 2020, that the Twitter, Inc. disclose their users' e-mail addresses, who retweeted an copyright-violated image, because any image that are automatically trimmed by Twitter (by styling with HTML and/or CSS) are an infringement of the “right to maintain integrity” of the authors of the original image…
This file contains hidden or 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
/* | |
** 1. Visit https://twitter.com/ | |
** 2. Let $ be jQuery, that are loaded in some way | |
** 3. Run the following code in your browser's console | |
** | |
** I tested the code with jQuery Injector by attilathedud to load jQuery | |
** https://chrome.google.com/webstore/detail/jquery-injector/ekkjohcjbjcjjifokpingdbdlfekjcgi/related | |
** Of course you can use any tool to do this | |
** | |
** Note: this code doesn't automatically disable clipping the images you load after running the code | |
*/ | |
$("a[href*='/photo/'] img").each(function(index) { | |
const b = $(this) | |
b.parent().css('height', '100%').css('width', '100%').css('margin', '0') | |
b.siblings('div').css('background-size', 'contain') | |
}) | |
/* | |
** The Supreme Court of Japan demanded in July 21, 2020, that the Twitter, Inc. | |
** disclose their users' e-mail addresses, who retweeted an copyright-violated image, | |
** because any image that are automatically trimmed by Twitter (by styling with HTML | |
** and/or CSS) are an infringement of the “right to maintain integrity” of the authors | |
** of the original image, regardless of whether it is unauthorised-copied or not. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My tweets: