일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 엘든링
- 여행
- 야생의숨결
- Front-end
- JavaScript
- window10
- 오픈워터
- 페오엑
- ubuntu
- hybride
- PostgreSQL
- Linux
- psql
- 젤다의전설
- poe2
- 공략
- 다이빙
- 스쿠버다이빙
- WebView
- JS
- guide
- docker
- 어드벤스
- window
- 개발툴
- 취미
- 세부
- 게임
- 뱀파이어서바이벌
- 씨홀스
- Today
- Total
목록전체 글 (179)
Rianshin
Mixed Content: The page at ‘https://page.com‘ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint This request has been blocked; the content must be served over HTTPS. http와 https의 통신을 한페이지에서 할경우 나오는데 아래와 같이 한줄 추가해주면 해결.
var myArray = ['a', 'b', 'c', 'd', 'e']; myArray.slice(0).reverse().map( function(a){ console.log(a) });

console 객체는 브라우저의 디버깅 콘솔(Firefox 웹 콘솔 등)에 접근할 수 있는 메서드를 제공합니다. 동작 방식은 브라우저마다 다르지만, 사실상 표준으로 여겨지는 기능도 여럿 있습니다. console 객체는 아무 전역 객체에서나 접근할 수 있습니다. 브라우징 문맥에선 Window, 워커에서는 WorkerGlobalScope이 속성으로 포함하고 있습니다. Window.console의 형태로 노출되어 있으므로 간단하게 console로 참조할 수 있습니다. console.log("링크를 열 수 없습니다") 메서드 console.assert() - 첫 번째 매개변수가 false인 경우 메시지와 스택 추적을 출력합니다. console.clear() - 콘솔의 내용을 지웁니다. console.count(..

자바스크립트 문서화를 위한 "jsdoc toolkit" 사용법 및 예제 1. jsdoc tookit-2.4.0.zip(현재 버전 기준)을 다운받아 적당한 위치에 압축을 해제한다. 2. jsdoc toolkit 실행 Mac OS 기준: 터미널 접근 후 해당 폴더(jsdoc tookit 루트 폴더)에 위치하여 아래 명령어를 실행한다. java -jar jsrun.jar app/run.js javascript_doc_test.js(jsdoc을 활용해 변환시킬 *.js 파일) t=templates/jsdoc -d="out"(이와 같이 디렉토리를 지정(-d="out")하면 현재 위치(jsdoc 루트 폴더)에 ".out" 폴더가 생성되며, 그 아래 index.html(root file), symbols(하위 fil..

Hello AngularJS AngularJS의 시작하기전에 Hello AngularJs를 출력하는 소스를 보자. [Other HTML] helloworld [AngularJS] {{greeting}} [AngularJS MVC] {{greeting}} AngularJS 기본 개념 AngularJS를 쉽게 이해하기 위해서 알아두어야 할 기본 개념으로 다음과 같이 5가지를 선정하였고 간단하게 설명하겠다. 1. Scope(AngularJS 2.0 update시 삭제 예정) - Scope는 모델 변경을 감지하고 표현하기위한 책임을 갖는다. - Scope는 DOM 구조와 가깝게 하이어라키 구조를 갖는다(하이어라키 구조는 아래의 그림을 참고^^;) Hello {{name}}! {{name}} 해당 소스에 대해서 ..
var Request = function() { this.getParameter = function(name) { var rtnval = ""; var nowAddress = unescape(location.href); var parameters = (nowAddress.slice(nowAddress.indexOf("?") + 1, nowAddress.length)).split("&"); for (var i = 0; i < parameters.length; i++) { var varName = parameters[i].split("=")[0]; if (varName.toUpperCase() == name.toUpperCase()) { rtnval = parameters[i].split("=")[1]; b..
var orgOpen = window.open; var openkakao; window.open = function (...args) { var getArgs = args; if(getArgs[0].indexOf('kakao.com') >= 0){ openkakao = orgOpen(...args); var timer = setInterval(function() { if(openkakao.closed) { if(document.querySelector("html").style.overflow == "hidden" || document.querySelector("body").style.overflow == "hidden"){ document.querySelector("html").removeAttribut..