找回密码
 注册
搜索
系统gho:最纯净好用系统下载站升级VIP会员,联系 微信:wuyouceo
查看: 1192|回复: 69

用豆包做的无忧论坛搜索油猴扩展

 荐  火 [复制链接]
发表于 前天 20:29 | 显示全部楼层 |阅读模式
本帖最后由 qjldw 于 2026-11-18 23:46 编辑
  1. // ==UserScript==
  2. // @name         无忧论坛 · 站内搜索增强(百度 site:)
  3. // @namespace    https://bbs.wuyou.net/
  4. // @version      3.2.1
  5. // @description  无忧论坛取消站内搜索后的替代方案。①论坛页:右上角搜索框,支持百度联想词、搜索历史、本版块限定、多引擎切换;②百度结果页:自动把 wuyou.net 条目卡片化标注,并提供「只看无忧站内」筛选。
  6. // @match        *://*.wuyou.net/*
  7. // @match        *://www.baidu.com/s*
  8. // @run-at       document-idle
  9. // @noframes
  10. // @grant        none
  11. // ==/UserScript==

  12. (function () {
  13.   'use strict';

  14.   /* ================== 配置 ================== */
  15.   const SITE = 'wuyou.net';                 // 站内范围(site:wuyou.net)
  16.   const DEFAULT_ENGINE = 'baidu';           // baidu | bing | google
  17.   const ENGINES = {
  18.     baidu:  { label: '百度', url: 'https://www.baidu.com/s?ie=utf-8&wd=' },
  19.     bing:   { label: '必应', url: 'https://cn.bing.com/search?q=' },
  20.     google: { label: '谷歌', url: 'https://www.google.com/search?q=' }
  21.   };
  22.   const SUGGEST = true;                     // 百度联想词(JSONP)
  23.   const HIJACK_SITE_SEARCH = true;          // 是否接管站点自带的 search.php 搜索框(VIP/将军级用户可设 false 保留原功能)
  24.   const HIST_MAX = 8;                       // 搜索历史条数
  25.   const HOTKEY = 's';                       // Alt+S 聚焦搜索框
  26.   /* ========================================== */

  27.   /* 站点判断:百度搜索结果页 vs 论坛页 */
  28.   const onBaiduSerp = /^(www\.)?baidu\.com$/i.test(location.hostname) && location.pathname.indexOf('/s') === 0;

  29.   if (onBaiduSerp) { initBaiduSerp(); } else { initForum(); }

  30.   /* ==========================================================
  31.      一、论坛页:搜索框
  32.      ========================================================== */
  33.   function initForum() {

  34.     const CSS = `
  35. #wys-panel{position:fixed;top:34px;right:12px;z-index:2147483100;display:flex;align-items:center;
  36.   font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#333;}
  37. #wys-bar{display:flex;align-items:center;gap:4px;padding:4px 6px;border-radius:999px;
  38.   background:rgba(255,255,255,.96);border:1px solid #d7e2ee;box-shadow:0 2px 12px rgba(0,0,0,.18);}
  39. #wys-input{width:190px;height:26px;padding:0 10px;border:1px solid #cfdae6;border-radius:999px;
  40.   outline:none;font-size:13px;background:#f7fafd;color:#222;box-sizing:border-box;
  41.   transition:border-color .15s,box-shadow .15s;}
  42. #wys-input:focus{border-color:#3b82c4;background:#fff;box-shadow:0 0 0 3px rgba(59,130,196,.15);}
  43. #wys-engine{height:26px;border:1px solid #cfdae6;border-radius:999px;background:#fff;
  44.   font-size:12px;color:#333;padding:0 2px;outline:none;cursor:pointer;}
  45. #wys-go{height:28px;padding:0 12px;border:0;border-radius:999px;background:#2f6fb5;color:#fff;
  46.   font-size:12px;cursor:pointer;white-space:nowrap;}
  47. #wys-go:hover{background:#255c99;}
  48. #wys-min{width:20px;height:26px;border:0;background:transparent;color:#93a5b8;cursor:pointer;font-size:14px;line-height:1;}
  49. #wys-min:hover{color:#2f6fb5;}
  50. #wys-board-wrap{display:flex;align-items:center;gap:2px;font-size:12px;color:#556;cursor:pointer;white-space:nowrap;}
  51. #wys-board-wrap input{margin:0;cursor:pointer;}
  52. #wys-open{display:none;width:40px;height:40px;border:0;border-radius:50%;background:#2f6fb5;color:#fff;
  53.   font-size:13px;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.25);}
  54. #wys-open:hover{background:#255c99;}
  55. #wys-panel[data-min="1"] #wys-bar{display:none;}
  56. #wys-panel[data-min="1"] #wys-open{display:block;}

  57. #wys-sug{position:fixed;z-index:2147483300;display:none;max-height:250px;overflow:auto;box-sizing:border-box;
  58.   background:#fff;border:1px solid #d7e2ee;border-radius:8px;box-shadow:0 8px 22px rgba(15,35,60,.14);}
  59. #wys-sug .sug-cap{padding:5px 10px;font-size:11px;color:#9aabbd;background:#fafcfe;border-bottom:1px solid #eef3f8;}
  60. #wys-sug .sug-item{padding:6px 10px;font-size:12px;color:#33475b;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  61. #wys-sug .sug-item:hover,#wys-sug .sug-item.on{background:#eef5fc;color:#2f6fb5;}

  62. @media (max-width:620px){
  63.   #wys-panel{left:8px;right:8px;justify-content:flex-end;}
  64.   #wys-bar{width:100%;flex-wrap:wrap;justify-content:flex-end;}
  65.   #wys-input{flex:1 1 110px;width:auto;min-width:96px;}
  66. }`;

  67.     const KEY = { engine: 'wys.engine', min: 'wys.min', board: 'wys.board', hist: 'wys.hist' };
  68.     const load = (k, d) => { try { const v = localStorage.getItem(k); return v === null ? d : v; } catch (e) { return d; } };
  69.     const save = (k, v) => { try { localStorage.setItem(k, v); } catch (e) { /* 忽略 */ } };

  70.     // 当前版块号:/forum-10-1.html → 10
  71.     const boardId = (location.pathname.match(/\/forum-(\d+)-/) || [])[1] || null;

  72.     let engine = load(KEY.engine, DEFAULT_ENGINE);
  73.     if (!ENGINES[engine]) engine = DEFAULT_ENGINE;

  74.     const style = document.createElement('style');
  75.     style.textContent = CSS;
  76.     document.head.appendChild(style);

  77.     const panel = document.createElement('div');
  78.     panel.id = 'wys-panel';
  79.     panel.innerHTML =
  80.       '<div id="wys-bar">' +
  81.         '<input id="wys-input" type="search" placeholder="搜索无忧论坛(回车)" autocomplete="off" spellcheck="false">' +
  82.         (boardId ? '<label id="wys-board-wrap" title="只搜当前版块(inurl:forum-' + boardId + ')"><input type="checkbox" id="wys-board">本版块</label>' : '') +
  83.         '<select id="wys-engine" title="搜索引擎"></select>' +
  84.         '<button id="wys-go" type="button" title="搜索">搜索</button>' +
  85.         '<button id="wys-min" type="button" title="收起">—</button>' +
  86.       '</div>' +
  87.       '<button id="wys-open" type="button" title="展开(Alt+S)">搜</button>';

  88.     const sugBox = document.createElement('div');
  89.     sugBox.id = 'wys-sug';

  90.     document.body.appendChild(panel);
  91.     document.body.appendChild(sugBox);

  92.     const input = panel.querySelector('#wys-input');
  93.     const select = panel.querySelector('#wys-engine');
  94.     const goBtn = panel.querySelector('#wys-go');
  95.     const minBtn = panel.querySelector('#wys-min');
  96.     const openBtn = panel.querySelector('#wys-open');
  97.     const boardBox = panel.querySelector('#wys-board');

  98.     Object.keys(ENGINES).forEach(function (id) {
  99.       const o = document.createElement('option');
  100.       o.value = id;
  101.       o.textContent = ENGINES[id].label;
  102.       select.appendChild(o);
  103.     });
  104.     select.value = engine;
  105.     if (boardBox) boardBox.checked = load(KEY.board, '0') === '1';

  106.     const setMin = (v) => { panel.dataset.min = v ? '1' : '0'; save(KEY.min, v ? '1' : '0'); };
  107.     // 默认收起:只留一个圆形「搜」钮,避免遮挡 Discuz 页头右侧的登录/注册区
  108.     setMin(load(KEY.min, '1') === '1');

  109.     /* ---------- 历史记录 ---------- */
  110.     function getHist() {
  111.       try { const a = JSON.parse(load(KEY.hist, '[]')); return Array.isArray(a) ? a : []; } catch (e) { return []; }
  112.     }
  113.     function pushHist(kw) {
  114.       const a = getHist().filter(function (x) { return x !== kw; });
  115.       a.unshift(kw);
  116.       save(KEY.hist, JSON.stringify(a.slice(0, HIST_MAX)));
  117.     }

  118.     /* ---------- 搜索 ---------- */
  119.     function buildQuery(kw, boardOnly) {
  120.       let q = 'site:' + SITE + ' ' + kw;
  121.       if (boardOnly && boardId) q += ' inurl:forum-' + boardId;
  122.       return q;
  123.     }

  124.     function go() {
  125.       const kw = input.value.trim();
  126.       if (!kw) { input.focus(); return; }
  127.       pushHist(kw);
  128.       hideSug();
  129.       const q = buildQuery(kw, !!(boardBox && boardBox.checked));
  130.       const url = ENGINES[engine].url + encodeURIComponent(q);
  131.       const w = window.open(url, '_blank');
  132.       if (!w) location.href = url;   // 弹窗被拦截时降级
  133.     }

  134.     goBtn.addEventListener('click', go);

  135.     input.addEventListener('keydown', function (e) {
  136.       if (e.key === 'Enter') {
  137.         e.preventDefault();
  138.         const on = sugBox.querySelector('.sug-item.on');
  139.         if (sugBox.style.display === 'block' && on) input.value = on.dataset.q;   // 回车选高亮联想词
  140.         go();
  141.       } else if (e.key === 'ArrowDown' || e.key === 'ArrowUp') {
  142.         const items = Array.prototype.slice.call(sugBox.querySelectorAll('.sug-item'));
  143.         if (!items.length || sugBox.style.display !== 'block') return;
  144.         e.preventDefault();
  145.         let idx = items.findIndex(function (n) { return n.classList.contains('on'); });
  146.         idx = e.key === 'ArrowDown' ? Math.min(items.length - 1, idx + 1) : Math.max(0, idx - 1);
  147.         items.forEach(function (n) { n.classList.remove('on'); });
  148.         items[idx].classList.add('on');
  149.         input.value = items[idx].dataset.q;
  150.       } else if (e.key === 'Escape') {
  151.         input.value = '';
  152.         input.blur();
  153.         hideSug();
  154.       }
  155.     });

  156.     minBtn.addEventListener('click', function () { setMin(true); });
  157.     openBtn.addEventListener('click', function () {
  158.       setMin(false); input.focus();
  159.       if (!input.value.trim()) showHistory();
  160.     });
  161.     select.addEventListener('change', function () { engine = select.value; save(KEY.engine, engine); });
  162.     if (boardBox) boardBox.addEventListener('change', function () { save(KEY.board, boardBox.checked ? '1' : '0'); });

  163.     document.addEventListener('keydown', function (e) {
  164.       if (e.altKey && !e.ctrlKey && !e.metaKey && e.key && e.key.toLowerCase() === HOTKEY) {
  165.         e.preventDefault(); setMin(false); input.focus(); input.select();
  166.       }
  167.     });

  168.     /* ---------- 联想词 + 历史(JSONP) ---------- */
  169.     let sugTimer = null, sugSeq = 0;
  170.     const sugCache = Object.create(null);

  171.     function hideSug() { sugBox.style.display = 'none'; sugBox.innerHTML = ''; }

  172.     function placeSug() {
  173.       const r = input.getBoundingClientRect();
  174.       sugBox.style.left = Math.max(8, r.left) + 'px';
  175.       sugBox.style.top = (r.bottom + 6) + 'px';
  176.       sugBox.style.width = Math.max(240, r.width) + 'px';
  177.     }

  178.     function renderItems(list, cap) {
  179.       if (!list || !list.length) { hideSug(); return; }
  180.       sugBox.innerHTML =
  181.         '<div class="sug-cap">' + cap + '</div>' +
  182.         list.map(function (q) {
  183.           return '<div class="sug-item" data-q="' + q.replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/</g, '&lt;') + '">' +
  184.                  q.replace(/&/g, '&amp;').replace(/</g, '&lt;') + '</div>';
  185.         }).join('');
  186.       placeSug();
  187.       sugBox.style.display = 'block';
  188.     }

  189.     function showHistory() {
  190.       const h = getHist();
  191.       if (!h.length) return;
  192.       renderItems(h, '最近搜索');
  193.     }

  194.     function fetchSug(kw) {
  195.       if (sugCache[kw]) { renderItems(sugCache[kw], '百度联想'); return; }
  196.       const cb = 'wysSug' + (++sugSeq) + '_' + Date.now();
  197.       let done = false;

  198.       window[cb] = function (data) {
  199.         done = true;
  200.         const list = (data && data.g || []).map(function (x) { return x.q; }).filter(Boolean).slice(0, 10);
  201.         sugCache[kw] = list;
  202.         if (input.value.trim() === kw) renderItems(list, '百度联想');   // 防慢响应覆盖新输入
  203.         cleanup();
  204.       };

  205.       const s = document.createElement('script');
  206.       s.src = 'https://www.baidu.com/sugrec?pre=1&p=3&ie=utf-8&json=1&prod=pc&wd=' +
  207.               encodeURIComponent(kw) + '&cb=' + cb;
  208.       s.onerror = cleanup;
  209.       s.onload = function () { if (!done) cleanup(); };

  210.       function cleanup() {
  211.         try { delete window[cb]; } catch (e) { window[cb] = undefined; }
  212.         if (s.parentNode) s.parentNode.removeChild(s);
  213.       }

  214.       document.head.appendChild(s);
  215.     }

  216.     input.addEventListener('input', function () {
  217.       clearTimeout(sugTimer);
  218.       const kw = input.value.trim();
  219.       if (!kw) { if (SUGGEST) showHistory(); else hideSug(); return; }
  220.       if (!SUGGEST) return;
  221.       sugTimer = setTimeout(function () { fetchSug(kw); }, 300);
  222.     });

  223.     input.addEventListener('focus', function () { if (!input.value.trim()) showHistory(); });

  224.     sugBox.addEventListener('click', function (e) {
  225.       const it = e.target && e.target.closest ? e.target.closest('.sug-item') : null;
  226.       if (!it) return;
  227.       input.value = it.dataset.q;
  228.       hideSug();
  229.       go();
  230.     });

  231.     input.addEventListener('blur', function () { setTimeout(hideSug, 200); });
  232.     window.addEventListener('resize', function () { if (sugBox.style.display === 'block') placeSug(); });

  233.     /* ---------- 接管站点残留的搜索入口 ---------- */
  234.     if (HIJACK_SITE_SEARCH) {
  235.     document.addEventListener('click', function (e) {
  236.       const a = e.target && e.target.closest ? e.target.closest('a[href*="search.php"]') : null;
  237.       if (!a || panel.contains(a)) return;
  238.       e.preventDefault();
  239.       e.stopPropagation();
  240.       setMin(false);
  241.       input.focus();
  242.       input.select();
  243.       if (!input.value.trim()) showHistory();
  244.     }, true);

  245.     document.addEventListener('submit', function (e) {
  246.       const form = e.target;
  247.       if (!form || !form.action || form.action.indexOf('search.php') === -1) return;
  248.       const field = form.querySelector('input[name="srchtxt"], input[name="keywords"], input[name="q"], input[type="text"], input[type="search"]');
  249.       const kw = field && field.value ? field.value.trim() : '';
  250.       e.preventDefault();
  251.       e.stopPropagation();
  252.       if (!kw) { setMin(false); input.focus(); return; }
  253.       input.value = kw;
  254.       go();
  255.     }, true);
  256.     }
  257.   }

  258.   /* ==========================================================
  259.      二、百度结果页:把 wuyou.net 条目卡片化 + 只看站内
  260.      ========================================================== */
  261.   function initBaiduSerp() {

  262.     const CSS = `
  263. .wys-hit{position:relative;border-radius:6px;box-shadow:inset 3px 0 0 #2f6fb5;}
  264. .wys-hit .wys-badge{display:inline-block;margin:0 0 4px;padding:0 6px;line-height:18px;border-radius:3px;
  265.   background:#2f6fb5;color:#fff;font:11px/18px -apple-system,"Microsoft YaHei",sans-serif;vertical-align:middle;}
  266. body.wys-only-on .wys-other{display:none !important;}
  267. #wys-only{position:fixed;right:16px;bottom:16px;z-index:2147483400;height:32px;padding:0 14px;
  268.   border:1px solid #cfdae6;border-radius:999px;background:#fff;color:#2f6fb5;cursor:pointer;
  269.   font:12px/30px -apple-system,"Microsoft YaHei",sans-serif;box-shadow:0 3px 14px rgba(15,35,60,.18);}
  270. #wys-only:hover{border-color:#9dc0e0;background:#f2f8fd;}
  271. #wys-only[data-on="1"]{background:#2f6fb5;color:#fff;border-color:#2f6fb5;}
  272. `;

  273.     const style = document.createElement('style');
  274.     style.textContent = CSS;
  275.     document.head.appendChild(style);

  276.     let hitCount = 0;
  277.     let onlyOn = false;

  278.     function findContainer() {
  279.       return document.querySelector('#content_left') || document.querySelector('#results') || null;
  280.     }

  281.     // 判断一个块是否真的命中站内。
  282.     // 注意两点坑:① 有机结果的跳转链接是 baidu.com/link?url=…,href 里看不到目标域名,
  283.     // 域名只出现在「显示网址」那行(cite/.c-showurl)的**可见文本**里;
  284.     // ② 「大家还在搜」这类聚合模块(class 含 result-op)里的搜索链接 href 会带着原查询串,
  285.     // 里面可能就有 wuyou.net,按 href 判断会整块误判,所以必须排除聚合模块、且只认可见文本。
  286.     function isHit(block) {
  287.       if (!block || block.nodeType !== 1) return false;
  288.       if (/result-op/.test(block.className || '')) return false;

  289.       const as = block.querySelectorAll('a');
  290.       for (let i = 0; i < as.length; i++) {
  291.         const href = as[i].getAttribute('href') || '';
  292.         if (/^(?:https?:\/\/)?(?:[a-z0-9-]+\.)*wuyou\.net(?:[\/?#]|$)/i.test(href)) return true;   // 真·直链
  293.         if (/wuyou\.net/i.test(as[i].textContent || '')) return true;                              // 显示出来的网址文本
  294.       }

  295.       const cites = block.querySelectorAll('cite, .c-showurl, .f13');
  296.       for (let j = 0; j < cites.length; j++) {
  297.         if (/wuyou\.net/i.test(cites[j].textContent || '')) return true;
  298.       }
  299.       return false;
  300.     }

  301.     function scan() {
  302.       const box = findContainer();
  303.       if (!box) return;
  304.       const blocks = Array.prototype.slice.call(box.children).filter(function (n) {
  305.         return n.nodeType === 1 && !/^(SCRIPT|STYLE)$/.test(n.tagName);
  306.       });
  307.       if (!blocks.length) return;

  308.       hitCount = 0;
  309.       blocks.forEach(function (b) {
  310.         if (isHit(b)) {
  311.           hitCount++;
  312.           if (!b.classList.contains('wys-hit')) {
  313.             b.classList.add('wys-hit');
  314.             const badge = document.createElement('span');
  315.             badge.className = 'wys-badge';
  316.             badge.textContent = '无忧站内';
  317.             // 放在块内第一个可见元素之前;找不到就插到块首
  318.             const first = b.querySelector('h3, .c-title, .t') || b.firstChild;
  319.             if (first && first.parentNode === b) b.insertBefore(badge, first);
  320.             else b.insertBefore(badge, b.firstChild);
  321.           }
  322.         } else {
  323.           // 上一轮可能误标过(百度异步渲染会替换节点),这里顺手撤回
  324.           if (b.classList.contains('wys-hit')) {
  325.             b.classList.remove('wys-hit');
  326.             const old = b.querySelector('.wys-badge');
  327.             if (old && old.parentNode) old.parentNode.removeChild(old);
  328.           }
  329.           b.classList.add('wys-other');
  330.         }
  331.       });

  332.       updateBtn();
  333.     }

  334.     const btn = document.createElement('button');
  335.     btn.id = 'wys-only';
  336.     btn.type = 'button';
  337.     btn.addEventListener('click', function () {
  338.       onlyOn = !onlyOn;
  339.       document.body.classList.toggle('wys-only-on', onlyOn);
  340.       updateBtn();
  341.     });

  342.     function updateBtn() {
  343.       if (!hitCount) { btn.style.display = 'none'; return; }
  344.       btn.style.display = 'block';
  345.       btn.dataset.on = onlyOn ? '1' : '0';
  346.       btn.textContent = onlyOn ? '显示全部结果' : '只看无忧站内(' + hitCount + '条)';
  347.     }

  348.     function boot() {
  349.       if (!document.body) { setTimeout(boot, 300); return; }
  350.       document.body.appendChild(btn);
  351.       scan();
  352.       // 百度结果是异步/分页加载的,监听变化后重扫
  353.       let t = null;
  354.       const mo = new MutationObserver(function () {
  355.         clearTimeout(t);
  356.         t = setTimeout(scan, 600);
  357.       });
  358.       const box = findContainer() || document.body;
  359.       mo.observe(box, { childList: true, subtree: true });
  360.     }

  361.     boot();
  362.   }

  363. })();
复制代码


新增默认搜索引擎为必应,并且由于按板块搜索没用,去掉「本版块」打开联想词兜底,但是历史词优先,不要的自己修改

  1. // ==UserScript==
  2. // @name         无忧论坛 · 站内搜索增强(默认必应 site:)
  3. // @namespace    https://bbs.wuyou.net/
  4. // @version      3.3.2
  5. // @description  无忧论坛取消站内搜索后的替代方案。①论坛页:右上角搜索框,默认走必应 site:,支持 10 条搜索历史、多引擎切换;②结果页(百度 / 必应):自动把 wuyou.net 条目卡片化标注,并提供「只看无忧站内」筛选。
  6. // @match        *://*.wuyou.net/*
  7. // @match        *://*.baidu.com/s*
  8. // @match        *://*.bing.com/search*
  9. // @run-at       document-idle
  10. // @noframes
  11. // @grant        none
  12. // ==/UserScript==

  13. (function () {
  14.   'use strict';

  15.   /* ================== 配置 ================== */
  16.   const SITE = 'wuyou.net';                 // 站内范围(site:wuyou.net)
  17.   const DEFAULT_ENGINE = 'bing';            // baidu | bing | google(默认必应,可随时在下拉里切换)
  18.   const ENGINES = {
  19.     baidu:  { label: '百度', url: 'https://www.baidu.com/s?ie=utf-8&wd=' },
  20.     bing:   { label: '必应', url: 'https://cn.bing.com/search?q=' },
  21.     google: { label: '谷歌', url: 'https://www.google.com/search?q=' }
  22.   };
  23.   const SUGGEST = true;                      // 关键词联想(走百度 JSONP)。只在「历史里没有匹配」时才请求,设为 false 则完全不请求
  24.   const HIST_FIRST = true;                   // 历史优先:输入时先在前缀/包含命中的历史里过滤,命中就只显示历史
  25.   const HIJACK_SITE_SEARCH = true;          // 是否接管站点自带的 search.php 搜索框(VIP/将军级用户可设 false 保留原功能)
  26.   const HIST_MAX = 10;                      // 搜索历史条数
  27.   const HOTKEY = 's';                       // Alt+S 聚焦搜索框
  28.   /* ========================================== */

  29.   /* 站点判断:结果页(百度 / 必应)vs 论坛页 */
  30.   const onBaiduSerp = /^(www\.)?baidu\.com$/i.test(location.hostname) && location.pathname.indexOf('/s') === 0;
  31.   const onBingSerp  = /^(cn|www)\.bing\.com$/i.test(location.hostname) && location.pathname.indexOf('/search') === 0;

  32.   if (onBaiduSerp) { initSerp('baidu'); }
  33.   else if (onBingSerp) { initSerp('bing'); }
  34.   else { initForum(); }

  35.   /* ==========================================================
  36.      一、论坛页:搜索框
  37.      ========================================================== */
  38.   function initForum() {

  39.     const CSS = `
  40. #wys-panel{position:fixed;top:34px;right:12px;z-index:2147483100;display:flex;align-items:center;
  41.   font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#333;}
  42. #wys-bar{display:flex;align-items:center;gap:4px;padding:4px 6px;border-radius:999px;
  43.   background:rgba(255,255,255,.96);border:1px solid #d7e2ee;box-shadow:0 2px 12px rgba(0,0,0,.18);}
  44. #wys-input{width:190px;height:26px;padding:0 10px;border:1px solid #cfdae6;border-radius:999px;
  45.   outline:none;font-size:13px;background:#f7fafd;color:#222;box-sizing:border-box;
  46.   transition:border-color .15s,box-shadow .15s;}
  47. #wys-input:focus{border-color:#3b82c4;background:#fff;box-shadow:0 0 0 3px rgba(59,130,196,.15);}
  48. #wys-engine{height:26px;border:1px solid #cfdae6;border-radius:999px;background:#fff;
  49.   font-size:12px;color:#333;padding:0 2px;outline:none;cursor:pointer;}
  50. #wys-go{height:28px;padding:0 12px;border:0;border-radius:999px;background:#2f6fb5;color:#fff;
  51.   font-size:12px;cursor:pointer;white-space:nowrap;}
  52. #wys-go:hover{background:#255c99;}
  53. #wys-min{width:20px;height:26px;border:0;background:transparent;color:#93a5b8;cursor:pointer;font-size:14px;line-height:1;}
  54. #wys-min:hover{color:#2f6fb5;}
  55. #wys-open{display:none;width:40px;height:40px;border:0;border-radius:50%;background:#2f6fb5;color:#fff;
  56.   font-size:13px;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.25);}
  57. #wys-open:hover{background:#255c99;}
  58. #wys-panel[data-min="1"] #wys-bar{display:none;}
  59. #wys-panel[data-min="1"] #wys-open{display:block;}

  60. #wys-sug{position:fixed;z-index:2147483300;display:none;max-height:250px;overflow:auto;box-sizing:border-box;
  61.   background:#fff;border:1px solid #d7e2ee;border-radius:8px;box-shadow:0 8px 22px rgba(15,35,60,.14);}
  62. #wys-sug .sug-cap{padding:5px 10px;font-size:11px;color:#9aabbd;background:#fafcfe;border-bottom:1px solid #eef3f8;}
  63. #wys-sug .sug-item{padding:6px 10px;font-size:12px;color:#33475b;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  64. #wys-sug .sug-item:hover,#wys-sug .sug-item.on{background:#eef5fc;color:#2f6fb5;}

  65. @media (max-width:620px){
  66.   #wys-panel{left:8px;right:8px;justify-content:flex-end;}
  67.   #wys-bar{width:100%;flex-wrap:wrap;justify-content:flex-end;}
  68.   #wys-input{flex:1 1 110px;width:auto;min-width:96px;}
  69. }`;

  70.     const KEY = { engine: 'wys.engine', min: 'wys.min', hist: 'wys.hist' };
  71.     const load = (k, d) => { try { const v = localStorage.getItem(k); return v === null ? d : v; } catch (e) { return d; } };
  72.     const save = (k, v) => { try { localStorage.setItem(k, v); } catch (e) { /* 忽略 */ } };

  73.     let engine = load(KEY.engine, DEFAULT_ENGINE);
  74.     if (!ENGINES[engine]) engine = DEFAULT_ENGINE;

  75.     // 默认引擎迁移:只做一次,把本地存着的旧默认值(百度)覆盖成必应。
  76.     // 之后你在下拉里手动选的其他引擎不会被再改回来。
  77.     const ENGINE_STAMP = 'v322-bing';
  78.     if (load('wys.engineStamp', '') !== ENGINE_STAMP) {
  79.       engine = DEFAULT_ENGINE;
  80.       save(KEY.engine, engine);
  81.       save('wys.engineStamp', ENGINE_STAMP);
  82.     }

  83.     const style = document.createElement('style');
  84.     style.textContent = CSS;
  85.     document.head.appendChild(style);

  86.     const panel = document.createElement('div');
  87.     panel.id = 'wys-panel';
  88.     panel.innerHTML =
  89.       '<div id="wys-bar">' +
  90.         '<input id="wys-input" type="search" placeholder="搜索无忧论坛(回车)" autocomplete="off" spellcheck="false">' +
  91.         '<select id="wys-engine" title="搜索引擎"></select>' +
  92.         '<button id="wys-go" type="button" title="搜索">搜索</button>' +
  93.         '<button id="wys-min" type="button" title="收起">—</button>' +
  94.       '</div>' +
  95.       '<button id="wys-open" type="button" title="展开(Alt+S)">搜</button>';

  96.     const sugBox = document.createElement('div');
  97.     sugBox.id = 'wys-sug';

  98.     document.body.appendChild(panel);
  99.     document.body.appendChild(sugBox);

  100.     const input = panel.querySelector('#wys-input');
  101.     const select = panel.querySelector('#wys-engine');
  102.     const goBtn = panel.querySelector('#wys-go');
  103.     const minBtn = panel.querySelector('#wys-min');
  104.     const openBtn = panel.querySelector('#wys-open');

  105.     Object.keys(ENGINES).forEach(function (id) {
  106.       const o = document.createElement('option');
  107.       o.value = id;
  108.       o.textContent = ENGINES[id].label;
  109.       select.appendChild(o);
  110.     });
  111.     select.value = engine;

  112.     const setMin = (v) => { panel.dataset.min = v ? '1' : '0'; save(KEY.min, v ? '1' : '0'); };
  113.     // 默认收起:只留一个圆形「搜」钮,避免遮挡 Discuz 页头右侧的登录/注册区
  114.     setMin(load(KEY.min, '1') === '1');

  115.     /* ---------- 历史记录 ---------- */
  116.     function getHist() {
  117.       try { const a = JSON.parse(load(KEY.hist, '[]')); return Array.isArray(a) ? a.slice(0, HIST_MAX) : []; } catch (e) { return []; }
  118.     }
  119.     function pushHist(kw) {
  120.       const a = getHist().filter(function (x) { return x !== kw; });
  121.       a.unshift(kw);
  122.       save(KEY.hist, JSON.stringify(a.slice(0, HIST_MAX)));
  123.     }

  124.     /* ---------- 搜索 ---------- */
  125.     function buildQuery(kw) {
  126.       return 'site:' + SITE + ' ' + kw;
  127.     }

  128.     function go() {
  129.       const kw = input.value.trim();
  130.       if (!kw) { input.focus(); return; }
  131.       pushHist(kw);
  132.       hideSug();
  133.       const q = buildQuery(kw);
  134.       const url = ENGINES[engine].url + encodeURIComponent(q);
  135.       const w = window.open(url, '_blank');
  136.       if (!w) location.href = url;   // 弹窗被拦截时降级
  137.     }

  138.     goBtn.addEventListener('click', go);

  139.     input.addEventListener('keydown', function (e) {
  140.       if (e.key === 'Enter') {
  141.         e.preventDefault();
  142.         const on = sugBox.querySelector('.sug-item.on');
  143.         if (sugBox.style.display === 'block' && on) input.value = on.dataset.q;   // 回车选高亮联想词
  144.         go();
  145.       } else if (e.key === 'ArrowDown' || e.key === 'ArrowUp') {
  146.         const items = Array.prototype.slice.call(sugBox.querySelectorAll('.sug-item'));
  147.         if (!items.length || sugBox.style.display !== 'block') return;
  148.         e.preventDefault();
  149.         let idx = items.findIndex(function (n) { return n.classList.contains('on'); });
  150.         idx = e.key === 'ArrowDown' ? Math.min(items.length - 1, idx + 1) : Math.max(0, idx - 1);
  151.         items.forEach(function (n) { n.classList.remove('on'); });
  152.         items[idx].classList.add('on');
  153.         input.value = items[idx].dataset.q;
  154.       } else if (e.key === 'Escape') {
  155.         input.value = '';
  156.         input.blur();
  157.         hideSug();
  158.       }
  159.     });

  160.     minBtn.addEventListener('click', function () { setMin(true); });
  161.     openBtn.addEventListener('click', function () {
  162.       setMin(false); input.focus();
  163.       if (!input.value.trim()) showHistory();
  164.     });
  165.     select.addEventListener('change', function () { engine = select.value; save(KEY.engine, engine); });

  166.     document.addEventListener('keydown', function (e) {
  167.       if (e.altKey && !e.ctrlKey && !e.metaKey && e.key && e.key.toLowerCase() === HOTKEY) {
  168.         e.preventDefault(); setMin(false); input.focus(); input.select();
  169.       }
  170.     });

  171.     /* ---------- 联想词 + 历史(JSONP) ---------- */
  172.     let sugTimer = null, sugSeq = 0;
  173.     const sugCache = Object.create(null);

  174.     function hideSug() { sugBox.style.display = 'none'; sugBox.innerHTML = ''; }

  175.     function placeSug() {
  176.       const r = input.getBoundingClientRect();
  177.       sugBox.style.left = Math.max(8, r.left) + 'px';
  178.       sugBox.style.top = (r.bottom + 6) + 'px';
  179.       sugBox.style.width = Math.max(240, r.width) + 'px';
  180.     }

  181.     function renderItems(list, cap) {
  182.       if (!list || !list.length) { hideSug(); return; }
  183.       sugBox.innerHTML =
  184.         '<div class="sug-cap">' + cap + '</div>' +
  185.         list.map(function (q) {
  186.           return '<div class="sug-item" data-q="' + q.replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/</g, '&lt;') + '">' +
  187.                  q.replace(/&/g, '&amp;').replace(/</g, '&lt;') + '</div>';
  188.         }).join('');
  189.       placeSug();
  190.       sugBox.style.display = 'block';
  191.     }

  192.     function showHistory() {
  193.       const h = getHist();
  194.       if (!h.length) return;
  195.       renderItems(h, '最近搜索');
  196.     }

  197.     // 历史里挑出与当前输入匹配的项:先按前缀,再按包含
  198.     function matchHist(kw) {
  199.       if (!HIST_FIRST) return [];
  200.       const h = getHist();
  201.       const low = kw.toLowerCase();
  202.       const pre = h.filter(function (q) { return String(q).toLowerCase().indexOf(low) === 0; });
  203.       if (pre.length) return pre;
  204.       return h.filter(function (q) { return String(q).toLowerCase().indexOf(low) !== -1; });
  205.     }

  206.     function fetchSug(kw) {
  207.       if (sugCache[kw]) { renderItems(sugCache[kw], '百度联想'); return; }
  208.       const cb = 'wysSug' + (++sugSeq) + '_' + Date.now();
  209.       let done = false;

  210.       window[cb] = function (data) {
  211.         done = true;
  212.         const list = (data && data.g || []).map(function (x) { return x.q; }).filter(Boolean).slice(0, 10);
  213.         sugCache[kw] = list;
  214.         if (input.value.trim() === kw && !matchHist(kw).length) renderItems(list, '百度联想');   // 防慢响应覆盖新输入 / 覆盖已命中的历史
  215.         cleanup();
  216.       };

  217.       const s = document.createElement('script');
  218.       s.src = 'https://www.baidu.com/sugrec?pre=1&p=3&ie=utf-8&json=1&prod=pc&wd=' +
  219.               encodeURIComponent(kw) + '&cb=' + cb;
  220.       s.onerror = cleanup;
  221.       s.onload = function () { if (!done) cleanup(); };

  222.       function cleanup() {
  223.         try { delete window[cb]; } catch (e) { window[cb] = undefined; }
  224.         if (s.parentNode) s.parentNode.removeChild(s);
  225.       }

  226.       document.head.appendChild(s);
  227.     }

  228.     input.addEventListener('input', function () {
  229.       clearTimeout(sugTimer);
  230.       const kw = input.value.trim();
  231.       if (!kw) { showHistory(); return; }          // 清空输入 → 回到「最近搜索」

  232.       const m = matchHist(kw);                     // 历史命中优先,命中就只显示历史
  233.       if (m.length) { renderItems(m, '最近搜索'); return; }

  234.       if (!SUGGEST) { hideSug(); return; }         // 关掉联想 → 输入中不弹下拉
  235.       sugTimer = setTimeout(function () { fetchSug(kw); }, 300);
  236.     });

  237.     input.addEventListener('focus', function () { if (!input.value.trim()) showHistory(); });

  238.     sugBox.addEventListener('click', function (e) {
  239.       const it = e.target && e.target.closest ? e.target.closest('.sug-item') : null;
  240.       if (!it) return;
  241.       input.value = it.dataset.q;
  242.       hideSug();
  243.       go();
  244.     });

  245.     input.addEventListener('blur', function () { setTimeout(hideSug, 200); });
  246.     window.addEventListener('resize', function () { if (sugBox.style.display === 'block') placeSug(); });

  247.     /* ---------- 接管站点残留的搜索入口 ---------- */
  248.     if (HIJACK_SITE_SEARCH) {
  249.     document.addEventListener('click', function (e) {
  250.       const a = e.target && e.target.closest ? e.target.closest('a[href*="search.php"]') : null;
  251.       if (!a || panel.contains(a)) return;
  252.       e.preventDefault();
  253.       e.stopPropagation();
  254.       setMin(false);
  255.       input.focus();
  256.       input.select();
  257.       if (!input.value.trim()) showHistory();
  258.     }, true);

  259.     document.addEventListener('submit', function (e) {
  260.       const form = e.target;
  261.       if (!form || !form.action || form.action.indexOf('search.php') === -1) return;
  262.       const field = form.querySelector('input[name="srchtxt"], input[name="keywords"], input[name="q"], input[type="text"], input[type="search"]');
  263.       const kw = field && field.value ? field.value.trim() : '';
  264.       e.preventDefault();
  265.       e.stopPropagation();
  266.       if (!kw) { setMin(false); input.focus(); return; }
  267.       input.value = kw;
  268.       go();
  269.     }, true);
  270.     }
  271.   }

  272.   /* ==========================================================
  273.      二、结果页(百度 / 必应):把 wuyou.net 条目卡片化 + 只看站内
  274.      ========================================================== */
  275.   function initSerp(which) {

  276.     const CSS = `
  277. .wys-hit{position:relative;border-radius:6px;box-shadow:inset 3px 0 0 #2f6fb5;}
  278. .wys-hit .wys-badge{display:inline-block;margin:0 0 4px;padding:0 6px;line-height:18px;border-radius:3px;
  279.   background:#2f6fb5;color:#fff;font:11px/18px -apple-system,"Microsoft YaHei",sans-serif;vertical-align:middle;}
  280. body.wys-only-on .wys-other{display:none !important;}
  281. #wys-only{position:fixed;right:16px;bottom:16px;z-index:2147483400;height:32px;padding:0 14px;
  282.   border:1px solid #cfdae6;border-radius:999px;background:#fff;color:#2f6fb5;cursor:pointer;
  283.   font:12px/30px -apple-system,"Microsoft YaHei",sans-serif;box-shadow:0 3px 14px rgba(15,35,60,.18);}
  284. #wys-only:hover{border-color:#9dc0e0;background:#f2f8fd;}
  285. #wys-only[data-on="1"]{background:#2f6fb5;color:#fff;border-color:#2f6fb5;}
  286. `;

  287.     const style = document.createElement('style');
  288.     style.textContent = CSS;
  289.     document.head.appendChild(style);

  290.     let hitCount = 0;
  291.     let onlyOn = false;
  292.     const isBing = which === 'bing';

  293.     /* 结果块:百度取 #content_left 的直接子块;必应取 #b_results 里的 li.b_algo */
  294.     function getBlocks() {
  295.       if (isBing) {
  296.         return Array.prototype.slice.call(document.querySelectorAll('#b_results > li.b_algo'));
  297.       }
  298.       const box = document.querySelector('#content_left') || document.querySelector('#results');
  299.       if (!box) return [];
  300.       return Array.prototype.slice.call(box.children).filter(function (n) {
  301.         return n.nodeType === 1 && !/^(SCRIPT|STYLE)$/.test(n.tagName);
  302.       });
  303.     }

  304.     function observerTarget() {
  305.       if (isBing) return document.querySelector('#b_results') || document.body;
  306.       return document.querySelector('#content_left') || document.querySelector('#results') || document.body;
  307.     }

  308.     const DOMAIN_HIT = /^(?:https?:\/\/)?(?:[a-z0-9-]+\.)*wuyou\.net(?:[\/?#]|$)/i;

  309.     // 百度:有机结果的跳转链接是 baidu.com/link?url=…,href 里看不到目标域名,
  310.     // 域名只出现在「显示网址」那行(cite/.c-showurl)的**可见文本**里;
  311.     // 另外「大家还在搜」这类聚合模块(class 含 result-op)里的搜索链接 href 带原查询串,
  312.     // 里面可能就有 wuyou.net,按 href 判断会整块误判,所以必须排除聚合模块、且只认可见文本。
  313.     function isHitBaidu(block) {
  314.       if (!block || block.nodeType !== 1) return false;
  315.       if (/result-op/.test(block.className || '')) return false;

  316.       const as = block.querySelectorAll('a');
  317.       for (let i = 0; i < as.length; i++) {
  318.         const href = as[i].getAttribute('href') || '';
  319.         if (DOMAIN_HIT.test(href)) return true;                            // 真·直链
  320.         if (/wuyou\.net/i.test(as[i].textContent || '')) return true;       // 显示出来的网址文本
  321.       }

  322.       const cites = block.querySelectorAll('cite, .c-showurl, .f13');
  323.       for (let j = 0; j < cites.length; j++) {
  324.         if (/wuyou\.net/i.test(cites[j].textContent || '')) return true;
  325.       }
  326.       return false;
  327.     }

  328.     // 必应:结果链接就是真实地址,直接看 href 最准;cite / .b_attribution 里也有域名文本兜底
  329.     function isHitBing(block) {
  330.       if (!block || block.nodeType !== 1) return false;

  331.       const as = block.querySelectorAll('a');
  332.       for (let i = 0; i < as.length; i++) {
  333.         if (DOMAIN_HIT.test(as[i].getAttribute('href') || '')) return true;
  334.       }

  335.       const cites = block.querySelectorAll('cite, .tptt, .b_attribution');
  336.       for (let j = 0; j < cites.length; j++) {
  337.         if (/wuyou\.net/i.test(cites[j].textContent || '')) return true;
  338.       }
  339.       return false;
  340.     }

  341.     function scan() {
  342.       const blocks = getBlocks();
  343.       if (!blocks.length) return;

  344.       hitCount = 0;
  345.       blocks.forEach(function (b) {
  346.         if ((isBing ? isHitBing : isHitBaidu)(b)) {
  347.           hitCount++;
  348.           if (!b.classList.contains('wys-hit')) {
  349.             b.classList.add('wys-hit');
  350.             const badge = document.createElement('span');
  351.             badge.className = 'wys-badge';
  352.             badge.textContent = '无忧站内';
  353.             // 放在块内第一个可见元素之前;找不到就插到块首
  354.             const first = b.querySelector(isBing ? 'h2' : 'h3, .c-title, .t') || b.firstChild;
  355.             if (first && first.parentNode === b) b.insertBefore(badge, first);
  356.             else b.insertBefore(badge, b.firstChild);
  357.           }
  358.           b.classList.remove('wys-other');
  359.         } else {
  360.           // 上一轮可能误标过(结果页异步渲染会替换节点),这里顺手撤回
  361.           if (b.classList.contains('wys-hit')) {
  362.             b.classList.remove('wys-hit');
  363.             const old = b.querySelector('.wys-badge');
  364.             if (old && old.parentNode) old.parentNode.removeChild(old);
  365.           }
  366.           b.classList.add('wys-other');
  367.         }
  368.       });

  369.       updateBtn();
  370.     }

  371.     const btn = document.createElement('button');
  372.     btn.id = 'wys-only';
  373.     btn.type = 'button';
  374.     btn.addEventListener('click', function () {
  375.       onlyOn = !onlyOn;
  376.       document.body.classList.toggle('wys-only-on', onlyOn);
  377.       updateBtn();
  378.     });

  379.     function updateBtn() {
  380.       if (!hitCount) { btn.style.display = 'none'; return; }
  381.       btn.style.display = 'block';
  382.       btn.dataset.on = onlyOn ? '1' : '0';
  383.       btn.textContent = onlyOn ? '显示全部结果' : '只看无忧站内(' + hitCount + '条)';
  384.     }

  385.     function boot() {
  386.       if (!document.body) { setTimeout(boot, 300); return; }
  387.       document.body.appendChild(btn);
  388.       scan();
  389.       // 结果是异步/分页加载的,监听变化后重扫
  390.       let t = null;
  391.       const mo = new MutationObserver(function () {
  392.         clearTimeout(t);
  393.         t = setTimeout(scan, 600);
  394.       });
  395.       mo.observe(observerTarget(), { childList: true, subtree: true });
  396.     }

  397.     boot();
  398.   }

  399. })();

复制代码


保存为A.JS 然后用油猴导入或者直接拉到油猴扩展界面自动安装。安装后在论坛右上角有个“搜”字就是扩展了。没有传图片的权限了。用必应搜索引擎的效果最好。优先采用。

想调整的话
用 Tampermonkey 编辑器打开这个脚本,顶部有一块配置:

```
const DEFAULT_ENGINE = 'baidu';   // 可改 'bing' / 'google'
const SUGGEST = true;             // 百度联想词,设为 false 关掉
const HIJACK_SITE_SEARCH = true;  // 接管站点自带搜索框;你是 VIP 想保留原搜索就设 false
const HIST_MAX = 8;               // 搜索历史条数
const HOTKEY = 's';               // Alt+S 呼出
```
发表于 前天 20:31 | 显示全部楼层
太牛了升级要8000积分啊
回复

使用道具 举报

发表于 前天 20:34 | 显示全部楼层
论坛大佬太多了
回复

使用道具 举报

发表于 前天 20:40 | 显示全部楼层
谢谢分享
回复

使用道具 举报

发表于 前天 20:44 | 显示全部楼层
感谢分享
回复

使用道具 举报

发表于 前天 20:46 | 显示全部楼层
楼主大牛人啊,下载试用了
回复

使用道具 举报

发表于 前天 20:50 | 显示全部楼层
哈哈哈哈哈,管理员估计也没想到,提高了搜索的门槛后,竟然百花齐放百舸争流涌现出各种搜索来
回复

使用道具 举报

发表于 前天 21:02 | 显示全部楼层
楼主大牛人啊
回复

使用道具 举报

发表于 前天 21:04 | 显示全部楼层
啥也不说了,楼主就是给力!
回复

使用道具 举报

发表于 前天 21:05 | 显示全部楼层
可以试试
回复

使用道具 举报

发表于 前天 21:07 | 显示全部楼层
太牛了,给力
回复

使用道具 举报

发表于 前天 21:08 | 显示全部楼层
谢谢分享,这个应该很多坛友都需要
回复

使用道具 举报

发表于 前天 21:20 | 显示全部楼层
啥也不说了,楼主就是给力!
回复

使用道具 举报

发表于 前天 21:26 | 显示全部楼层
很有趣 试用下
回复

使用道具 举报

发表于 前天 21:32 | 显示全部楼层
牛人,棒棒哒
回复

使用道具 举报

发表于 前天 21:35 | 显示全部楼层
感谢大哥的无私分享!
回复

使用道具 举报

发表于 前天 21:38 | 显示全部楼层
思路和办法都是相当的强,试试看看使用效果
回复

使用道具 举报

发表于 前天 21:38 来自手机 | 显示全部楼层
多谢分享
回复

使用道具 举报

发表于 前天 21:57 | 显示全部楼层
谢谢分享
回复

使用道具 举报

发表于 前天 22:25 | 显示全部楼层
厉害啊百花齐放
回复

使用道具 举报

发表于 前天 22:29 | 显示全部楼层
这个必须支持
回复

使用道具 举报

发表于 前天 22:29 | 显示全部楼层
感谢分享!
回复

使用道具 举报

发表于 前天 22:40 | 显示全部楼层
好用, 谢谢分享.
回复

使用道具 举报

发表于 前天 22:44 | 显示全部楼层
百花齐放!感谢分享。
回复

使用道具 举报

发表于 前天 22:51 | 显示全部楼层
谢谢大佬牛逼
回复

使用道具 举报

发表于 前天 22:54 | 显示全部楼层
感谢大佬。我是搞不懂,为什么无忧不能用自带的搜索框,之前可以的,怎么现在不能用了呢?

点评

https://bbs.wuyou.net/forum.php?mod=viewthread&tid=454675  详情 回复 发表于 昨天 07:08
回复

使用道具 举报

发表于 前天 22:54 | 显示全部楼层
提高了搜索的门槛后,竟然百花齐放百舸争流涌现出各种搜索来
回复

使用道具 举报

发表于 前天 23:09 | 显示全部楼层
回复

使用道具 举报

发表于 前天 23:54 | 显示全部楼层
谢谢分享
回复

使用道具 举报

发表于 昨天 00:09 | 显示全部楼层
谢谢分享,安装使用了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-11-20 03:24

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表