After that, duelingbook checks if certain cards, such as Exchange, are face-up on the field with an effect that requires a player to put a card in their opponent's hand. If such a card exists, duelingbook will include in the little menu the option to take that card you hovered your mouse over that is in your hand and put that card in your opponent's hand.
Also, every time you hover your mouse over your deck, duelingbook brings up a little menu listing the things you can do with your deck, such as viewing it, showing it to your opponent, banishing the top card of it face-up or face-down, sending the top card from it to the graveyard, shuffling it, drawing a card from it, and so on.
After that, duelingbook checks if a certain card such as Convulsion of Nature is face-up on the field with an effect that requires you to flip your deck, and if such a card exists, or if no card exists but your deck is still face-up due to being previously flipped face-up, duelingbook will include in the little menu the option to flip your deck.
Also, every time you hover your mouse over a field spell in your deck while viewing said deck, duelingbook brings up a little menu listing the things you can do with that field spell, such as banishing it face-up or face-down, sending it to the graveyard, activating it, adding it to your hand, and so on.
After that, duelingbook checks if a certain card such as Set Rotation is face-up on the field with an effect that requires you to place a field spell in your opponent's field zone, and if such a card exists on the field, duelingbook will include in the little menu the option to place that field spell in your opponent's field zone.
Now let's say you want to put a card in your opponent's hand, flip your deck, place a field spell from your deck in your opponent's field zone, or banish a random card from your extra deck, but don't have any of the required face-up cards on the field necessary to have the option to do any of these tasks, or you do have a face-up card on the field with an effect that requires you to do one of these tasks but Xteven either didn't program or forgot to program that card to be able to let you perform that task.
That's where javascript comes in. With some javascript code, you can make it possible to do all of the above mentioned tasks, and more, without needing any of the required programmed cards face-up on the field to be able to do so.
https://www.duelingbook.com/replay?id=58994-26564203
To use javascript, you need to make sure javascript is enabled and allowed on your browser and on duelingbook, and refresh/reload the page if you need to.
Create a new javascript bookmark, or edit an already-existing one, and name it whatever you want. I will be naming mine "give cards to opponent".
In the URL/Address/Location box, copy and paste this code:
Code: Select all
javascript:function findCard(a) {if (a != "Question" && a != "Jack-In-The-Hand") {return true} else {return false}}
Save your bookmark.
Go to duelingbook, click your bookmark, and then, until you either refresh/reload the duelingbook page, close the tab/browser, or switch to a different tab/browser, you will always be able to perform the aforementioned tasks, solo mode after solo mode, duel after duel, without requiring any specific face-up cards on the field to be able to do so.
Remember how I said that duelingbook normally checks which programmed cards are face-up on the field before making the options available to perform those corresponding tasks? Well, it's hard for me to explain in full detail how this code works, but basically this code tricks duelingbook into thinking that all of the appropriate programmed cards (Convulsion of Nature, Exchange, Set Rotation, and so on) are face-up on the field, even if none of them really are, causing duelingbook to make these options available for you at all times.
Now if any new card gets released in the future (or if there are any already-existing cards on duelingbook) that require a player to flip their deck, put a card in their opponent's hand, put a field spell in their opponent's field zone, or remove a random card from their extra deck, but Xteven either doesn't program or forgets to program that card to let that player perform that required task, players can fall back on this javascript code to acquire the option to do these tasks.