This commit is contained in:
Aurélien Mino 2016-11-11 11:18:33 +01:00 committed by GitHub
parent d3de311776
commit 02f26458a8

View file

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Musicbrainz DiscIds Detector // @name Musicbrainz DiscIds Detector
// @namespace http://userscripts.org/users/22504 // @namespace http://userscripts.org/users/22504
// @version 2016.03.05.0 // @version 2016.11.11.0
// @description Generate MusicBrainz DiscIds from online EAC logs, and check existence in MusicBrainz database. // @description Generate MusicBrainz DiscIds from online EAC logs, and check existence in MusicBrainz database.
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_discids_detector.user.js // @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_discids_detector.user.js
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_discids_detector.user.js // @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_discids_detector.user.js
@ -105,7 +105,7 @@ function gazellePageHandler() {
$(torrentInfo).find('a') $(torrentInfo).find('a')
// Only investigate the ones with a log // Only investigate the ones with a log
.filter(function (index) { .filter(function (index) {
return $(this).attr("href").match(/action=viewlog/) || $(this).text().contains("View Log"); return $(this).attr("href").match(/action=viewlog/) || $(this).text().match(/View Log/);
}) })
.each(function () { .each(function () {