Bitcoin Forum

Other => Beginners & Help => Topic started by: didshc on July 19, 2017, 02:10:00 AM



Title: I need help with faucet rotator script.
Post by: didshc on July 19, 2017, 02:10:00 AM
I'm using the script https://github.com/ExploreBTC/BitcoinGrind (https://github.com/ExploreBTC/BitcoinGrind) and I'm having issues with some faucets. They just do not open. I've seen this happen in other rotators and I know it's not exactly a script problem, but in some rotators when this happens they simply load a page saying "this faucet needs to be opened in another window", like a link. Does anyone know how to do this?


Title: Re: I need help with faucet rotator script.
Post by: krishnapramod on July 19, 2017, 05:16:13 AM
I'm using the script https://github.com/ExploreBTC/BitcoinGrind (https://github.com/ExploreBTC/BitcoinGrind) and I'm having issues with some faucets. They just do not open. I've seen this happen in other rotators and I know it's not exactly a script problem, but in some rotators when this happens they simply load a page saying "this faucet needs to be opened in another window", like a link. Does anyone know how to do this?

Some faucets can't be opened inside iframes. You have to add sandbox attribute to the iframe.

Code:
<iframe src="url" sandbox="allow-same-origin allow-scripts allow-popups allow-forms"></iframe>

https://www.w3schools.com/tags/att_iframe_sandbox.asp

Instead of Bitcoin Grind you can use this faucet rotator script, https://github.com/rattfieldnz/bitcoin-faucet-rotator

Demo: http://freebtc.website

There is another rotator script similar to grind, https://bitcointalk.org/index.php?topic=1241349.0


Title: Re: I need help with faucet rotator script.
Post by: didshc on July 20, 2017, 06:01:55 AM
I'm using the script https://github.com/ExploreBTC/BitcoinGrind (https://github.com/ExploreBTC/BitcoinGrind) and I'm having issues with some faucets. They just do not open. I've seen this happen in other rotators and I know it's not exactly a script problem, but in some rotators when this happens they simply load a page saying "this faucet needs to be opened in another window", like a link. Does anyone know how to do this?

Some faucets can't be opened inside iframes. You have to add sandbox attribute to the iframe.

Code:
<iframe src="url" sandbox="allow-same-origin allow-scripts allow-popups allow-forms"></iframe>

https://www.w3schools.com/tags/att_iframe_sandbox.asp

Instead of Bitcoin Grind you can use this faucet rotator script, https://github.com/rattfieldnz/bitcoin-faucet-rotator

Demo: http://freebtc.website

There is another rotator script similar to grind, https://bitcointalk.org/index.php?topic=1241349.0

Thanks!! I will try this rotators.