Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- This JS bookmarklet is designed to partially automate the submission of free English online Twine games to IFDB.
- It asks the user for four values ("Title", "Author", "Year" and "URL") and pre-fills the IFDB submission form (http://ifdb.tads.org/editgame?id=new) with the following values:
- Title: the given title
- Author: the given author name
- First publication date: the given time
- License Type: Free
- Development System: Twine
- Language: en
- Download Links: one link of type HTML, to the game's URL, with the text "Play online".
- The optional Description is left blank, however. Also, it is recommended that you tag the entry with "Twine" after it's submitted (and you can't apply tags during the submission process).
- */
- javascript:var name = prompt("Title?"), author = prompt("Author?"), year = prompt("Date (dd-Mon-yyyy) or year (yyyy) published?"), site = prompt("Game URL?"), $ = document.getElementById.bind(document); $("title").value = name; $("eAuthor").value = author; $("published").value = year; $("license").value = "Free"; $("system").value = "Twine"; $("language").value = "en"; $("language").value = "en"; gfInsRow('linkModel',0); $("linkurl0").value = site; $("linktitle0").value = "Play online"; $("linkfmt0").value = 35;void 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement