스마트폰에서 유용한 팁의 글을 pdf문서파일로 만들어 저장하는 방법

모바일/모바일정보

 

준비물:

tampermonkey어플

복사방지자바스크립트.txt

워드어플

easypdf어플

 

 

 

1,복사방지사이트글 복사하기

핸드폰을 검색하다 보면  유용한 글들이 있다. 이걸 다음에도 보기위해서 문서파일로 저장하여

오프라인상태에서도 저장된 유용한 문서들을 보고싶은데 복사하는게 방지되어 있는 사이트들이 있다.

보통 자바스크립트를 차단하면 글과그림을 복사할 수 있는데 안되는 경우도 있다. 이때 tampermonkey어

플을 설치하여 이용하면 복사방지된 글과그림을 복사할수 있다.

 

Screenshot_2016-11-07-19-10-50

 

위의 hackerc.com사이트의 글은 펌방지가 되어 글과그림을 복사할수 없다.

플레이스토어에서  tampermonkey를 검색하여 설치해준다..

 

 

Screenshot_2016-11-07-19-11-39

Screenshot_2016-11-07-19-09-31

installed userscripts를 눌러 복사방지스크립트를  설치해 준다.

 

Screenshot_2016-11-07-19-40-24

 

위의 옵션을 선택해주고

 

Screenshot_2016-11-07-19-40-28

 

스타트 버튼을 누른다.

 

Screenshot_2016-11-07-19-12-35

 

editor의  usserscript 내용에 마우스우클릭 해제 자바스크립트(아래스크립트복사) 추가해준다.(9번줄에 추가해준다.)

 

// ==UserScript==
// @name Allow Copy and Context Menu Continued Modified by DandyClubs
// @version 7.3.4
// @author Anonimous
// @namespace https://greasyfork.org/en/users/16081-lolipop
// @description Allow Copy (include hot keys and some css) & Context Menu. Disable (remove) copy text protection and allow copy for all sites. Thanks Lex1 for example http://lexi.ucoz.ru/buttons.html
// @include *
// @license GPL version 3 or any later version; www.gnu.org/licenses/gpl-3.0.en.html
// @grant none
// @run-at document-start
// ==/UserScript==

;(function(){

/* handler names */
/*
* NOTE! 'drag', 'dragend', 'dragstart' - when drag text, use alt + selection for text or add them to array
*/
var loc = window.location.href.toLowerCase();
if (loc.indexOf("naver.com") != -1){
handlerNameArr = ['contextmenu', 'copy', 'cut', 'paste', 'select', 'selectstart'];
}
else {
handlerNameArr = ['contextmenu', 'copy', 'cut', 'paste', 'mousedown', 'mouseup', 'beforeunload', 'beforeprint', 'keyup', 'keydown', 'select', 'selectstart', 'drag', 'dragend', 'dragstart'];
}

/* remove protection of window */
var removeProtection = function removeProtectionName(protectedWindow) {

/*
* document object in frames is same as window https://developer.mozilla.org/en-US/docs/Web/API/Window/frames
* frames == iframe + frame
*/
for(var i=0; i < handlerNameArr.length; i++){
var handlerName = handlerNameArr[i];
var handlerOnName = 'on' + handlerName;
if(protectedWindow[handlerOnName])
protectedWindow[handlerOnName] = null;
protectedWindow.addEventListener(handlerName, function(e){ e.stopPropagation(); }, true);
}

};
/* remove css protection */
var removeCssProtection = function removeCssProtectionName() {
var cssStyle = '* {-moz-user-focus: initial !important;user-focus: initial !important;-moz-user-input: initial !important;-moz-user-select: initial !important;-webkit-user-select: initial !important;user-select: initial !important;} ';
//GreaseMonkey only
/* @grant GM_addStyle need */
//GM_addStyle(cssStyle);
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = cssStyle;
document.head.appendChild(style);
};

/* remove main window protection */
removeProtection(window);

/* remove frame window protection */
var frameList = window.frames;

for(var i = 0; i < frameList.length; i++) {
try{
removeProtection(frameList[i]);
} catch(e){
}
}
removeCssProtection();

})();

 

이제 tampermonkey어플를 사용할 수 있게 되었다. 이제 제대로 설치되었는지 적용해 본다.

크롬브라우저에서 복사방지사이트의 주소를 복사한다.

 

Screenshot_2016-11-07-19-33-05

 

tampermonkey어플을 실행한다.

 

Screenshot_2016-11-07-19-33-33

 

tampermonkey어플 주소란에 복사한 사이트의 주소를 넣고 엔터를 누른다.

이제 tampermonkey어플에 복사방지 사이트가 로드되었다.

아래의 빨간색의 숫자는 복사방지가 해제 되어서 복사를 할 수 있게 되었다는 걸 의미한다.

 

Screenshot_2016-11-07-19-41-41

 

2,모바일용 워드어플을 이용하여 docx문서파일을 만들기

위의 복사된 글과그림을 모바일용 워드어플을 실행하여 새로 만들기를 누른다. 붙여넣기를 원본서식유지를 기본설정하여 붙여넣기를 하면 글과 그림이 워드에 복사되어진다.이글을 docx 파일로 저장한다.

 

Screenshot_2016-11-07-20-09-23Screenshot_2016-11-07-20-09-35Screenshot_2016-11-07-20-11-08

 

 

 

3,easypdf어플을 이용하여 docx파일을 pdf파일로 변환하기

docx의 문서파일을 easypdf를 이용하여 pdf파일로 변환한다. 그리고 변환된 파일을 pdf뷰어앱을 이용하여 볼 수 있게된다

 

 

Screenshot_2016-11-07-20-11-30Screenshot_2016-11-07-20-11-55Screenshot_2016-11-07-20-12-01