# Prefill your coin address on faucet pages with JavaScript! [Firefox version]

2년 전

Title_Firefox.jpg

Would you prefer to have your coin address prefilled on faucet claim & login pages?

If you love faucets you probably don't love those like *coinfaucet.info that forget your coin address every time you make a claim, requiring you to enter it over and over. This is annoying, and unnecessary.

2.jpg

What if I told you that you could use JavaScript to do this for you automagically?

3.jpg

I'm going to show you how.


Caveat: this technique requires the use of a browser extension, if you're against such things for any reason then read no further. Recording your cryptocoin public key (receiving address) in an automation script is perfectly safe because it's already in the public domain but you should NEVER record a private key, username, or password in such manner, such information is too private and powerful.


Prerequisite: Install Browser Extension

To run the Javascript a Firefox extension called Greasemonkey is required, grab that now:

greasemonkey logo Greasemonkey: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/



1. Setup Faucet Page Script

Since the release of Firefox Quantum it is no longer possible to directly create User Scripts. To facilitate access and installation I created a script repository, the result is a much easier installation process (and a complete re-write of the code & this article).

We will use the Litecoin faucet page as an example to follow, here's my referral link: litecoinfaucet.info

  1. Go to the LTC.info prefill script page
  2. Click Install, review the summary then click Install
    Install
  3. Click Greasemonkey in your toolbar, then click the script
    Greasemonkey menu
  4. Click Edit to open the script in a new tab for editing
    Select edit
  5. Replace the value neuromancer with your coin receiving address
    Substitute coin address
  6. Press Ctrl+S to save (unsaved changes are indicated by *)
    Unsaved changes

To see your LTC address prefilled visit litecoinfaucet.info

2. Reusing the script

Scripts for other *coinfaucet.info pages have been created, you will find them in https://openuserjs.org/users/neuromancer/scripts. To use them simply:

  1. Install the script
  2. Open the Greasemonkey menu
  3. Click the script & click "Edit"
  4. Replace neuromancer with your coin receiving address
  5. Ctrl+S to save

Here are some more *coinfaucet.info referral links for you:
reddcoinfaucet.info
ethereumfaucet.info
dashfaucet.net
ripplefaucet.info
decredfaucet.info

Scripts for Moon faucet pages have also been created, just remember to tailor each new script by replacing neuromancer with your coin receiving address.

And here's some Moon faucet referral links:
moonbit.co.in
moonliteco.in
moondoge.co.in



Now head back to those faucets and STEEM ON!




This article is provided as-is for informational purposes only, I neither condone or condemn the use of faucets, browser plugins/extensions, or JavaScript.



Questions and comments are welcomed in the replies. If you'd like to see more articles like this then ^vote and resteem. Considerable effort has gone into researching, testing, graphics capture/edit, and formatting for this article.

If you liked it, then you shoulda put a ^vote on it!


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

Your post had been curated by the @buildawhale team and mentioned here:

https://steemit.com/buildawhale/@buildawhale/buildawhale-curation-digest-11-27-17

You have received a Whaleshare Token upvote by the account @officialfuzzy thanks to the whaleshares community and @buildawhale

Keep up the good work and original content, everyone appreciates it!

·

Thank you for taking time to read this post & including it in your curation digest, I hope it proves useful to other Steemians (and maybe introduces them to a little lightweight JavaScript & UserScript concepts in the process).

Interesting
I will follow you to see your future posts! +UP

This post has received a 1.11 % upvote from @buildawhale thanks to: @neuromancer. Send at least 1 SBD to @buildawhale with a post link in the memo field for a portion of the next vote.

To support our daily curation initiative, please vote on my owner, @themarkymark, as a Steem Witness

This post has received a 6.08 % upvote from @booster thanks to: @neuromancer.

This article is full of @OriginalWorks

·

The @OriginalWorks bot has determined this post by @neuromancer to be original material and upvoted(1.5%) it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

Congratulations @neuromancer! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by neuromancer from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

Congratulations @neuromancer! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Congratulations @neuromancer! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your Board of Honor.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Vote for its witness and get one more award!

Congratulations @neuromancer! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @neuromancer! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @neuromancer! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 11000 upvotes. Your next target is to reach 12000 upvotes.

Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @neuromancer! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!