MusicBrainz: Auto click confirm form submission

Automatically clicks the button to confirm submitting (seeding) data from other sites

< 腳本MusicBrainz: Auto click confirm form submission的回應

提問/評論

§
發表於:2025-05-27
// @match      *://*.musicbrainz.org/release/add
// @match      *://*.musicbrainz.org/release/*/edit
// @match      *://*.musicbrainz.org/recording/create

The first star only allows http and https but you can keep writing https if you prefer. The second star allows no subdomain or any subdomain.

I didn't test if it works but it should. It would be better than:

// @include      https://*musicbrainz.org/release/add
// @include      https://*musicbrainz.org/release/*/edit
// @include      https://*musicbrainz.org/recording/create

Which allow any website like https://pipo.com/musicbrainz.org/release/add

chaban作者
§
發表於:2025-05-27
編輯:2025-05-27

Thanks. For some reason I was under the impression that *. in the host part would only match the subdomains and not without.

Regarding the protocol part, it doesn't look like MusicBrainz supports HTTP any longer, i.e. they return no real content and try to redirect the user:

curl -v http://musicbrainz.org
* Host musicbrainz.org:80 was resolved.
* IPv6: 2a01:4f8:c01e:70::1
* IPv4: 142.132.240.1
*   Trying [2a01:4f8:c01e:70::1]:80...
* connect to 2a01:4f8:c01e:70::1 port 80 from :: port 13331 failed: Network unreachable
*   Trying 142.132.240.1:80...
* Connected to musicbrainz.org (142.132.240.1) port 80
* using HTTP/1.x
> GET / HTTP/1.1
> Host: musicbrainz.org
> User-Agent: curl/8.12.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 302 Moved Temporarily
< Server: openresty
< Date: Tue, 27 May 2025 12:31:30 GMT
< Content-Type: text/html
< Content-Length: 142
< Connection: keep-alive
< Keep-Alive: timeout=15
< Location: https://musicbrainz.org/
<
<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>openresty</center>
</body>
</html>
* Connection #0 to host musicbrainz.org left intact
chaban作者
§
發表於:2025-05-27

I've updated the other scripts as well to use @match instead if possible.

發表回覆

登入以回覆

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址