Oh, I thought that I might add that is how those annoying "Your computer is 
infected" malware advertisements work where they pop up regardless of your 
browser's settings.

-Doug

On Wednesday, April 5, 2017 at 12:25:37 AM UTC-5, Douglas Counts wrote:
>
> You can use `window.open()` to open a new window, control its appearance, 
> turn off things like toolbars, or do just about anything else you would 
> like to do.
>
> The trick is to *change* the window in some way such as removing the 
> status bar, setting a width, etc.  Those can't be opened in a tab, thus 
> forcing the browser to override its default setting to open all new windows 
> in a tab.
>
> ```
>
> window.open('http://www.google.com', '_blank', 
> 'toolbar=0,location=0,menubar=0');
>
> ```
>
> -Doug
>
>
> On Tuesday, April 4, 2017 at 2:29:03 PM UTC-5, Mat 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
>>
>> ...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
>>
>> 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0892d1a9-a416-423f-b3bb-3169fc234def%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to