Difference between revisions of "RhiziDev"

From TAMI
Jump to navigationJump to search
Line 3: Line 3:
 
Making a restartless extension for firefox is a breeze: https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_started
 
Making a restartless extension for firefox is a breeze: https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_started
  
 +
Some notes on the packaging:
 +
* anything under data is packaged automatically
 +
* if you want to split main.js to multiple scripts place them in the same directory (possibly subdirs work too, didn't check) and make sure to require them, then they are packaged automatically.
 +
* test via 'cfx xpi' and 'unzip -t annotator-rhizi.xpi'
  
 
[[User:AlonLevy|AlonLevy]] ([[User talk:AlonLevy|talk]]) 21:02, 30 March 2014 (UTC)
 
[[User:AlonLevy|AlonLevy]] ([[User talk:AlonLevy|talk]]) 21:02, 30 March 2014 (UTC)

Revision as of 19:10, 1 April 2014

Captain's Log

AlonLevy (talk) 18:30, 1 April 2014 (UTC) Making a restartless extension for firefox is a breeze: https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Getting_started

Some notes on the packaging:

  • anything under data is packaged automatically
  • if you want to split main.js to multiple scripts place them in the same directory (possibly subdirs work too, didn't check) and make sure to require them, then they are packaged automatically.
  • test via 'cfx xpi' and 'unzip -t annotator-rhizi.xpi'

AlonLevy (talk) 21:02, 30 March 2014 (UTC)

Added uri into annotation by modifing the create callback in annotator-store-plugin data.uri = document.location.href

  • window or document?
  • In the process of killing python server
  • In the process of finding out how to create a popup without changing focus (amir used jquery)
  • TODO: switch to a plugin, then we won't have the problem of popup avoidance.