On my FF15 system, I have about a dozen sets like this in pref.js :

  user_pref("capability.principal.codebase.p28.granted", 
"UniversalXPConnect");
  user_pref("capability.principal.codebase.p28.id", "file://");
  user_pref("capability.principal.codebase.p28.subjectName", "");

Can someone explain what the "p" values means?

Note that none of these specify a specific file.

I seem to be able to *SAVE new TW* files *without *Tiddly fox and *without 
*having 
to change anything in the prefs file. None of the TW files that I have been 
using are listed in the prefs.js. I'm wondering if the "file://" means that 
any local file can be written to. For me its been mostly importing that has 
been impacted by FF15.

If not this setting, then there must be some other magic setting that will 
allow you to save ... because its doing it on my system. 

Thanks,
Mark



On Sunday, September 2, 2012 6:22:25 AM UTC-8, midpeter444 wrote:
>
> Hi Jeremy,
>
> Thanks for doing the TiddlyFox plugin.  Here are my results:
>
> I'm on Ubuntu (Xubuntu) 11.10, using Firefox 15 and I tested a newly 
> downloaded 2.6.5 TW.
>
> First I downloaded and installed your TiddlyFox plugin.  I was able to 
> save my previous 2.6.4 TW (which was already and still working due to being 
> in the prefs.js file) and a new 2.6.5 - both worked, but requiring you to 
> click the TiddlyFox dialog box.
>
> Next, I disabled the TiddlyFox plugin and then edited by 
> $HOME/.mozilla/xy_random/prefs.js file like so:
>
> user_pref("capability.principal.codebase.p83.granted", 
> "UniversalXPConnect");
> user_pref("capability.principal.codebase.p83.id", 
> "file:///home/midpeter444/spideroak/wiki/my-new-wiki.html");
> user_pref("capability.principal.codebase.p83.subjectName", "");
>
> and that also works to save the new 2.6.5 wiki *without* the TiddlyFox 
> plugin.
>
> It's nice to have two ways to solve this.  I will probably go with the 
> manual editing step to avoid the dialog popup.  I will have to solve this 
> on my Windows work computer in a few days when I get in the office again.
>
> -Michael
>
> On Monday, August 27, 2012 5:18:30 PM UTC-4, Jeremy Ruston wrote:
>>
>> Firefox 15, which is currently in beta but scheduled to be released on 
>> August 28th, finally disables the trick that TiddlyWiki uses for 
>> saving changes to itself (see [1]). From a general security 
>> perspective, this is probably a good thing - especially if you've 
>> watched a less computer-literate friend or relative deal with random 
>> yes/no dialogue boxes; that familiar confirmation dialogue isn't much 
>> protection. 
>>
>> So, I've started work on a little Firefox extension called "TiddlyFox" 
>> that can save files on behalf of TiddlyWiki. 
>>
>> TiddlyFox stays in the background until you load a TiddlyWiki 2.x.x 
>> document from a file: URL. It then patches the TiddlyWiki document on 
>> the fly to have it invoke the extension to save files on it's behalf. 
>>
>> I've tested the extension on Firefox 14 (the current version) and the 
>> beta of Firefox 15. 
>>
>> To install the extension, navigate to [2] in Firefox. You should be 
>> prompted to install the plugin. Then, if you navigate to a TiddlyWiki 
>> document on a file: URI you should get an alert notifying you that 
>> TiddlyFox has patched the document. Save changes should then work in 
>> the normal way. 
>>
>> Right now, the extension is very basic, without a full user interface. 
>> The plan is to add a proper confirmation dialogue, and to extend it 
>> with functionality something like TiddlySnip for clipping bits of web 
>> pages into a TiddlyWiki document. It will also work with TiddlyWiki5 
>> (it doesn't yet). 
>>
>> I'd be very grateful for any testing, and ping me here with any 
>> feedback or questions. 
>>
>> Best wishes 
>>
>> Jeremy. 
>>
>> [1] https://github.com/TiddlyWiki/tiddlywiki/issues/101 
>> [2] 
>> https://github.com/Jermolene/TiddlyWiki5/raw/master/tiddlyfox/extension/tiddlyfox.xpi
>>  
>>
>> -- 
>> Jeremy Ruston 
>> mailto:[email protected] 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywikidev/-/Q5MjTbR9I1kJ.
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/tiddlywikidev?hl=en.

Reply via email to