ddrwin
火狐狸
火狐狸
  • UID31229
  • 注册日期2009-11-28
  • 最后登录2020-02-29
  • 发帖数113
  • 经验20枚
  • 威望0点
  • 贡献值6点
  • 好评度1点
阅读:1810回复:5

百度搜索框的搜索记录挡住了搜索引擎推荐,求解决

楼主#
更多 发布于:2011-12-19 14:43
如图:

图片:未命名2.jpg


图片:未命名.jpg



我在dom里查看id,发现百度搜索框的搜索记录和searchbar的搜索记录是同一个class?有没有单独控制百度搜索框的搜索记录的方法?请问怎么去掉这个搜索记录?

图片:QQ截图20111219144045.jpg

问几个问题,关于reload缓存、重新载入扩展、图片/js/帧超时能否跳过...
https://www.firefox.net.cn/forum/viewtop ... 145#274145

如何高亮编辑框里的文字的问题?
https://www.firefox.net.cn/forum/viewtop ... ht=#272852

请教GA?扩展切换tab后显示不正常的问题
https://www.firefox.net.cn/forum/viewtopic.php?t=35480
ddrwin
火狐狸
火狐狸
  • UID31229
  • 注册日期2009-11-28
  • 最后登录2020-02-29
  • 发帖数113
  • 经验20枚
  • 威望0点
  • 贡献值6点
  • 好评度1点
1楼#
发布于:2011-12-19 14:43
没人知道怎么解决吗?大家遇到这种问题了吗?
问几个问题,关于reload缓存、重新载入扩展、图片/js/帧超时能否跳过...
https://www.firefox.net.cn/forum/viewtop ... 145#274145

如何高亮编辑框里的文字的问题?
https://www.firefox.net.cn/forum/viewtop ... ht=#272852

请教GA?扩展切换tab后显示不正常的问题
https://www.firefox.net.cn/forum/viewtopic.php?t=35480
alanfly
千年狐狸
千年狐狸
  • UID31035
  • 注册日期2009-11-10
  • 最后登录2024-05-02
  • 发帖数2766
  • 经验577枚
  • 威望1点
  • 贡献值128点
  • 好评度99点
  • 社区居民
  • 最爱沙发
  • 忠实会员
2楼#
发布于:2011-12-19 14:43
只有一个吧。
白左
千年狐狸
千年狐狸
  • UID34985
  • 注册日期2010-12-29
  • 最后登录2023-11-13
  • 发帖数2039
  • 经验655枚
  • 威望0点
  • 贡献值364点
  • 好评度69点
  • 社区居民
  • 忠实会员
3楼#
发布于:2011-12-19 14:43
你那是哪个星球的百度- -b
-いたんですか? -ええ、ずっと
yd582
火狐狸
火狐狸
  • UID37521
  • 注册日期2011-10-07
  • 最后登录2013-03-31
  • 发帖数227
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
4楼#
发布于:2011-12-19 14:43
我这里一切正常,是不是你的某个设置或者拓展......
ddrwin
火狐狸
火狐狸
  • UID31229
  • 注册日期2009-11-28
  • 最后登录2020-02-29
  • 发帖数113
  • 经验20枚
  • 威望0点
  • 贡献值6点
  • 好评度1点
5楼#
发布于:2011-12-19 14:43
排除法居然找到了:删除EnableAutoLogin.uc.js这个脚本就OK了
// ==UserScript==
// @name           EnableAutoLogin.uc.js
// @description    Enable Auto Login
// @compatibility  Firefox 2.0+
// @author         GOLF-AT
// @version        1.7.20101027

(function() {
    function ContentLoaded(event) {
        var items = event.target.getElementsByTagName('input');
        for(var i=0; i<items.length; i++) {
            var item = items.item(i);
            if (item.hasAttribute('autocomplete'))
                item.setAttribute('autocomplete', 'on');
            if (item.getAttribute('name').toLowerCase() ==
				'username')
				item.setAttribute('value', '');
            if (item.form!=null && item.form.hasAttribute(
                'autocomplete'))
                item.form.setAttribute('autocomplete', 'on');
            if (item.getAttribute('id')=='answer' && 'display:'
                ==item.getAttribute('style').substr(0,8))
                item.setAttribute('style', 'display:inline');
        }
    }

    function AutoCompleteOn(event) {
        if (event.button==2) return; //right button
        try {
            var target = event.target;
            if (target.localName.toLowerCase() != 'a') {
                target = target.parentNode;
                if (!target || target.localName.toLowerCase()
                    !='a')
                    return;
            }
            var href  = target.getAttribute('href');
            var click = target.getAttribute('onclick');
            if (click.substr(0,9)=='floatwin(' || click.substr
                (0,10)=='showWindow') {
                var enable = 'logging.php?action=login'==href.
                    substr(0,24) || 'register.php'==href.substr
                    (0,12) || 'regist.php'==href.substr(0,10);
                if (!enable) {
                    var pos = href.indexOf('member.php?mod=');
                    if (pos>=0 && ('register'==href.substr(pos
                        +15,8)||'logging'==href.substr(pos+15,
                        7)))
                        enable = true;
                }
                if (enable) {
                    target.removeAttribute('onclick');
                    target.click();
                }
            }
        }catch(e) {}
    }

    try {
        gBrowser.addEventListener('mousedown', AutoCompleteOn, false);
        gBrowser.addEventListener("DOMContentLoaded", ContentLoaded, true);
    }catch(e) {}

})();


谁能解释一下?
问几个问题,关于reload缓存、重新载入扩展、图片/js/帧超时能否跳过...
https://www.firefox.net.cn/forum/viewtop ... 145#274145

如何高亮编辑框里的文字的问题?
https://www.firefox.net.cn/forum/viewtop ... ht=#272852

请教GA?扩展切换tab后显示不正常的问题
https://www.firefox.net.cn/forum/viewtopic.php?t=35480
游客

返回顶部