Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug in Giveaways Extractor that happens when opening in a new tab #189

Closed
at46 opened this issue Nov 14, 2017 · 12 comments
Closed

Fix a bug in Giveaways Extractor that happens when opening in a new tab #189

at46 opened this issue Nov 14, 2017 · 12 comments
Labels

Comments

@at46
Copy link

at46 commented Nov 14, 2017

It opens a new tab but keeps loading forever with 0 GA extracted. Error since 7.7.3 or 7.7.4. New option for extract from this point forward is disabled. Console shows "Promise rejection value is a non-unwrappable cross-compartment wrapper."

@rafaelgomesxyz
Copy link
Owner

What browser? And are you using the script or extension?

@at46
Copy link
Author

at46 commented Nov 15, 2017

Firefox 56 and script with greasemonky 3.17.

@rafaelgomesxyz
Copy link
Owner

Does it happen for every train? I'm not experiencing it.

@at46
Copy link
Author

at46 commented Nov 15, 2017

Every train and every post with GAs in it. But only in new tabs. If I disable open in new tab everything works.

@rafaelgomesxyz rafaelgomesxyz added this to the 7.7.5 milestone Nov 15, 2017
@rafaelgomesxyz
Copy link
Owner

Ah, that definitely helps. Will fix in the next version.

@rafaelgomesxyz rafaelgomesxyz changed the title Giveaways Extractor not working Fix a bug in Giveaways Extractor that happens when opening in a new tab Nov 15, 2017
@randomname42
Copy link

Posting this just in case it helps narrows down the problem.

I think I might be seeing the same thing, except it's only stuck at 0 extracted when opening a new tab from a forum post. Works fine if you open the first giveaway in a train and extract to a new tab from there.

@rafaelgomesxyz
Copy link
Owner

rafaelgomesxyz commented Nov 16, 2017

I already fixed it, as you can see in the commit above. I'll release the new version publicly on Saturday.

@randomname42
Copy link

I'm using 7.9.0 of the extension now and I'm still seeing 0 giveaways extracted when trying to extract to new tab from a discussion page. Works when extracting from the first giveaway page of a train, it's just extracting from a discussion page which doesn't work.

I'm on Firefox if that makes a difference.

@at46
Copy link
Author

at46 commented Nov 25, 2017

For me everything works fine since 7.8.0 (and also with 7.9.0). Which version of Firefox do you use? ESGST script or addon? Greasemonkey version? Does the bug only occur with the option to open in a new tab?

@randomname42
Copy link

randomname42 commented Nov 25, 2017

Only fails on new tab. Addon version. Firefox 56.

I need far too many things that only legacy addons can do, so downgrading to Firefox 57 (for me it would be a massive downgrade due to lost functionality, not an upgrade) is not something I can do.

The reduced functionality of noscript, and the loss of session manager alone would be a dealbreaker. Besides that about 90% of the other addons I use never got changed over to the new system, and have no good equivalents.

I'm planning to switch to Waterfox once they get some profile issues fixed. So many people I know are switching over to that. Cutting out legacy addons when the new extension type still doesn't have many permissions granted which would be needed to allow many addons to be ported... it's boneheaded.

Sorry about the FF rant. I do have to ask this. Is there any chance Waterfox going to be supported going forward?

@rafaelgomesxyz
Copy link
Owner

@randomname42 Sorry, I forgot about this. Are you still having problems? I don't know if Waterfox is going to be supported, I've never heard of it, if it has the same API that Firefox has it should work fine.

@randomname42
Copy link

randomname42 commented Dec 18, 2017

Yep, still happening. It looks like this when trying to extract a train from this discussion page, for example. That happens always when extracting from a discussion page.

Waterfox is basically Firefox but keeping legacy addons enabled (which is why many are going to it now that Firefox disabled them) and a few things removed (like telemetry for example). It should be the same as regular Firefox with the new addon type though. Waterfox just allows the old kind to still work as well.

I'm still on Firefox 56 btw, but I don't know any reason that should affect ESGST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants