Last active
June 18, 2016 19:11
-
-
Save rachelslurs/c9a0e01acfed589019b2bde2362e1be7 to your computer and use it in GitHub Desktop.
Post and Issue Dummy Images Bookmarklet
This file contains 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
javascript:(function() { | |
var a = document.getElementById('_post_meta_image_alt_text_0'); | |
if (a) { | |
a.value = 'Some alt text'; | |
} | |
var b = document.getElementById('_post_meta_image_desktop_0'); | |
if (b) { | |
b.value = 'https://placehold.it/1400x600/003003/ffffff'; | |
} | |
var c = document.getElementById('_post_meta_image_desktop_mobile_tile_0'); | |
if (c) { | |
c.value = 'https://placehold.it/280x188/9d248f/ffffff'; | |
} | |
var d = document.getElementById('_post_meta_image_mobile_0'); | |
if (d) { | |
d.value = 'https://placehold.it/1080x720/0057b8/ffffff'; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment