I need to activate an snippet within this page, but the page does not have any part in which I can type to type and activate the snippet. Any ideas?
Hello and welcome to the forum!
Instead of typing shortcuts, you can activate snippets by right clicking and hovering over the Text Blaze icon, or by clicking on the extension icon in the top right of Chrome. Unfortunately, these methods still need a text box available on the page to allow them to work. Could you please share your end goal with this snippet so we can discuss possible workarounds?
Just a thought— you can try using a Userscript to automatically inject a text box on the page on page load.
It could be as simple as:
// ==UserScript== // @name Add Text Box // @description Add a text box to websites when page is loaded // @author @me // @version 0.1 // @include * // ==/UserScript== 'use strict' const tb = document.createElement('input'); tb.type = "text"; tb.id = "textblaze"; document.body.appendChild(tb);
Try pasting the above into your browser console to see it added to the bottom of this page!
2 Likes
If there's no textbox on the page, what are you trying to use the snippet for?