Hello, I apologize if this question seems too simple, but I’m still not very familiar with Text Blaze. So, if you could help me, I would appreciate it. I would like to know how to make shortcuts work only on specific websites. For example, let's say I'm using the web version of Notion at Seu espaço de trabalho conectado para wikis, documentos e projetos | Notion and I want that, only on this specific site, when I type the number 1, it automatically transforms into the word "one." I’m having trouble making this work because when I create the snippet, it works on every other site. So, for instance, if I have to type a password that contains the number 1, it gets transformed into "one," which is not what I want. I apologize for my English, but I appreciate your help in advance.
Hi @LILIAN_ALVES Welcome to the forum! No worries, it's a reasonable question and I don't think we've answered it specifically before.
It is possible to run Text Blaze only on specific websites. To do that:
- Visit this link: chrome://extensions/?id=idgadaccgipmpannjkmfddolnnhmeklj#:~:text=Site%20access
- Check "Site access" heading and change the value for "On all sites" to specific sites that you'd like.
Here's an image for that setting:
Note: if you want to restrict only specific snippets to specific sites, for example you want to restrict your first folder to notion.com but your second folder to google.com, then sadly this is not possible at the moment.
@Gaurang_Tandon I'm not at my computer right now so I can't create the formula, but what about if they use an IF command? For example: IF the website equals then ”one" else " ". Could this be possible?
Hi @Jennifer_Saavedra Welcome back to the forum!
Yes you can do something like this:
{if: {site:domain}="google.com"}On Google page{else}Not on google page{endif}
Thank you @Gaurang_Tandon ! @LILIAN_ALVES Now you have two options you can try. The formula below would only need you to switch what is inside the quotation marks to the website you want the snippet to activate on. Try it and see if that fixes your issue.
{if: {site:domain}="google.com"}one{else}{endif}
Good idea! One more thing to try is this:
{if: {site: domain}="www.google.com"}one{else}{snippet: shortcut}{endif}
This will just re-insert the snippet shortcut if we're not on google.com, so you can continue typing as usual.
This uses the {snippet} command.
This is a great idea! I'm going to try this on my own to see where I can apply it. With all the new updates, I want to take the time to go through my day to day snippets to see if there are ways to clean them up and make them more streamlined.