FirefoxPrivileges and permalink

0 views
Skip to first unread message

Jon

unread,
Jul 14, 2008, 5:36:55 PM7/14/08
to TiddlyWiki

Xavier Verges' FirefoxPrivilegesPlugin (http://
firefoxprivileges.tiddlyspot.com/) is very helpful in dealing with
some of Firefox 3's more annoying "improvements."

But, when using the SinglePageMode plugin (http://www.tiddlytools.com/
#SinglePageModePlugin) with "Automatically permalink..." set, the
privileges set for, say mytw.htm are not also set for
mytw.htm#GettingStarted (or any other permalink URL).

Is there any way to make the privileges extend to the permalinked
tiddlers, or perhaps to any file URL within a particular directory?

Thanks!

Xavier Vergés

unread,
Jul 15, 2008, 12:54:02 AM7/15/08
to TiddlyWiki
> Is there any way to make the privileges extend to the permalinked
> tiddlers, or perhaps to any file URL within a particular directory?
Not that I know of :--(, and I also agree that it is very
inconvenient.

To me, Firefox not ignoring what comes after "#" is a bug, but it is
not reported as far as I know.

If instead of urls they would let you specify regular expressions,
life would be much more simpler. That would solve both the directory
and the # use cases. I don't know how hard it would be to implement,
but if we don't report it, it won't happen.

(3, 2, 1, 0! Going on vacation and forgetting about everything in few
hours! :-)

-Xv

Chris W

unread,
Jul 15, 2008, 5:16:26 AM7/15/08
to Tiddl...@googlegroups.com
On Mon, 14 Jul 2008 14:36:55 -0700 (PDT)
Jon <jevi...@noctrl.edu> wrote:

> Is there any way to make the privileges extend to the permalinked
> tiddlers, or perhaps to any file URL within a particular directory?

The FF behaviour is a little inconsistent IMHO. If you initially load
the main html file, i.e. file:///tmp/tw.html, and then navigate
around the Location bar URL changes to permalinks as expected and the
permissions work. If you first enter the wiki through a permalink URI,
i.e. file:///tmp/tw.html#TestTiddler, the permissions don't apply and
you get annoying pop-ups.

I don't know if this is a useful observation in the quest for a
workaround.

--
Chris Williams

Only when the last tree has died and the last river has been poisoned
and the last fish has been caught will we realize that we cannot eat
money.
* Cree Indian saying

Public key available at hkp://wwwkeys.au.pgp.net
Key ID: 83A07766

Jon

unread,
Jul 17, 2008, 9:49:11 AM7/17/08
to TiddlyWiki

In case it's helpful to others who find Firefox 3's increased security
a bit of a headache for working with TW, changing this setting:

security.fileuri.strict_origin_policy

to false in about:config pretty much eliminates the popups. Buyer
beware: no doubt this introduces some security vulnerability.
Reply all
Reply to author
Forward
0 new messages