javascript 通过GB和SSD筛选翻新Mac:小功能,用于删除与定义的GB和SSD大小不匹配的所有翻新mac

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了javascript 通过GB和SSD筛选翻新Mac:小功能,用于删除与定义的GB和SSD大小不匹配的所有翻新mac相关的知识,希望对你有一定的参考价值。

// paste and execute it into the browser console. You can define ( GB, SSD [, index-of-box-content-class ] )
// https://www.apple.com/de/shop/browse/home/specialdeals/mac/macbook_pro
// eventually there is a header then you can test the param index-of-box-content-class = 1
((_gb, _ssd, content_idx) => { const _wrp = document.getElementsByClassName("box-content")[ content_idx || 0];Array.from(document.getElementsByClassName("specs")).forEach((el) =>{if (!(el.innerHTML.indexOf(_gb.toString() + " GB") > 0 && el.innerHTML.indexOf(_ssd.toString() + " GB") > 0)) {_wrp.removeChild(el.parentNode.parentNode.parentNode)}})})(16,512)

以上是关于javascript 通过GB和SSD筛选翻新Mac:小功能,用于删除与定义的GB和SSD大小不匹配的所有翻新mac的主要内容,如果未能解决你的问题,请参考以下文章

RAMOS和SSD对比

SSD硬盘接口速率

MicroPython ESP32ssd1306模块基于GB2312字库驱动0.96“I2C屏幕汉字显示示例

Chia挖矿可以在40天内毁掉一个512GB的SSD

ceph 硬件选型、性能调优(*)

elastic面试题