rejetto forum

Îòêðûòèå ññûëêè â Mozilla

Guest · 4 · 5655

0 Members and 1 Guest are viewing this topic.

cHarmful

  • Guest
Ó ìåíÿ îñíîâíûì áðàóçåðîì Mozilla. ñòîèò ïî óìîë÷àíèþ â ñèñòåìå - îíîæå. Åñëè ïðîñòî ùåëêàòü íà ññûëêå - ññûëêà îòêðûâàåòñÿ â òåêóùåì òàáå áðàóçåðà. ýòî íå âñåãäà óäîáíî.
Êîìàíäíîé ñòðîêîé ìîæíî ñêàçàòü áðàóçåðó, ÷òîá îí îòêðûâàë ññûëêó â òåêóùåì îêíå:
mozilla.exe -remote 'openURL(<url>)'

â íîâîì îêíå:
mozilla.exe -remote 'openURL(<url>,new-window)'

â íîâîì òàáå:
mozilla.exe -remove 'openURL(<url>,new-tab)'

÷òî íàïèñÀòü âìåñòî <url> ? %url %L è òï íå êàòÿò. :)


Offline Alexey

  • Tireless poster
  • ****
    • Posts: 363
    • View Profile
    • http://alexeyslav.nm.ru
à %1 íå ïðîáîâàë? ìîæ ïîêàòèò .. íî ñîìíåâàþñü. êàæèñü êðûñêà ïðîñòî âûçûâàåò ïðîãðàììó ïîäñòàâëÿÿ åé ÓÐË â êà÷åñòâå ïàðàìåòðà.
Ìîæíî ñäåëàòü ïðîùå - íàïèñàòü ìèíè-ïðîãðàììêó êîòîðàÿ çàïóñêàëà áû áðàóçåð êàê íàäî ;).


Offline BruteHost

  • Moderator
  • Tireless poster
  • *****
    • Posts: 346
    • View Profile
Quote from: "Alexey"
êàæèñü êðûñêà ïðîñòî âûçûâàåò ïðîãðàììó ïîäñòàâëÿÿ åé ÓÐË â êà÷åñòâå ïàðàìåòðà.
ñîãëàñåí, ïðîèçâîäèòñÿ îáû÷íîå îòêðûòèå ññûëêè. êàê âðîäå ïîëüçîâàòåëü îòêðûâàåò ÿðëûê íà ðåñóðñ â èíòåðíåò, ñèñòåìà è çàïóñêàåò áðàóçåð ïî óìîë÷àíèþ.
äóìàþ ÷òî îïðåäåëåíèå êðûñîé êàêîé áðàóçåð óñòàíîâëåí, è êàê èìåííî â íåì îòêðûòü ññûëêó èçëèøíå è ðåçóëüòàò íå "âîçìåñòèò" ïîòðà÷åííîãî íà ðàáîòó âðåìÿ.
äóìàþ ïðîùå ðåøèòü ýòîò âîïðîñ ñ êîìàíäîé ðàçðàáîò÷èêîâ Mozilla.
â Opera ýòî óæå ïðåäóñìîòðåíî.
I prefer Linux OS for develpment and server tasks.
How about you? :)


Offline Alexey

  • Tireless poster
  • ****
    • Posts: 363
    • View Profile
    • http://alexeyslav.nm.ru
Îñìåëþñü ïðåäëîæèòü ñîçäàíèå bat ôàéëà, â êîòîðîì ìîæíî óæå èñïîëüçîâàòü %1 â êà÷åñòâå URL. Ïèøåì â íàñòðîéêàõ "äðóãîé áðàóçåð" è ïîëíûé ïóòü ê ýòîìó bat-ôàéëó. åñëè ïî êàêîé-òî ïðè÷èíå bat íå ïîêàòèò, ÷òîæ .. ïðèäåòñÿ ïèñàòü EXE-øíèê ñ òàêîé æå ôóíêöèîíàëüíîñòüþ. Õîòÿ ÿ ãäå-òî âèäåë îäíó ïðîãó êîòîðàÿ èç bat äåëàåò exe.