最近在别人的安利之下用上了有道词典,发现确实是比我手机上的朗文和欧陆词典要方便一些。尤其是某次课前查看隔离器和环形器的相关资料时,发现有道词典对于某些专业术语的翻译十分准确。于是便又装了本地版尝试了一下,感觉还是不错,除了查询结果中混入的广告……
对于一款免费软件而言,这样是无可厚非的,只是那广告稍微有点碍眼的感觉,尤其是在注意力比较集中的阅读过程中,难免不会被那广告耗散掉些许的注意力。还是不显示要舒服一些……
翻译结果中的“推广”的样式在这里:
安装目录\对应版本号\resultui\css\default.css
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#spread { line-height: 2.5em; margin-bottom: 0.83em; overflow: hidden; zoom: 1; text-overflow: ellipsis; white-space: nowrap; _width: expression(documentElement.clientWidth-122); /*in ie6 text-overflow:ellipsis need a specified value,so using expression to fix it*/ } #spread span { margin: 0 8px; } #spread a, #spread a:link, #spread a:visited { margin: 0 5px; color: #f49800; } |
界面广告则是这里:
安装目录\对应版本号\resultui\frame\src\styles\global_layout.css
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
.ads-wrap { box-shadow: 0 0 0 1px rgb(255, 255, 255), 0 0 0 2px rgb(225, 225, 225); width: 100%; position: fixed; bottom: 0; left: 0; z-index: 1000; } .ads { width: 655px; z-index: 1000; text-align: center; margin: 0 auto; position: relative; } .ads-content { background: transparent; z-index: 1001; overflow: hidden; } .ads-mask { background: transparent; position: absolute; z-index: 1002; top: 0; left: 0; width: 100%; height: 100%; } .icon-close-ads { position: absolute; top: 0; right: 0; z-index: 1003; background: url('icon/close-ads-bottom.png') no-repeat 0 0; width: 18px; height: 0; padding-top: 18px; overflow: hidden; } |
然后就没有然后了呀
对应的,在选择器依次增加 display: none; 属性就好了。仅仅是不显示而已,这就够了
我以前都用幸运破解器的(逃
那不是 Android 用的吗?听说过
你不是说的安卓?捱
我说的是 PC 版呀
删除了相关语句,但翻译结果中的“推广” 貌似无效,仍然显示
不是叫你将它逐个追加display:none样式么?
小白想问一下最后一句
在选择器依次增加 display: none; 属性
这具体要怎么操作呢?谢谢~
比如:
.ads-wrap {
box-shadow: 0 0 0 1px rgb(255, 255, 255), 0 0 0 2px rgb(225, 225, 225);
width: 100%;
position: fixed;
bottom: 0;
left: 0;
z-index: 1000;
/*—–看这里—-*/
display:none;
}
但是这样把上面所有的都加了display: none;为什么依然还是用推广呢
最新版的7.0beta在哪去呢
安装目录\对应版本号\resultui\index.css
找到.footer .banner .container{} ,修改其中的 display:inline-block 为 display:none ,然后保存文件,重启软件
就看见空间
主页的底部和“取词”的广告确实没了,但是“划词”的广告还在,它的CSS在哪儿,小白求问
说错了,是“取词”的广告还在,“划词”的没有。
取词:用鼠标拖出那个词
划词:鼠标直接放在那个词的上面