Q
유비쿼터스 해킹
-2
A
답변
2
"번역하기"및 "편집 - 페이지". 호스팅 된 도메인을 지원하는 경우 Google Apps 기능이 유용하다고 생각합니다.
makeSearchCommand({
name: "stackoverflow-tagsearch",
author: { name: "Jörg W Mittag", email: "[email protected]"},
license: "MIT X11",
url: "http://Beta.StackOverflow.Com/questions/tagged/{QUERY}",
icon: "http://StackOverflow.Com/favicon.ico",
description: "Searches <a href=\"http://StackOverflow.Com\">StackOverflow.Com</a> for the given tag(s).",
help: "Searches <a href=\"http://StackOverflow.Com\">StackOverflow.Com</a> for the given tag(s).",
preview: function(pBlock, directObj) {
if (directObj.text)
pBlock.innerHtml = "Searches <a href=\"http://StackOverflow.Com\">StackOverflow.Com</a> for " + directObj.text;
else
pBlock.innerHTML = "Searches <a href=\"http://StackOverflow.Com\">StackOverflow.Com</a> for the given tag(s).";
}
});
멋진 장난감 :
2
나는 마우스와 구석에 그 작은 [X] 일 때와 할 수있는 그런 다음 - P
0
내 동료는 자신의 컴퓨터에 3 블루 스크린을했다 ... 빠른 파이어 폭스를 종료 할 수 설치 이후. 이것이 그 일을 완전히 확신하지는 못했지만, 오늘 그가 바꾼 유일한 것입니다. 나는 그것을 현재 제거하고있다.
2
난 그냥 쓴!
이제 HTTP POST를 http://Beta.StackOverflow.Com/search에 JQuery와 유비 쿼티로 연결하는 방법을 알아야합니다 ... 내가 그 질문을 할 수있는 사이트가 있다면!
3
나는이 며칠 전에 쓴 : http://www.appidx.com/ubiq/stackoverflow.html
는 부분이 POST 데이터와 실행을 거부 실행합니다. 코드가 올바른 코드이며 XUL 구성 요소 javascript가있는 함수의 원시 코드로 시도했지만 실행을 거부합니다. 어떤 도움을 주시면 감사하겠습니다. 다른 한편으로는 미리보기가 잘 작동합니다.
CmdUtils.CreateCommand({
name: "stackoverflow",
author: {name: "Aryeh Goldsmith"},
homepage: "http://www.appidx.com/ubiq/",
icon: "http://stackoverflow.com/favicon.ico",
takes: {search: noun_arb_text},
license: "MPL",
description: "Searches the highlighted text on stackoverflow.",
_version: "52",
preview: function (pblock, inputObject) {
var query = inputObject.text;
pblock.innerHTML = "Search stackoverflow.com for " + query + "<br/>";
var url = "http://stackoverflow.com/search";
params = {"search-text": query, "hiddenstuff": ''};
jQuery.post(url, params, function(html) {
var $ = jQuery;
pblock.innerHTML += "<div style='display:none;'>" + html + "</div>";
var ques = $(pblock).find('.summary h3');
var details = $(pblock).find('.summary .excerpt');
var out = "<div style='margin-bottom: 6px;'><b>Previewing the first 5 results:</b></div>";
for (var j = 0; j< ques.size() && j < 5; j++) {
out += "<div style='padding: 5px;'><b>" + ques[j].innerHTML + "</b><br />";
out += details[j].innerHTML + "</div>";
}
pblock.innerHTML = out;
});
},
execute: function(inputObject) {
var query = inputObject.text;
var url = "http://stackoverflow.com/search";
var params = {
"search-text": query,
hiddenstuff: ""
};
// The following refuses to work... why? I just don't know! AFAIK it's correct.
openUrl(url, params);
},
})
1
나는 블루 스크린이 발생하지 마십시오 "를 이메일을 보내"과 "트위터는"유비처럼
자바 스크립트 확장 명령을 많이 사용합니다. 결함있는 드라이버 및 하드웨어로 인해 블루 스크린이 발생합니다. 한숨... – Nickolay