Last active
October 13, 2016 12:14
-
-
Save rococodogs/2800fc2f8a90e8a9f2dc24ca1e0176c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>MetaDB bookmarklets</title> | |
| <style> | |
| body { | |
| font-family: sans-serif; | |
| } | |
| a { | |
| background-color: #eee; | |
| border: 1px solid #ccc; | |
| color: black; | |
| display: inline-block; | |
| padding: 5px; | |
| text-decoration: none; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>mammana postcard collection</h1> | |
| <a href='javascript:function getInputEl(e){return document.querySelector("input[name=\""+e+"\"]")}function updateInputEl(e,t){e.value=t,(e.dispatchEvent&&e.dispatchEvent(new Event("blur")))}function checkNearbyBox(e){e.parentElement.nextElementSibling.firstChild.checked=!0}function makeUpdateOptionVisible(){var e=Array.prototype.forEach,t=document.querySelectorAll("select[name=\"update-option\"]"),n=document.querySelectorAll("input[name=\"apply-to-some\"]");e.call(t,function(e){e.style.visibility="visible",e.value="these"}),e.call(n,function(e){e.style.visibility="visible"})}function populatePagedUpdateBox(){var e="Enter the page range to apply (ex: 1,2,7-10)",t=prompt(e),n=Array.prototype.forEach;n.call(document.querySelectorAll("input[name=\"apply-to-some\"]"),function(e){e.value=t})}function theLoop(e){var t=vals[e],n=getInputEl(e);updateInputEl(n,t),checkNearbyBox(n)}var vals={7976:"1945-08-15",7977:"1933-02-15",7978:"1945-08-15",7979:"1933-02-15"};for(var v in vals)theLoop(v);makeUpdateOptionVisible(),populatePagedUpdateBox();'>1/2 split ga</a> | |
| <a href='javascript:function getInputEl(e){return document.querySelector("input[name=\""+e+"\"]")}function updateInputEl(e,t){e.value=t,(e.dispatchEvent&&e.dispatchEvent(new Event("blur")))}function checkNearbyBox(e){e.parentElement.nextElementSibling.firstChild.checked=!0}function makeUpdateOptionVisible(){var e=Array.prototype.forEach,t=document.querySelectorAll("select[name=\"update-option\"]"),n=document.querySelectorAll("input[name=\"apply-to-some\"]");e.call(t,function(e){e.style.visibility="visible",e.value="these"}),e.call(n,function(e){e.style.visibility="visible"})}function populatePagedUpdateBox(){var e="Enter the page range to apply (ex: 1,2,7-10)",t=prompt(e),n=Array.prototype.forEach;n.call(document.querySelectorAll("input[name=\"apply-to-some\"]"),function(e){e.value=t})}function theLoop(e){var t=vals[e],n=getInputEl(e);updateInputEl(n,t),checkNearbyBox(n)}var vals={7976:"1933-02-14",7977:"1918-03-01",7978:"1933-02-14",7979:"1918-03-01"};for(var v in vals)theLoop(v);makeUpdateOptionVisible(),populatePagedUpdateBox();'>1/2 split ka</a> | |
| <a href='javascript:function getInputEl(e){return document.querySelector("input[name=\""+e+"\"]")}function updateInputEl(e,t){e.value=t,(e.dispatchEvent&&e.dispatchEvent(new Event("blur")))}function checkNearbyBox(e){e.parentElement.nextElementSibling.firstChild.checked=!0}function makeUpdateOptionVisible(){var e=Array.prototype.forEach,t=document.querySelectorAll("select[name=\"update-option\"]"),n=document.querySelectorAll("input[name=\"apply-to-some\"]");e.call(t,function(e){e.style.visibility="visible",e.value="these"}),e.call(n,function(e){e.style.visibility="visible"})}function populatePagedUpdateBox(){var e="Enter the page range to apply (ex: 1,2,7-10)",t=prompt(e),n=Array.prototype.forEach;n.call(document.querySelectorAll("input[name=\"apply-to-some\"]"),function(e){e.value=t})}function theLoop(e){var t=vals[e],n=getInputEl(e);updateInputEl(n,t),checkNearbyBox(n)}var vals={7976:"1918-02-28",7977:"1907-03-28",7978:"1918-02-28",7979:"1907-03-28"};for(var v in vals)theLoop(v);makeUpdateOptionVisible(),populatePagedUpdateBox();'>1/3 split ka</a> | |
| <a href='javascript:function getInputEl(e){return document.querySelector("input[name=\""+e+"\"]")}function updateInputEl(e,t){e.value=t,(e.dispatchEvent&&e.dispatchEvent(new Event("blur")))}function checkNearbyBox(e){e.parentElement.nextElementSibling.firstChild.checked=!0}function makeUpdateOptionVisible(){var e=Array.prototype.forEach,t=document.querySelectorAll("select[name=\"update-option\"]"),n=document.querySelectorAll("input[name=\"apply-to-some\"]");e.call(t,function(e){e.style.visibility="visible",e.value="these"}),e.call(n,function(e){e.style.visibility="visible"})}function populatePagedUpdateBox(){var e="Enter the page range to apply (ex: 1,2,7-10)",t=prompt(e),n=Array.prototype.forEach;n.call(document.querySelectorAll("input[name=\"apply-to-some\"]"),function(e){e.value=t})}function theLoop(e){var t=vals[e],n=getInputEl(e);updateInputEl(n,t),checkNearbyBox(n)}var vals={7976:"1907-03-27",7977:"1900-10-01",7978:"1907-03-27",7979:"1900-10-01"};for(var v in vals)theLoop(v);makeUpdateOptionVisible(),populatePagedUpdateBox();'>undivided</a> | |
| </body> | |
| </html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment