Chic-Tweetz
Chic-Tweetz
The tab / taball commands are great, but this intrigued me and I did manage to get a command working thanks to some of the handy stuff Tridactyl offers (tri.browserBg.tabs...
Hey, I've tinkered with this some more if you're interested. [ready to copy & paste into Tridactyl's command line](https://github.com/Chic-Tweetz/tridactyl-stuff/blob/main/hintable-tabs/commands/hinttabs) [script with line breaks so you can see what's going on](https://github.com/Chic-Tweetz/tridactyl-stuff/blob/main/hintable-tabs/js/hinttabs.js)
@nuanjanP > > In the first link, line 8, I'm not sure but for me I had to change the second word `hinttaballts` needs to be `hinttaball` in order for...
@bovine3dom Ah, yes I don't usually worry about that kind of thing when I'm just making scripts for myself. I'll have a look at iframes. Might it be possible to...
> > I think we'd need to put it in an iframe to protect it, like we do with the command line. I don't think the ShadowDOM would be enough....
@bovine3dom oh yeah it's a lot more complicated for sure. I have made an iframe version that works as one js command, so at least for this tab hinting idea...
@glacambre That certainly seems like it would be simpler. I did manage to cobble together a script [( th.makeIframeHtml in here )](https://github.com/Chic-Tweetz/tridactyl-stuff/blob/main/hinttabs-iframe) which creates an html document as a string...
> > Wouldn't the page be able to read the blob, and thus the iframe's content, through the iframe's src? I'm not sure the need for iframecontent script can be...
> Hey, I've tinkered with this some more if you're interested. > > [ready to copy & paste into Tridactyl's command line](https://github.com/Chic-Tweetz/tridactyl-stuff/blob/main/hintable-tabs/commands/hinttabs) > > [script with line breaks so you...
I recently found that creating a blob URL through Tridactyl's command line iframe's contentWindow gives a "blob:moz-extension://..." URL, eg running (in the cmdline): ``` js const blob = new Blob();...