Closed db4 closed 5 years ago
Just tried to open http://tiddlyclip.tiddlyspot.com in antother tab - dock here
context menu works there. Maybe I'm using wrong tiddlyclip-plugin (01.14.2pre)?
no idea... what browser/version are you using?
what browser/version are you using?
Firefox Quantum 66.0.3 (64-bit) on Windows 10
tiddlyclip will only dock if it thinks that the tab contains a tw. It looks in the meta section at the top of the begging of the file for <meta name="application-name" content="TiddlyWiki" />
I've stepped into
function isTiddlyWiki5() {
//from tiddlyfox
// Test whether the document is a TiddlyWiki5 (we don't have access to JS objects in it)
var doc = document;
var metaTags = doc.getElementsByTagName("meta"),
generator = false;
for(var t=0; t<metaTags.length; t++) {
if(metaTags[t].name === "application-name" && metaTags[t].content === "TiddlyWiki") {
generator = true;
}
}
return generator;
}
in JS debugger, it returns true
. What else can I check? Maybe enable some debug logging?
It you reload the tw and right click anywhere and select 'inspect element' from the context menu you should see something like this screenshot (scroll the the bottem of the 'inspector' window) If you then click the console tab and then dock you should seen something like this:
If you like you can send me the file so I and take a look.
Tiddlyclip may not work with encrypted wikis
tiddlyclip will not work with encrypted wikis because it cannot read the config tiddlers as they are encrypted
Yes, without encryption docking works. So this is absolutely hopeless for encrypted wikis? If yes, can you at least inform user about the problem? (show an error message etc.)
ok, I am working on tiddlyclip at the moment, so If I can see a workaround I will add to the next release, which will be soon.
ok I have fixed that - it will be in the next release
Thanks a lot!
Can you release a new version that includes https://github.com/buggyj/tiddlyclip/commit/8c816d36264a520bcf31e11b9f26d1bfbccbf2cd? Also some instructions how to build the extension from sources would be great: ./build.sh
seems not to do its job.
@db4 there is no build required. Just clone the repository and then in ff navigate to 'about:debugging' and click load temporary button and double click on the 'manifest.json'.
I will sign a new version and upload to the releases, for normal installation.
@db4 new version 0.1.5 is available
I'm experimenting with
tiddlyclip 0.1.3
/tiddlyclip-plugin 1.12.2pre
on an empty tiddlywiki. Suddenly (after installing some other plugins, setting/resetting password etc.) tiddlyclip stopped working: when I select "tiddlyclip -> dock here" sometimes it's silently ignored, sometimes Firefox Browser Console pops-up:but "tiddlyclip -> dock here" menu always remains empty.