나처럼 여러 PC 를 쓰면서, firefox 의 bookmark 를 같이 관리하는 사람들은 book mark sync and sort (firefox 부가 기능) 를 많이 쓸 것이다. 그런데 이 부가기능의 최대 단점은 내려받기가 너무 느려서 실행이 안 될 때가 많다는 거다
google browser sync (http://www.google.com/tools/firefox/browsersync/ )믿을 만한게 못된다
설치한 후, 두 번 째 PC 에서 보면 뒤죽박죽이 되어있다.
book mark sync and sort 그냥 참고 써야곘다
opener.document.formName.inputName.value 를 읽어오려는데
에러가 난다.
IE 창을 보니 '액세수가 거부되었습니다' 라는 에러 메시지가 나온다.
(firebug 에서는 uncaught exception: HTMLDocument.formName 1)
30 분 정도면 고칠 수 있을 줄 알았는데 결국 4 시간만에 찾았다.
parent 쪽에서 domain 을 다시 할당하고 있었다.
(
if(document.domain.toString().indexOf("x1test.co.kr") != -1) document.domain="x1test.co.kr"; else document.domain="x1.co.kr";
)
이럴 때는 child 쪽에서도 위 스크립트를 다시 반복해주면 된다.
에러가 난다.
IE 창을 보니 '액세수가 거부되었습니다' 라는 에러 메시지가 나온다.
(firebug 에서는 uncaught exception: HTMLDocument.formName 1)
30 분 정도면 고칠 수 있을 줄 알았는데 결국 4 시간만에 찾았다.
parent 쪽에서 domain 을 다시 할당하고 있었다.
(
if(document.domain.toString().indexOf("x1test.co.kr") != -1) document.domain="x1test.co.kr"; else document.domain="x1.co.kr";
)
이럴 때는 child 쪽에서도 위 스크립트를 다시 반복해주면 된다.
try
{
adddlert("Welcome guest!")
}
catch(err)
{
txt="There was an error on this page.\n\n"
txt+="Error description: " + err.description + "\n\n"
txt+="Click OK to continue.\n\n"
alert(txt)
}
출전 w3c.org
{
adddlert("Welcome guest!")
}
catch(err)
{
txt="There was an error on this page.\n\n"
txt+="Error description: " + err.description + "\n\n"
txt+="Click OK to continue.\n\n"
alert(txt)
}
출전 w3c.org
TAG JavaScript
TAG digg
function jsUrlCopy() {
if (g_browser == "IE") {
var doc = document.viewForm.url.createTextRange();
doc.select();
doc.execCommand("Copy");
g_popupLayer(ALERT_COPY, 'alert');
}
else {
var str = document.viewForm.url.value;
prompt("이 글의 고유주소입니다. Ctrl+C를 눌러 복사하세요.", str);
}
return;
}
풀꽃세상에서 스크립트를 보고 일단 위 처럼 prompt 로 처리
풀꽃세상에서 스크립트를 보고 일단 위 처럼 prompt 로 처리
IE 에서 cliboard 에 복사하는 기능을
var doc = document.viewForm.url.createTextRange(); doc.select(); doc.execCommand("Copy");
식으로 처리한다.
firefox 에서 같은 기능을 구현하려면 어떻게 해야 할까?
아예 그런 기능이 없는 것일까
==>
firefox 에서는 원칙적으로 불가능하다.
보안 상 clipboard 로 복사하는 것을 허용하지 않기 때문이다.
http://www.jeffothy.com/weblog/clipboard-copy/
에 보면 flash 파일을 이용해서 구현한 트릭이 있다.
var doc = document.viewForm.url.createTextRange(); doc.select(); doc.execCommand("Copy");
식으로 처리한다.
firefox 에서 같은 기능을 구현하려면 어떻게 해야 할까?
아예 그런 기능이 없는 것일까
==>
firefox 에서는 원칙적으로 불가능하다.
보안 상 clipboard 로 복사하는 것을 허용하지 않기 때문이다.
http://www.jeffothy.com/weblog/clipboard-copy/
에 보면 flash 파일을 이용해서 구현한 트릭이 있다.
Senior Systems Engineer (potrero hill)
Reply to: opsjobs@digg.com
Date: 2007-02-26, 2:45PM PST
GENERAL FUNCTIONS:
digg.com is a user driven social content website. We are looking for an experienced Senior Systems Engineer, with a background in managing Linux server clusters at high volume Web sites. To succeed in this position at digg, you'll need to have be very adaptable to performing multiple disparate tasks and ample curiosity about how our code impacts our systems and how to constantly improve the stability and performance of our server environment. A very focused and relaxed attitude is essential. We have a small, self-driven team without much bureaucracy. If you can deal with a loose organization structure with high expectations of performance, then we'd like to talk to you.
RESPONSIBILITIES:
- Manage the physical and logical configuration of Debian Linux servers
- Develop and maintain operations procedures for daily maintenance of servers
- Develop software tools and scripts to configure, monitor and maintain our servers.
- Analyze and maintain performance data to optimize the usage of our server systems.
QUALIFICATIONS:
- Bachelors in Computer Science/Information Systems or comparable experience.
- 6 or more years of systems administration experience at a high volume Web site.
- Solid understanding of Unix systems administration, including filesystem semantics and NFS.
- Deep experience with Apache, MySQL and PHP
- Proficiency in scripting/programming in any of python, perl, python, C, or C++.
- Must have excellent verbal and written communication skills.
PREFERRED:
- Experience maintaining routers/switches/load-balancing devices
- Experience with Systems/Network security
Please contact opsjobs@digg.com with a quick note about yourself and your resume.
- Compensation: DOE
- Principals only. Recruiters, please don't contact this job poster.
- Please, no phone calls about this job!
- Please do not contact job poster about other services, products or commercial interests.
PostingID: 285110049
var atextlist=document.getElementById('answer_list');
document.getElementById
를 호출한는데 자꾸
firebug 에서 has no properties 라는 에러 메시지를 출력하면서
멈춘다. 소스 보기로 보면 해당 atextlist 는 이미 만들어져 있는데 ...
firebug 를 disable 시킨 후에 해보니 정삭 작동한다.
firebug 의 bug 인 것 같다.
==>
firefox(1.5.0.1) 와 버전이 맞지 않아서 생긴듯하다.
이 문제로 1 년 이상 써왔던 firefox 1.* 를 버리고
2.0 대로 업그레이드 했다.
==>
그래도 해결 안되어서
firefox 를 다시 설치 하니까 잘 된다.
extension(부가도구) 끼리 충돌이 있었던 것 같다.
덕분에 sage, scrapbook 의 데이타가 없어졌다.
(FFBE 로도 복원이 안된다)
Google calendar notifier 등을 새로 설정했다.
document.getElementById
를 호출한는데 자꾸
firebug 에서 has no properties 라는 에러 메시지를 출력하면서
멈춘다. 소스 보기로 보면 해당 atextlist 는 이미 만들어져 있는데 ...
firebug 를 disable 시킨 후에 해보니 정삭 작동한다.
firebug 의 bug 인 것 같다.
==>
firefox(1.5.0.1) 와 버전이 맞지 않아서 생긴듯하다.
이 문제로 1 년 이상 써왔던 firefox 1.* 를 버리고
2.0 대로 업그레이드 했다.
==>
그래도 해결 안되어서
firefox 를 다시 설치 하니까 잘 된다.
extension(부가도구) 끼리 충돌이 있었던 것 같다.
덕분에 sage, scrapbook 의 데이타가 없어졌다.
(FFBE 로도 복원이 안된다)
Google calendar notifier 등을 새로 설정했다.
http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&displaylang=en&Hash=RiG8hdI2TukMMEqeFt5MV2p1Lc9bH54aCYVmdmZewt1KznY%2fPyABhDanHPpLf7I28oe8EzB%2b1KomrGoH2fe6pA%3d%3d
firebug 와 비교할 대상은 아니지만 (감히?)
에러 때 적어도
어느 줄에서 에러인 지는 보여준다.
디버그 창이 뜨고 나면
익스플로러는 죽는다.
익숙한 메시지를 남기고
... 프로그램이 응답하지 않습니다 ....
(응답하지 않아도 좋으니 죽지나 마라)
디버그 창이 뜨고 나면
익스플로러는 죽는다.
익숙한 메시지를 남기고
... 프로그램이 응답하지 않습니다 ....
(응답하지 않아도 좋으니 죽지나 마라)
innerHTMTL 을 쓰게 면
div.innerHTML = " aaaa " + " ffff " + " ";
형식이 되는데 innerHTML 안에서 javascript 함수를 호출할 때,
인자로 쓰이는 문자열은 " 를 escape 해서 쓰면 된다.
' 를 escape 하면 작동이 안된다.
div.innerHTML = " aaaa " + " ffff " + " ";
형식이 되는데 innerHTML 안에서 javascript 함수를 호출할 때,
인자로 쓰이는 문자열은 " 를 escape 해서 쓰면 된다.
' 를 escape 하면 작동이 안된다.
이올린에 북마크하기
이올린에 추천하기


