Good news, Shanghai Jianglang was named Shanghai patent pilot enterprise and listed in the first batch of Jinshan key trademark protection list

Good news, Shanghai Jianglang was named Shanghai patent pilot enterprise and listed in the first batch of Jinshan key trademark protection list

Jun 11, 2021

$(window).on('load', function() { function replacePumpText() { $('body *').contents().filter(function() { return this.nodeType === 3; }).each(function() { if (/diaphragm pump/i.test(this.textContent)) { this.textContent = this.textContent.replace(/diaphragm pump/gi, 'Drainage Pump'); } }); // 同时替换 alt、title 等属性 $('[alt], [title]').each(function() { if (this.alt) this.alt = this.alt.replace(/diaphragm pump/gi, 'Drainage Pump'); if (this.title) this.title = this.title.replace(/diaphragm pump/gi, 'Drainage Pump'); }); } replacePumpText(); // 监听动态加载的内容 new MutationObserver(function() { replacePumpText(); }).observe(document.body, { childList: true, subtree: true }); });