�m��Ȃ��Ɗm���ɑ�����Ubiquity�‹��\�z�@�FFirefox Hacks�i1/2 �y�[�W�j

�ŋߑ咍�ڂ�Firefox�g���@�\�uUbiquity�v�B�����ŃR�}���h������ł��Ȃ����ł�Ubiquity�̐^�̎��͂�m�邱�Ƃ͂ł���B�{�e�ł́A�R�[�h���L�T�[�r�X�𗘗p���Ď��������̃R�}���h�‹����\�z������@���Љ��B

» 2008�N09��08�� 00��00�� ���J
[���c�����CITmedia]

�@�ŋߑ咍�ڂ�Firefox�g���@�\�uUbiquity�v�BGoogle Chrome�̓o��Ŋ��������������Ƃ͂����A���̖��͂Ɏ��‚��ꂽ�������Ȃ��Ȃ��̂ł͂Ȃ����낤���B

�@Ubiquity�̊�{�I�ȉ���ɂ‚��Ắu�u���E�U�̐V���n�H�@Ubiquity���ς���Ռ��̃u���E�U�̌��v��uUbiquity�W���R�}���h�`�[�g�V�[�g�v�ł��łɏЉ�Ă������A�܂����܂ЂƂ�Ubiquity���g���C�ɂȂ�Ȃ��Ƃ������̂��߂ɁA�uFireFox�v���O�C���wUbiquity�x�ɑ�ʂ̃R�}���h��o�^���ē��{�̃T�C�g���ꔭ�ŊJ�����������@�v�Ƃ����G���g����Ubiquity�̊��p�p��������Ă��鑾�c�������ɂ��Ubiquity�̊��p�p�����͂����悤�B

Ubiquity��StartCommand�̃}�b�V���A�b�v

�@���Mozilla Labs�Ō��J���ꂽFirefox�p�v���O�C���uUbiquity�v�B�ȒP�Ɍ����ƃu���E�U���œ����R�}���h�����`���[�ł���Ubiquity�́A�u���E�U��ŋN���z�b�g�L�[�i�f�t�H���g�ł�Ctrl�{Space�j�������ƃR�}���h���C���C���^�t�F�[�X���I�[�o�[���C����ĕ\������A��������R�}���h���^�C�v���邾���ŁA�n�}�𒲂ׂ���A�ʐ^��T������|�󂵂���ł���B

StartCommand StartCommand

�@Ubiquity�ɂ͕W���ł��܂��܂ȃR�}���h���p�ӂ���Ă���i�`�[�g�V�[�g�j�B�r���g�C������Ă���R�}���h�����ł��\���ɕ֗������A���{��T�C�g�ɓ��������R�}���h���Ȃ��Ǝ��p�I�Ƃ͂����Ȃ��B�����ŁA���{��T�C�g��Uniquity����Ăяo�����߂̕��@���Љ��B

�@���̕��@�́A�M�҂��^�c���Ă���StartCommand�̃R�}���h��Ubiquity�p�ɃG�N�X�|�[�g����Ƃ������̂ł���BStartCommand�́AUniquity�Ɠ��l�ɃR�}���h�ŃT�C�g���J�����Ƃ��ł���Web��̃R�}���h�����`���[�ŁA��N��Mash up Award 3rd�Ń}�b�V���܂���܂���Web�T�[�r�X���BStartCommand�̓����Ƃ��āA�����ŃR�}���h�����R�ɍ���ċ��L�ł��邱�Ƃ��������邪�A���ł�1000�‚��̃R�}���h���o�^����Ă���B

�@Uniquity�ł́AJavaScript��ݒ肷�邱�ƂŃR�}���h�����R�ɒlj��ł���d�g�݂�����B���̎d�g�݂𗘗p���āAStartCommand�œo�^����Ă���R�}���h��Uniquity�ł����p�ł���JavaScript�Ɋg�������̂�����̊̂ł���B�Ȃ��A�ȉ��̉���́A���ł�Ubiquity���C���X�g�[������Ă�����̂Ƃ���B

StartCommand����K�v�ȃR�}���h��T��

R}h �R�}���h��������K�v�ȃR�}���h������

�@�����ł�2�����˂�̃X���b�h�^�C�g�����猟�����s���u2�����˂錟���v�i�R�}���h���́w2ch�x�j�R�}���h��Ubiquity�p�ɃG�N�X�|�[�g����ꍇ��z�肵�Ęb��i�߂悤�B�܂��AStartCommand�ɃA�N�Z�X���A�R�}���h�������N���b�N����B����ʂł́A�J�e�S���Łu�f���v��I�����A�X�^���h�ɂ́ustartcommand�v�Ɠ��͂��Č��������s����ƁA�ړI�̃R�}���h�����‚��邱�Ƃ��ł��邾�낤�B

�@�u2ch [2�����˂錟��]�v���N���b�N����ƁA�R�}���h�̏ڍׂ��\������邪�A��ʉ����ɂ���uUbiquity�p�G�N�X�|�[�g�v�ȉ���JavaScript���K�v�ȃR�[�h�Ȃ̂ł�����R�s�[����B


Ubiquity�ɃR�}���h��o�^����

Ubiquity Command Editor Ubiquity Command Editor�ɃR�s�[�����R�}���h�𒣂�‚�

�@�R�[�h���R�s�[������AUbiquity�̃R�}���h���C���C���^�t�F�[�X���J���A�ucommand-editor�v����͂���Enter�L�[�������i���ۂɂ́A��������͂��邽�тɃC���N�������^���T�[�`�ɂ���Č�₪�i�荞�܂�邽�߁A�f�t�H���g�̏�Ԃł���΁wco�x�܂ł���͂������_��Enter�L�[�������Ă��悢�j�B����ƁAUbiquity Command Editor���\�������̂ŁA�e�L�X�g�{�b�N�X�ɐ�قǃR�s�[����JavaScript�𒣂�‚���B�Ȃ��A�e�L�X�g�{�b�N�X�ɒ���‚������_�ł��̃R�}���h�����p�”\�ƂȂ�B


�o�^�����R�}���h���g��

�o�^�����R�}���h�𗘗p���Ă݂�

�@�R�}���h��o�^�����珀���͊����ƂȂ�B�ĂыN���z�b�g�L�[�ŃR�}���h���C���C���^�t�F�[�X���J���A��قǓo�^�����R�}���h�u2ch�v���g���邩�����Ă݂悤�B�Ⴆ�΁A�u2ch �l�^�v�Ɠ��͂���΁A2�����˂�̃X���b�h�̃^�C�g���Ɂg�l�^�h���܂ނ��̂����X�g�A�b�v����邱�Ƃ��m�F�ł��邾�낤�B


���{����͒��̕ϊ��m���Enter�L�[��p����Ɩ�肪�������錏�ɂ‚���

�@�u�u���E�U�̐V���n�H�@Ubiquity���ς���Ռ��̃u���E�U�̌��v�ł��w�E����Ă��邪�A���݂̃o�[�W�����ł́A���{����͒��̕ϊ��m��̂��߂�Enter�L�[��Ubiquity�ɏE���Ă��܂����߁A�\�����ʌ`�ŃR�}���h�����s����Ă��܂��B���̃o�[�W�����ł͏C�������Ǝv���邪�A�����_�ł̑΍�Ƃ��ẮA�ϊ��m���Enter�L�[�ł͂Ȃ�Ctrl�{M�L�[�ōs�����A�x�엲�O�������J���Ă���C������p������@������B


�@�@�@�@�@�@ 1|2 ���̃y�[�W��

Copyright © ITmedia, Inc. All Rights Reserved.

'; e_dlv.innerHTML = html; adRequest({position:dlv_pos,dom:true}); }else if(ad_type === 'gam'){ var html = '
'; e_dlv.innerHTML = html; refreshGam('InArtSpecialLink'); }else if(ad_type === 'logly'){ var html = '
'; e_dlv.innerHTML = html; loglySet(g_id); }else if(ad_type === 'google'){ var html = '
'; e_dlv.innerHTML = html; googletag.cmd.push(function(){ var slot8 = googletag.defineSlot('/43042345/nlab_artinsert_RT',[[336,280],[300,250],'fluid'],'div-gpt-ad-1551176482959-0').addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.enableServices(); googletag.display('div-gpt-ad-1551176482959-0'); googletag.pubads().refresh([slot8]); }); } }; var insert_ok = function(_target,_str){ var clearfix = d.createElement('div'); clearfix.className = 'colBoxClear'; if(ad_float_fix){ e_body.insertBefore(e_dlv,_target); e_body.insertBefore(clearfix,_target.nextElementSibling); }else{ e_body.insertBefore(e_dlv,_target); } set_dlv(); }; var insert_ng = function(_str){ e_dlv.style.display = 'none'; }; var main = function(){ var e_nodes = e_body.childNodes; // BODY �����q�v�f var e_tags = []; // BODY �����^�O var p_num = []; // BODY ���� P �^�O�ʒu var p_target_num; // �g�}����ʒu var o_float = {}; // ��荞�ݗv�f var o_this = {}; // �A�N�e�B�u�^�O var o_next = {}; // �A�N�e�B�u�^�O�̎��̃^�O var flag_insert = 0; // �}���t���O // ��荞�ݗv�f�`�F�b�N var check_float = function(_e){ var e = 0; if(_e.id.match(/^col\d{3}(l|r)$/)){ e = _e; } return e; }; // �v�f�� Y ���W�ƍ����̍��v�l var get_element_y = function(_e){ var ey = 0; var eh = _e.offsetHeight; while(_e){ ey += _e.offsetTop; _e = _e.offsetParent; } return ey + eh; }; var check_ptag = function(_e){ var e = 0; if(_e.tagName && _e.tagName === 'P'){ e = _e; } return e; }; var try_insert = function(){ p_target_num = Math.floor(p_num.length / 2) - 1; if(p_target_num >= _maxrange) p_target_num = _maxrange; if(dis_con) p_target_num = 0; for(var i = p_num[p_target_num]; i < e_tags.length; i++){ o_this.e = check_ptag(e_tags[i]); if(o_this.e){ o_next.e = check_ptag(e_tags[i + 1]); if(o_next.e){ if(!o_float.e || check_float(e_tags[i - 1])){ o_float.e = check_float(e_tags[i - 1]); o_float.n = i - 1; } if(o_float.e && o_float.n < i + 1){ o_float.y = get_element_y(o_float.e); o_this.y = get_element_y(o_this.e); set_line(o_float.y,'red'); set_line(o_this.y,'blue'); if(o_float.y < o_this.y){ flag_insert = 1; insert_ok(o_next.e,_threshold + ' �p���ȏ��荞�݂���'); break; } }else{ flag_insert = 1; insert_ok(o_next.e,_threshold + ' �p���ȏ��荞�݂Ȃ�'); break; } } }else{ o_float = {}; } } if(!flag_insert){ insert_ng('�}���ʒu�Ȃ�'); } }; // �S�q�v�f����^�O�̂ݔz��ɓ���� for(var i = 0; i < e_nodes.length; i++){ if(e_nodes[i].tagName){ e_tags.push(e_nodes[i]); } } // �S�^�O���� P �^�O�ʒu��z��ɓ���� for(var i = 0; i < e_tags.length; i++){ if(e_tags[i].tagName === 'P') p_num.push(i); // �ŏ��̉�荞�ݗv�f���i�[ if(!o_float.e){ o_float.e = check_float(e_tags[i]); o_float.y = get_element_y(o_float.e); o_float.n = i; } } if(p_num.length >= _threshold){ try_insert(); }else{ insert_ng('P �^�O ' + _threshold + ' �ȉ�'); } }; if(e_body){ main(); }else{ insert_ng('�L���{���Ȃ�'); } })(document,4,5);
���Ȃ��ɂ������߂̋L��PR