Q. 프롬 공유점

EXIF 체크 후 올린 게시글에서는 다음 플러그인을 설치하고 코드를 추가한 뒤, 원하는 사진을 클릭하면 바로 볼 수 있다.

https://arca.live/b/aiart/60334428

혹은 

이 코드를 사용하면 클릭없이 볼 수 있다. (소개. 단점: 로라는 보이지 않는다.)

https://greasyfork.org/scripts/460848-prompt-extractor-user-js/code/prompt-extractoruserjs.user.js




A. EXIF 체크했는데요?

그림을 올린 뒤 체크하거나, 그림을 삭제하고 동일한 그림을 다시 업로드하면 유지가 안 된다.

EXIF 를 자동으로 체크해주는 스크립트가 있었다. 글을 삭제해서 아래에 스크립트를 적음.

플러그인을 설치하고 '새 스크립트 만들기' 클릭 후 다음 코드를 넣고 저장한 뒤, 

활성화하면 된다.


// ==UserScript==

// @name         exif파일명자동체크

// @namespace    https://arca.live/b/aiartreal/write

// @version      0.3

// @description  단 3줄이었던 코드

// @author       You

// @license MIT

// @match        https://arca.live/b/aiart/*

// @match        https://arca.live/b/aiartreal/*

// @icon         https://www.google.com/s2/favicons?sz=64&domain=arca.live

// @grant        none

// @require    http://code.jquery.com/jquery-latest.js

// ==/UserScript==


(function() {

    'use strict';

    setTimeout(function() {

        console.log('on');

        var e = document.getElementById('imagesMultiUpload-1');

        var observer = new MutationObserver(function (event) {

            console.log('check');

            $("#saveExif").prop("checked", true);

            $("#saveFilename").prop("checked", true);

        })

        observer.observe(e, {

            attributes: true,

            attributeFilter: ['class'],

            childList: false,

            characterData: false

        })

    }, 500);

})();







+ 해당 폴더의 모든 사진 EXIF 보는 방법