MozillaZine

BugMeNot Improved

Talk about add-ons and extension development.
jacksmernov
 
Posts: 84
Joined: July 29th, 2004, 7:54 pm

Post Posted August 3rd, 2004, 12:36 pm

I was playing with bugmenot and you know. it's just too darned hard to click the bugmenot button that opens the bugmenot window, copy the username, go back to the page you were on and paist, then go back to the bugmenot window, copy the password, go back to the ....

It's to danmed hard. I won't do it anymore.

So i modified the BugMeNot extension to get the username and password off the bugmenot window and copy them into the appropreiate textboxes on the registration page automaticaly.

<a href="http://www.geocities.com/jacksmernov/bugmenot/index.html">Short description and download page<a>

Or

Download here: <a href="http://www.geocities.com/jacksmernov/bugmenot/bugmenot.xpi.zip">bugmenot.xpi.zip</a>
<br>
Rename downloaded file to bugmenot.xpi and open it with your browser.

jacksmernov
 
Posts: 84
Joined: July 29th, 2004, 7:54 pm

Post Posted August 3rd, 2004, 1:05 pm

well... chickan... It was working for nytimes.com. but it's not working for sites were the username is a email. So i'll fix that and update it. in the mean time

I WAS THE TURKEY ALL ALONG

jbash
 
Posts: 101
Joined: November 17th, 2003, 1:39 pm
Location: Chicago

Post Posted August 3rd, 2004, 1:19 pm

Do I have to uninstall my current bugmenot extension (.3) first? It doesn't say one way or the other on your geocities download page but with this new extension manager I've had more than one version of an extension show up. So I thought I'd ask before screwing things up again:-)

TIA, jim b

roachfiend

User avatar
 
Posts: 264
Joined: December 7th, 2002, 11:54 pm
Location: north america

Post Posted August 3rd, 2004, 1:30 pm

very nice. i get CONSTANT requests from people for it to do just this, but i didn't know how to do it. i'll put you on as a contributor and push the new release when you fix the e-mail/username/pword dilemma (like ajc.com) if you'd like. also, is there a way for the popup to close as soon as it grabs the information?

roachfiend

User avatar
 
Posts: 264
Joined: December 7th, 2002, 11:54 pm
Location: north america

Post Posted August 3rd, 2004, 1:32 pm

on second thought, i guess if it closed automatically, if the first password failed, you'd be screwed. so nix that idea, i guess.

jacksmernov
 
Posts: 84
Joined: July 29th, 2004, 7:54 pm

Post Posted August 3rd, 2004, 1:56 pm

Mkay. the email bug is fixed. So this extension now works with usernames that are email addresses.

And I've fixed it so that when a site gives you a warning page you dont' have to go back to the original registration page for the plugin to work. Just go back to the bugmenot webpage, click the info didn't work button and go back to the warning page.

This extension installed over the bugmenot extension. So it's a good thing if you see just one bugmenot in your extensions thingy.



Download here: <a href="http://www.geocities.com/jacksmernov/bugmenot/bugmenot.xpi.zip">bugmenot.xpi.zip</a>


Rename downloaded file to bugmenot.xpi and open it with your browser.

jacksmernov
 
Posts: 84
Joined: July 29th, 2004, 7:54 pm

Post Posted August 3rd, 2004, 2:11 pm

Geocities sucks.. so dowloading directly is iffy at best. It seams to work better from the install page

http://www.geocities.com/jacksmernov/bu ... index.html

Is there a good place to host extensions that is.. erm... free

roachfiend

User avatar
 
Posts: 264
Joined: December 7th, 2002, 11:54 pm
Location: north america

Post Posted August 3rd, 2004, 2:33 pm

i'll host it on my server and replace the original extension. would you like to be added to the source as a contributor? send me a private message if so, and what name you'd like for it to say.

frogg
 
Posts: 9
Joined: July 29th, 2004, 7:21 pm

Post Posted August 3rd, 2004, 2:37 pm

jacksmernov wrote:Geocities sucks.. so dowloading directly is iffy at best. It seams to work better from the install page

http://www.geocities.com/jacksmernov/bu ... index.html

Is there a good place to host extensions that is.. erm... free


sdf.lonestar.org provides free web hosting that doesn't suck.


Also, perhaps the best way to do it would be the following:

when you click bugmenot it puts the first one into the fields and doesn't open the window. If it doesn't work, you can go back to the form and click bugmenot again it will take the next one. Or, it could randomly take a u/p from bugmenot each time...

roachfiend

User avatar
 
Posts: 264
Joined: December 7th, 2002, 11:54 pm
Location: north america

Post Posted August 3rd, 2004, 2:40 pm

noticed it still doesn't work right on ajc.com.

jacksmernov
 
Posts: 84
Joined: July 29th, 2004, 7:54 pm

Post Posted August 3rd, 2004, 4:15 pm

Bugfix #2
If the username has any whitespace charicters on it, bugmenot gets messed up... fixed

Feture add #2
If the username is an email and the username and password are swiched on the bugmenot window, this extension now swiches them back.

Feture add #3
If there is both a user name and an email, bugmenot will now split them up and put them in the appropriate text boxes.


So ajc.com works now. I will look at some ways of auto closing the window. I think i'm going to make it so that the first time you click bugmenot the window will open then close automaticaly. But if bugmenot is opened again it will stay open. Or i could add a second bugmenot button, like, bugmenotauto, or bugmenotfealinglucky. Or i might just auto minimize the bugmenot window, I don't know if i can cleanly do that. Any other suggestions at how to do this

So the next update will probably auto close the first time and stay open the second.

http://www.geocities.com/jacksmernov/bu ... index.html

jacksmernov
 
Posts: 84
Joined: July 29th, 2004, 7:54 pm

Post Posted August 3rd, 2004, 5:13 pm

http://www.geocities.com/jacksmernov/bu ... index.html

Ok. I think it works pritty sweet now. The way it works now is when you click on the bugmenot button the first time, it opens and closes the bugmenot window automaticaly. The second time you click bugmenot, it keeps the bugmenot window open, thereby alowing you to get alternate user infos. Since this is a pritty major departure I kept the old version up on the server just incase you didn't like the new version. But as I said, it's pritty sweet like it is now.

Please let me know about any sites not working.

roachfiend

User avatar
 
Posts: 264
Joined: December 7th, 2002, 11:54 pm
Location: north america

Post Posted August 3rd, 2004, 6:55 pm

wow, excellent job! i'll bump up the version to 0.4 and push it out to my server and submit it to mozilla update as well. i'll definitely put your name in there as a contributor and on the about page as well, great work.

ps got your pm, so i'll add that info.

roachfiend

User avatar
 
Posts: 264
Joined: December 7th, 2002, 11:54 pm
Location: north america

Post Posted August 3rd, 2004, 7:23 pm

ok, new extension is now here:

http://extensions.roachfiend.com/index.html#bugmenot

and it'll be pushed soon for bugmenot.mozdev.orgl.

i e-mailed the extension info to texturizer.net and mozilla update, so it should be updated there soon as well. thanks a lot for this, many people will be very grateful for your code.

frogg
 
Posts: 9
Joined: July 29th, 2004, 7:21 pm

Post Posted August 3rd, 2004, 9:58 pm

I cannot seem to get this to work. I tried installing the one from roachfiend's site as well as the geocities file. After installing it appears correctly in the Extensions window, but it now does nothing when I click on BugMeNot, regardless of how many times I click it. I did not uninstall the old version and I'm running 0.9.2 Windows 98

Any ideas?

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 4 guests