Home > Web Front-end > JS Tutorial > 复制小说文本时出现的随机乱码的去除方法_javascript技巧

复制小说文本时出现的随机乱码的去除方法_javascript技巧

WBOY
Release: 2016-05-16 18:20:01
Original
2171 people have browsed it

估计其它人也遇到这样郁闷的事,那就按我下面的办法做吧。

打开对应的网页,例如http://hi.baidu.com/jinminghou/blog/item/1e61f0069738ba7f03088178.html页面,然后删除地址栏上地址,将下面的内容粘贴到地址栏上,按回车(或“转到”按钮),这样,所有的乱码都清除了,此时你就可以放心的复制到文本里去了

代码:

复制代码 代码如下:

javascript:var myfonts=document.getElementsByTagName('font');for(i=0;i

放心使用,以上代码不会对你浏览器造成任何影响~
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template