Sleazy Fork is available in English.
JAV老司机神器,支持各Jav老司机站点。拥有高效浏览Jav的页面排版,JAV高清预览大图,JAV列表无限滚动自动加载,合成“挊”的自动获取JAV磁链接,一键自动115离线下载。。。。没时间解释了,快上车!
@mogu 说道: 使用页面 https://www.javbus.com/番号 代码 https://dpaste.de/GupQ
无法访问了?
let se = () => {
let curGenres = '',
a = document.querySelectorAll('input[name="gr_sel"]:checked'),
arr = [];
a.forEach( e => {
arr.push(e.value);
});
//console.log(arr.join('-'));
arr = arr.join('-');
if (arr[0]) {
window.location.href = 'genre/' + arr;
}
};
let CreateSearch = () => {
//get <p>
let p = document.querySelector('span.genre > a[href*="https://www.javbus.com/genre/"]');
if (!p) return;
p = p.parentNode.parentNode;
p.querySelectorAll('a').forEach( e => {
let i = document.createElement('input'),
val = e.href.split('/');
//https://www.javbus.com/genre/4 --> get > 4
val = val[val.length -1];
i.setAttribute('type', 'checkbox');
i.setAttribute('name', 'gr_sel');
i.setAttribute('value', val);
i.setAttribute('style', 'margin-right: 5px;');
e.parentNode.insertBefore(i, e);
} );
let a = document.createElement('a');
a.setAttribute('style', 'cursor: pointer; display: block; color: blue;');
a.textContent = '搜索';
p.appendChild(a);
a.addEventListener('click', se, false);
};
CreateSearch();
@mogu 说道:
let se = () => { let curGenres = '', a = document.querySelectorAll('input[name="gr_sel"]:checked'), arr = []; a.forEach( e => { arr.push(e.value); }); //console.log(arr.join('-')); arr = arr.join('-'); if (arr[0]) { window.location.href = 'genre/' + arr; } }; let CreateSearch = () => { //get <p> let p = document.querySelector('span.genre > a[href*="https://www.javbus.com/genre/"]'); if (!p) return; p = p.parentNode.parentNode; p.querySelectorAll('a').forEach( e => { let i = document.createElement('input'), val = e.href.split('/'); //https://www.javbus.com/genre/4 --> get > 4 val = val[val.length -1]; i.setAttribute('type', 'checkbox'); i.setAttribute('name', 'gr_sel'); i.setAttribute('value', val); i.setAttribute('style', 'margin-right: 5px;'); e.parentNode.insertBefore(i, e); } ); let a = document.createElement('a'); a.setAttribute('style', 'cursor: pointer; display: block; color: blue;'); a.textContent = '搜索'; p.appendChild(a); a.addEventListener('click', se, false); }; CreateSearch();
已处理,请更新版本试试
这个功能跟有没有缩略图没有关系 不用放在里面
@mogu 说道: 这个功能跟有没有缩略图没有关系 不用放在里面
已处理,请更新版本试试
详情页面添加官方的搜索功能
使用页面 https://www.javbus.com/番号 代码 https://dpaste.de/GupQ