Closed mimteatr closed 4 years ago
Hi! :)
I don't think this is possible. WebExtensions like SSS run sandboxed in the browser and due to security reasons only have access to certain "filesystem things" via user interaction. For example, for SSS to be able to export your settings to a file it already needs the "Downloads" permission and a user-originating button click. :)
Even if it could access the filesystem freely (I'm not sure that it can't per se but...), it would have to be constantly indexing the disk contents to be able to search it like you intend to. I can suggest an alternative, though:
Tools
> Options
> General
and enable the checkbox for URL Protocol
. This registers Everything as a program that can handle the "es" protocol, just like browsers register their ability to handle the http and https protocols (and others).es:{searchTerms}
Now you can use this engine to search the computer via Everything. Just be sure to use "Open in this tab" as the opening behaviour, otherwise SSS will create a new empty tab for nothing. ;)
I hope this helps! Daniel
Hi Daniel!
Sorry for the delay answering you! Your solution works perfectly, thank you!! BTW, are you Brazilian? (Eu sou :) )
Olá! Não há problema. :) Ainda bem que ajudei.
Já agora, no último update do SSS agora existe esta opção ("Discard on open") que evita que a tab da pesquisa fique aberta:
Assim já não é preciso que o opening behaviour seja "Open in this tab" e pode dar jeito. ;)
Quase brasileiro! Sou português. A língua está certa, mas geograficamente estou um pouco longe hahah. ;)
Obrigado amigo, funciona perfeitamente!
Abraços desde Israel!
Maurice
On Fri, May 22, 2020 at 9:35 PM Daniel Lobo notifications@github.com wrote:
Olá! Não há problema. :) Ainda bem que ajudei.
Já agora, no último update do SSS agora existe esta opção ("Discard on open") que evita que a tab da pesquisa fique aberta:
[image: image] https://user-images.githubusercontent.com/532708/82698350-862c4e00-9c62-11ea-947c-f6efb823440b.png
Assim já não é preciso que o opening behaviour seja "Open in this tab" e pode dar jeito. ;)
Quase brasileiro! Sou português. A língua está certa, mas geograficamente estou um pouco longe hahah. ;)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CanisLupus/swift-selection-search/issues/189#issuecomment-632844059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITIDVNWX6HTK3EDLUNQGG3RS3AYRANCNFSM4MSTMIXQ .
-- Maurice Rosenthal +972-52-4533701
De nada! Fico feliz que esteja tudo a funcionar. :)
Um abraço. Daniel
Olá Daniel, tudo bem? Um novo probleminha tem acontecido ultimamente; ao marcar algum texto e procurar no Everything, não se abre a janela deste portanto não dando resultados, só uma nova tentativa o faz. Qual será o problema? Maurice
On Sun, Jun 14, 2020 at 2:44 PM Daniel Lobo notifications@github.com wrote:
De nada! Fico feliz que esteja tudo a funcionar. :)
Um abraço. Daniel
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CanisLupus/swift-selection-search/issues/189#issuecomment-643755237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITIDVPLZ4CEJ35XEXZYDYDRWSZZ5ANCNFSM4MSTMIXQ .
-- Maurice Rosenthal +972-52-4533701
Olá Maurice! Está tudo bem, obrigado. :) Espero que com você também!
Experimentei agora e aqui parece estar funcionar (Firefox 81.0.1, Windows 10). Abre toda a vez.
Não sei onde estará o problema mas sugiro que experimente desativar todos os outros addons no Firefox para perceber se o problema é uma incompatibilidade de algum addon com o SSS. Também pode tentar escrever diretamente no URL algo como "es:something" e pesquisar (várias vezes) para ver se o Everything abre nesse caso ou se apenas não abre quando é feito a partir do SSS.
Abraço, Daniel
Olá Daniel! Infelizmente será impossível testar os mais de 50 (!) add-ons, um por um, tarefa interminável e cansativa. Vale notar que só acontece com o Everything, mas não o tempo todo. Testei o "es:..." e funciona então parece que o problema realmente se encontra na comunicação entre o SSS e o Everything.
Abraços, Maurice
On Sun, Oct 11, 2020 at 12:12 PM Daniel Lobo notifications@github.com wrote:
Olá Maurice! Está tudo bem, obrigado. :) Espero que com você também!
Experimentei agora e aqui parece estar funcionar (Firefox 81.0.1, Windows 10). Abre toda a vez.
Não sei onde estará o problema mas sugiro que experimente desativar todos os outros addons no Firefox para perceber se o problema é uma incompatibilidade de algum addon com o SSS. Também pode tentar escrever diretamente no URL algo como "es:something" e pesquisar (várias vezes) para ver se o Everything abre nesse caso ou se apenas não abre quando é feito a partir do SSS.
Abraço, Daniel
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CanisLupus/swift-selection-search/issues/189#issuecomment-706674748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITIDVPC2ATV6EANFGZOBLLSKFZIJANCNFSM4MSTMIXQ .
-- Maurice Rosenthal +972-52-4533701
Também pode desativar todos os addons exceto o SSS e ver se o problema se mantém. :) Pode ser um addon (ou um setting do Firefox alterado) que interfere com a abertura. O SSS apenas pede ao Firefox que abra o URL numa tab.
Já agora, o problema acontece com a opção "Discard on open" ligada ou sempre?
Abraço!
Bingo! Parece que o problema realmente é o "Discard on open" ativada, tentei várias vezes e é o que acontece. Esqueci de mencionar que o Everything só não abre na primeira vez ao selecionar o texto, uma nova tentativa o abre. Também desativei todos os add-ons e continuou acontecendo até eu desativar o "Discard on open" como mencionei acima. Agora, pois, é necessário fechar manualmente o novo tab mas pelo menos o Everything responde. Até, quem sabe, você descobrir se é solucionável 😜 Abraços!
On Mon, Oct 12, 2020 at 8:16 PM Daniel Lobo notifications@github.com wrote:
Também pode desativar todos os addons exceto o SSS e ver se o problema se mantém. :) Pode ser um addon (ou um setting do Firefox alterado) que interfere com a abertura. O SSS apenas pede ao Firefox que abra o URL numa tab.
Já agora, o problema acontece com a opção "Discard on open" ligada ou sempre?
Abraço!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CanisLupus/swift-selection-search/issues/189#issuecomment-707245064, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITIDVIPT35OKV54UIKO7D3SKM2YXANCNFSM4MSTMIXQ .
-- Maurice Rosenthal +972-52-4533701
Haha fico feliz de pelo menos haver uma forma de dar a volta ao problema. :)
Mas é mesmo estranho porque aqui do meu lado funciona mesmo com o "Discard on open". Para perceber se o problema é no SSS ou outra coisa (Firefox, Everything, etc) teria de conseguir reproduzir a falha. Talvez um dia...? 🤔
Abraço!
Olá Maurice, na versão nova 3.47.0 do SSS existem umas alterações ao funcionamento do "discard on open". A certa altura consegui ver a falha a acontecer (a pesquisa não abria), então tentei uma solução que deve funcionar a maior parte das vezes. (Espero eu! Pode depender da velocidade do PC e é difícil de testar.)
Hello!
I don't if it's even possible... can you add an option to search on the local PC? For example, I have many videos, and when I want to download a new one I want to be sure that I don't already have it, so for the moment I'm copying the title then going to the Windows search and start searching but if this enhancement could be done in the add-on that will be much easier and simple! Thanks!