# Script to set all types of all ready-to-upload pictures?

**URL:** https://community.metabrainz.org/t/script-to-set-all-types-of-all-ready-to-upload-pictures/69868
**Category:** MusicBrainz
**Tags:** userscripts, cover-art, booklet
**Created:** [June 10, 2016, 6:48am UTC](https://community.metabrainz.org/t/script-to-set-all-types-of-all-ready-to-upload-pictures/69868 "2016-06-10T06:48:11Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![InvisibleMan78](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/i/c67d28/32.png) [@InvisibleMan78](https://community.metabrainz.org/u/InvisibleMan78)
#### Post date: [June 17, 2017, 3:10pm UTC](https://community.metabrainz.org/t/script-to-set-all-types-of-all-ready-to-upload-pictures/69868/12 "2017-06-17T15:10:43Z")

</div>

It is now possible to enter the number for the checkbox you want to activate.  
No need to change the bookmarklet-code anymore:  
`javascript: var val=prompt("# of Checkbox to activate or deactivate \n(Front=1, Back=2, Booklet=3...)",""); [].forEach.call(document.querySelectorAll('input[value="'+val+'"]'), function(el) {el.click();});`

---

_[View the full topic](https://community.metabrainz.org/t/script-to-set-all-types-of-all-ready-to-upload-pictures/69868)._
