Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=JamesD] [quote=deadlock] Did you try to use $WindowNumber and $TabNumber? [/quote] They return the integer counts of windows and tabs in the window in focus. [code] _Snippet_RunCode { $_Snippet_Value = getwinvar(TabNumber); if ( $TabNumber == $_Snippet_Value ) { alert($_Snippet_Value, "getwinvar(TabNumber)"); } $_Snippet_Value2 = getwinvar(WindowNumber); if ( $WindowNumber == $_Snippet_Value2 ) { alert($_Snippet_Value2, "getwinvar(WindowNumber)"); } } [/code] I need to have something which will identify which tab/window has the focus. The URL is no help, because that will most likely change over time.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development