Don't want to be nitpicking but shouldn't that read if(window.location.protocol!="file:") config.options.txtTheme = "OnlineTheme";
? ...since I would think that the "OnlineTheme" is the one shown over 'http:' rather than 'file:'. You could also use that logic to set any variable you like... window.viewedOverHttp=window.location.protocol!="file:"; And then use HideWhenPlugin [1] to trigger different templates or template elements. <div macro="hideWhen window.viewedOverHttp">my private stuff</div> or use it directly... <div macro="showWhen window.location.protocol=='file:'">my private stuff</div> Cheers, Tobias. [1] http://mptw.tiddlyspot.com/#HideWhenPlugin -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

