Jump to content

User:999real

From Wikimedia Commons, the free media repository

Now you don't actually need sign up to use capcut image editing features just go on https://www.capcut.com/editor-graphic

Background remove at full quality https://www.craiyon.com/background-remover

Getty images downloader - https://gettyimages-downloader.beatsnoop.com

  • The quality is decent about 700 KB, you search the image on Tineye to see if someone bought a better quality

Alamy downloader - https://alamy-downloader.beatsnoop.com

Colorize https://colorize-photo.toolxox.com

Use those downloader and colorizer with this Violentmonkey userscript to skip the ads links

// ==UserScript==
// @name        Skip ads askingtips.com n toolxox.com
// @namespace   Violentmonkey Scripts
// @match       https://short.askingtips.com/*
// @match       https://ud.toolxox.com/*
// @grant       none
// @version     1.0
// @author      -
// @description -
// ==/UserScript==
window.location.href = document.querySelector("body > div.ad-container > div.header > a").href;

Show text with copy button like on this page

<syntaxhighlight lang="js" style="display: inline-block;" copy>

JavaScript to help edit, you can paste in browser console or save as bookmark

[edit]

toggle scrolling down constantly in VisualFileChange view. It works as a toggle, it will scroll until you run/click the script again

[edit]
javascript:(function() {
    if (window.scrollInterval) {
        clearInterval(window.scrollInterval);
        window.scrollInterval = null;
        return;
    }
		const scrollButton = document.querySelector("body > div.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-draggable.ui-resizable.ui-dialog-buttons > div.md-nav-button-container > div:nth-child(2) > a");
		const moreButton = document.getElementById('mdQueryMoreBtn');
    window.scrollInterval = setInterval(function() {
        scrollButton.click();
        moreButton.click();
    }, 1000);
})();
[edit]
javascript:(function() {navigator.clipboard.writeText("https://www.tineye.com/search?url="+escape(document.getElementById("file").getElementsByTagName("img")[0].src))})();
[edit]
javascript:(function() {window.open("https://www.tineye.com/search?url="+escape(document.getElementById("file").getElementsByTagName("img")[0].src))})();
[edit]
javascript:(function() { navigator.clipboard.writeText(Array.from(document.getElementsByClassName('mw-file-description')).map(link => (link.getElementsByTagName("img")[0].src)).join('\n')) })();
[edit]
javascript:(function() {const imgs = document.getElementsByClassName('mw-file-description'); for(let i=0; i < imgs.length; i++) window.open("https://www.tineye.com/search?url="+escape(imgs[i].getElementsByTagName("img")[0].src))})();
[edit]
javascript:(function() {window.open("https://lens.google.com/uploadbyurl?url=" + encodeURIComponent(document.getElementById("file").getElementsByTagName("img")[0].src) + "&safe=off")})();
[edit]
javascript:(function() {navigator.clipboard.writeText("https://lens.google.com/uploadbyurl?url=" + encodeURIComponent(document.getElementById("file").getElementsByTagName("img")[0].src) + "&safe=off")})();
[edit]
 javascript:(function() {window.open("https://www.google.com/searchbyimage?sbisrc=4chanx&image_url=" + encodeURIComponent(document.getElementById("file").getElementsByTagName("img")[0].src) + "&safe=off")})();
[edit]
 javascript:(function() {navigator.clipboard.writeText("https://www.google.com/searchbyimage?sbisrc=4chanx&image_url=" + encodeURIComponent(document.getElementById("file").getElementsByTagName("img")[0].src) + "&safe=off")})();


prompt to enter keyword and then select/deselect all images containing it in Cat a lot or VisualfileChange view

[edit]
javascript:(function() {
    const searchString = prompt("Enter keyword");
    let elements = document.getElementsByClassName('gallerytext');
    if(elements.length === 0) elements = document.getElementsByClassName('cat_a_lot_label')  ;
    for (var i = 0; i < elements.length; i++) {
        const e = elements[i];
        if (e.textContent.includes(searchString)) {
            e.click();
            const checkBoxVFC = e.querySelector('input');
            if(checkBoxVFC) checkBoxVFC.checked ^= 1;
        }
    }
})();
[edit]

Copy From_YouTube

javascript:(function() {     navigator.clipboard.writeText('{{From YouTube|' + window.location.href.split('?v=')[1].substring(0, 11)+ '|"' + document.querySelector('yt-formatted-string.ytd-watch-metadata:nth-child(1)').title + '"|t='+document.getElementsByClassName('ytp-time-current')[0].textContent.replace(':','m')+'s}}'); })();

Copy YouTube license template

javascript:(function() {const sdads = document.querySelector('ytd-channel-name.ytd-video-owner-renderer > div:nth-child(1) > div:nth-child(1) > yt-formatted-string:nth-child(1) > a:nth-child(1)'); navigator.clipboard.writeText('{{YouTube CC-BY|[' + sdads.href + ' ' + sdads.textContent + ']}}{{YouTubeReview}}');})();

Copy channel name with link

javascript:(function() {const sdads = document.querySelector('ytd-channel-name.ytd-video-owner-renderer > div:nth-child(1) > div:nth-child(1) > yt-formatted-string:nth-child(1) > a:nth-child(1)'); navigator.clipboard.writeText('[' + sdads.href + ' ' + sdads.textContent + ']');})();
[edit]
javascript:(function() { navigator.clipboard.writeText(Array.from(document.querySelectorAll('.TablePager_col_img_name a:nth-child(1)')).map(link => link.href).join('\n')) })();
[edit]
(function() {
	const toCopy = [];
	const titles = document.getElementsByClassName('jFileTitle');
	const dimensions = document.getElementsByClassName('jFileSize');
	
	const minimumWidth = 1000;
	const minimumHeight = 1000; 
	
	for (let i = 0; i < titles.length; i++) {
		const url = titles[i].href;
		if (url.endsWith('.mpg') || url.endsWith('.mpeg') || url.endsWith('.ogv') || url.endsWith('.webm')) {
			const ds = dimensions[i].textContent.replace(/^.*KiB/, '').replace('px', '');
			const width = ds.replace(/^.* x /, '');
			const height = ds.replace(/^ x .*/, '');
			if((minimumHeight > parseInt(height.replaceAll(' ', ''))) || (minimumWidth > parseInt(width.replaceAll(' ', '')))) toCopy.push(url);
		}
	}
	if (toCopy.length === 0) {
		alert('No videos with width below ' + minimumWidth + ' or height below ' + minimumHeight + ' found on this page');
	} else {
		navigator.clipboard.writeText(toCopy.join('\n')).then(() => {
			alert('Copied ' + toCopy.length + ' items');
		}).catch(err => {
			console.error('Failed to copy: ', err);
		});
	}
})();

Get the languages names from wikidata

[edit]
(function() {
    let ds=[];
const sd=document.querySelectorAll('[data-wb-sitelinks-group="wikipedia"] .wikibase-sitelinkview-link');
   for(let i = 0;i<sd.length;i++){
       ds.push('|'+sd[i].getElementsByTagName('a')[0].hreflang + '='+sd[i].textContent);
   }
console.log(ds.join('\n'));
})();
[edit]

2104 Affected Works The Renewal Act affects works that were still in their original term of copyright at the time it took effect on June 26, 1992, i.e., works published or registered as unpublished works from January 1, 1964 through December 31, 1977.

NOTE: The act does not apply to such works when they were first published with a year date in the copyright notice that is earlier than 1964. For information on how an antedated year date in the copyright notice affects the term of copyright, see Section 2115.2(b).

[https://copyright.gov/comp3/chap2100/ch2100-renewal-registration.pdf 2104]: ...([[w:Copyright Renewal Act of 1992|The Copyright Renewal Act of 1992]]) '''"does not apply to such works when they were first published with a year date in the copyright notice that is earlier than 1964'''.

No date in notice in magazine or newspaper is usually not defective

[edit]

2205.1(E) "Likewise, a year of publication that is prominently displayed elsewhere on copies or phonorecords may be acceptable if it is an appropriate date and if it can reasonably be considered part of the notice. For instance"... "the year of issue for a periodical, even if the date does not appear on the same page as the rest of the notice."

All Rights Reserved is not a valid notice

[edit]
  • 2204.4(C): 'The term “All Rights Reserved” or the like is not an element of the notice prescribed by U.S. law, and it is not an acceptable variant or substitute for the word “Copyright” or the abbreviation “Copr.”' (or copyright symbol)
* [https://www.copyright.gov/comp3/chap2200/ch2200-notice.pdf 2204.4(C)]: 'The term “All Rights Reserved” or the like is not an element of the notice prescribed by U.S. law, and it is '''not an acceptable variant or substitute''' for the word “Copyright” or the abbreviation “Copr.”' (or copyright symbol)