Hi Mat

Not wishing to discourage you, but browsers have invested 20 years of effort 
into stopping web pages from being able to open popup windows without user 
interaction. I don’t think you’ll succeed without a browser extension of some 
sort.

(The current open-in-new-window code only works in modern browsers because it 
is executed directly in response to a user interaction; trying to open a new 
window with a timer won’t work on most browsers).

Best wishes

Jeremy.


> On 4 Apr 2017, at 20:29, Mat <[email protected]> wrote:
> 
> I want an additional separate browser window to open when I surf to my TW, 
> i.e the same result as when clicking the tiddler toolbar button "Open in new 
> window".
> 
> The hope is to make my plugin TW Admin <http://tw-admin.tiddlyspot.com/> so 
> that one can surf directly to http://.../#tw-admin and have the tiddler show 
> in a separate window right away. The separate window should not open if that 
> tiddler is not in the url. I guess it would be good if it always opens that 
> tiddler as a separate window if it appears .
> 
> The ideal would be for this to be made in wikitext but I suspect that is not 
> possible.
> 
> The "Open in new window" button relies on the tw-open-window message, which 
> is defined in:
> 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/windows.js
>  
> <https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/windows.js>
> 
> ...but I'm guessing it is some other mechanism that would trigger it on 
> startup, perhaps
> 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/load-modules.js
>  
> <https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/load-modules.js>
> Unfortunately, I have no idea what to do next.
> 
> 
> Generally it would be cool if one could tag tiddlers to have them open 
> separately on startup, but that is more than I need in my particular case 
> where I only want a specific tiddler to open separately.
> 
> An alternative might be to add a what's-it-called to the url like so 
> http://....:foo i.e a colon with some parameter that triggers something that 
> is defined in the TW. I believe Tobias and Jed have experimented with such 
> things.
> 
> So - any ideas how this can be made?
> 
> Thanks!
> 
> <:-)
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/4138e574-0e36-4954-92ad-7da8f9be292e%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/4138e574-0e36-4954-92ad-7da8f9be292e%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27D5D125-1ACB-41E5-99AC-B80F4B790DB2%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to