clumsyman / nyue6

// ==UserScript==
// @namespace     https://openuserjs.org/users/clumsyman
// @name          nyue6
// @author clumsyman
// @description   replace the image with characters.
// @copyright     2022, clumsyman (https://openuserjs.org/users/clumsyman)
// @license       MIT
// @version       0.0.0
// @updateURL https://openuserjs.org/meta/clumsyman/nyue6.meta.js
// @downloadURL https://openuserjs.org/install/clumsyman/nyue6.user.js
// @include       https://m.nyue6.com/*
// @grant none
// @run-at        document-start
// ==/UserScript==

javascript:(function() {
try {
    var origStringSearch = String.prototype.search;
    String.prototype.search = function(arg) {
        return (arg instanceof RegExp && arg.source == 'baidubox') ? 10
            : origStringSearch.apply(this, arguments);
    }
} catch(e) {
	_alert(e + '\n' + e.stack);
}
})();