tiddlyclip icon indicating copy to clipboard operation
tiddlyclip copied to clipboard

loading as a temporary extension?

Open kvgc opened this issue 2 years ago • 5 comments

Hi, Version: 0.1.8 Thanks for making this tool! It's really cool! I am trying to install it as a temporary extension on firefox and develop it further, but loading the manifest.json does not quite seem to show all the features in the context menu.

Installing the extension using the .xpi works fine though. I was wondering if there was a particular reason why loading the manifest.json directly only to about:debugging does not work?
Thanks!

-- kvgc

kvgc avatar May 30 '22 04:05 kvgc

Hi @kvgc I am not aware of any issues with local loading, - actually I nearly always load TC this way as I am always testing new features. (There are lots of features in tiddlyclip that are not documented. )

buggyj avatar May 30 '22 15:05 buggyj

Hi @buggyj, I think I figured what the issue here might be.

If I go to the recent release: https://github.com/buggyj/tiddlyclip/releases/tag/0.1.8 and download the source code from there.

The manifest.json (attached below) seems to indicate that the version is for 0.0.8 and not for 0.1.8


{
	"manifest_version": 2,
	"web_accessible_resources": [
		"content/resources/css/*.css"
	],
	"background" : {
		"page" : "content/background.html"
	},
	"content_scripts" : [ {
		"js" : [
			"content/util/logsimple.js"	,		
			"content/contentScript.js"
		],
      "matches" : [
        "http://*/*",
        "file:///*",
        "https://*/*"
      ],
		"run_at" : "document_start"
	} ],
	"description" : "A context menu extension for tiddlywiki",
	"icons" : {
		"16" : "skin/icon16.png",
		"48" : "skin/icon-48.png"
	},
	"name" : "tiddlyclip",
	"permissions" : [
		"tabs", "<all_urls>",
		"contextMenus",
		"notifications"
	],

	"version" : "0.0.8"
}

Could you offer some clarification on this? Thanks!

kvgc avatar May 31 '22 00:05 kvgc

I can confirm that the zip contains an old version

buggyj avatar May 31 '22 14:05 buggyj

The v0.1.5 release has the source code and also works as a temporary extension. So I think that resolves this issue. But it would be great if the v0.1.8 release also had the right source code as well. Feel free to close this issue if needed. Thanks!

kvgc avatar May 31 '22 20:05 kvgc

Unfortunately I cannot find away to change these files, I guess they are not very useful in general.

buggyj avatar Jun 01 '22 14:06 buggyj