Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
shmediaproductions
3 discussion posts
I'm trying to make a window position profile that applies to all regular Firefox windows, but does not apply to a Browser Toolbox window. They have the same class (MozillaWindowClass). Obviously I could set the Window Text value to
-"Developer Tools — "
and that would at least guarantee that I don't resize the devtools. But then I won't be able to resize regular Firefox windows whose titles contain that string.

Which is plausible, because any webpage whose title ends in "Developer Tools" (e.g., articles about the devtools) will have that " — " appended by Firefox. For example, Firefox's built-in
about:devtools
page's title is "About Developer Tools" so if it's the active tab, the regular Firefox window's title will be
About Developer Tools — Firefox
. Which will be excluded by the text query above.

In regex we have the operator
^
which denotes the start of a string. So that would at least narrow it down to only interfering with webpages whose exact title is "Developer Tools" and webpages whose title begins with "Developer Tools — " (since there's no way to distinguish between the hyphen added by Firefox, and hyphens written into the webpage's actual title).

If we had regex, I could make a much narrower rule. For example, a typical browser toolbox title would be
Developer Tools — Active tab's title — Firefox Nightly — chrome://browser/content/browser.xhtml
. So a viable regex could be
/^Developer Tools — .* — Firefox Nightly — [^:]*:[^:]*$/


Are there any tricks to achieving something similar? I read the article on text queries but it doesn't seem to have any anchor tokens at all. If that's the case, then can you implement regex matching for text queries?
Thanks 🙏
Jan 24, 2022 (modified Jan 24, 2022)  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

I've added this to our feature request list. We don't guarantee that feature requests will be implemented, or offer timelines on possible implementation. We'll be sure to let you know if we do add it to our planned features in a future version.

Thanks!
Jan 26, 2022  • #2
User Image
shmediaproductions
3 discussion posts
Quote:
Hello,

I've added this to our feature request list. We don't guarantee that feature requests will be implemented, or offer timelines on possible implementation. We'll be sure to let you know if we do add it to our planned features in a future version.

Thanks!


Awesome, thanks!
Jan 26, 2022  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)