Issues submitting an addon

So I’ve been having more problems than I expected in uploading a modified version of another extension to the AMO. I’ve already gotten a topic posted on the Mozillazine forums that people can read. I would appreciate any instructions or fixes available.

http://forums.mozillazine.org/viewtopic.php?f=19&t=2960159

Your latest issue is this:

A hash mismatch.

How did you create this addon? Did you do something like jpm xpi or cfx xpi? Or by modified, you mean you just modified something in main.js and did not do jpm xpi?

I did not create this addon. I took the original from the AMO and modified it. I want to upload my own version so that I can get it signed and still use it.

Ah ok so we’ll have to take the source files, drop them in a folder, then package it. I’ll post a youtube video of it so you can follow along soon. Please bump this if I don’t reply in 24h.

So I repackaged it but I’m getting a problem. I’m not a sdk guy but check this out:

noi@Mercurius-PC:~/Desktop/APT$ jpm run
JPM [info] Starting jpm run on AutoPagerizeTweaked
Creating XPI
JPM [info] XPI created at /tmp/@autopagerizetweaked-0.0.0.xpi (187ms)
Created XPI at /tmp/@autopagerizetweaked-0.0.0.xpi
JPM [info] Creating a new profile
JPM [error] No Firefox binary found at null
JPM [error] Specify a Firefox binary to use with the -b flag.
JPM [error] Error: spawn ENOENT

I uploaded all the files here to Github, if any of the SDK experts can help fix this that would be awesome - https://github.com/Noitidart/AutoPagerizeTweaked

Oh actually it just seems it couldnt launch it in Firefox.

@Tanookirby please download and try installing the XPI from this repository - https://github.com/Noitidart/AutoPagerizeTweaked

If it works, then please go ahead and upload that to AMO and let me know. I will record a video of how I did that.

The option menu where you can update the rules and add exceptions is missing here. Other than that, it works fine.

Can you take a screenshot and show me please what it should look/work like

Download and install the original xpi that I uploaded and look for the addon on the extension list. Click Options and then “Open AutoPagerize Preferences.”

Oh I think I see. Please take the options.xul file from the origianl xpi and add it to my xpi, then please install to firefox and test, it should work. If it works let me know and I’ll repackage it and post a video of how i do it.

Nothing happens when I press the preferences button.

I managed to solve the preferences issue myself. Link to updated addon is below.

http://www.mediafire.com/download/uhh45zkmctqjluh/autopagerizetweaked-0.9.17.4.xpi

Do you have a github? Could you make a pull request to my repository? So I can easily see what changes you made and repackage the addon.

I changed the options.xul file. More specifically, the oncommand attribute in line 4. I replaced the string jid0-tKjnEA5X3eBoP5HnqjBYQ4U3AcM@jetpack with @autopagerizetweaked.

1 Like

Finally made a github account of my own. Here it is.

1 Like

Nice I’ll make a pull request to it with the files and a video of how i do it

Here is a video showing the process of repacking the addon sdk addon - https://www.youtube.com/watch?v=VTwioTr7TpY

That vid also shows how to make a pull request to Github

Go ahead and submit that xpi to amo it will be accepted

The addon has been submitted and is pending approval. In the meantime, I’d like to have an option in the preferences window the toggles the page break on and off. Currently, all of the lines of code in data/autopagerize.user.js that involve displaying it are commented, (found within lines 374-390). It would be nice for users to have a choice.

There is also an issue of javascript elements not being able to load. Example: http://www.rollingstone.com/tv/news

Those questions are for the original developer, or another topic if yo uwant to take over this addon. I was helping you with the issue of submitting your addon.

By the way I can’t find the submission on AMO, can you link me to it.

Sure.
https://addons.mozilla.org/en-US/firefox/addon/autopagerizetweaked/