// ==UserScript== // @name 去掉WEBP - 转换WEBP图片到源格式(JPG PNG GIF)用于Onenote与Evernote剪藏 // @name:zh-CN 去掉WEBP - 转换WEBP图片到源格式(JPG PNG GIF)用于Onenote与Evernote剪藏 // @name:en NO WEBP - Convert WEBP Pics To Common Formats(JPG PNG GIF) For Onenote & Evernote Clip // @version 1.7 // @author Black Rabbit // @namespace Black Rabbit // @description 将豆瓣、微信公众号、简书、知乎的webp图片转换为对应格式(JPG PNG GIF),用于Onenote、Evernote剪辑,可自行添加生效网站。已兼容保留GIF动图,豆瓣GIF、知乎内(高品质)GIF自动加载。 // @description:zh-cn 将豆瓣、微信公众号、简书、知乎的webp图片转换为对应格式(JPG PNG GIF),用于Onenote、Evernote剪辑,可自行添加生效网站。已兼容保留GIF动图,豆瓣GIF动图、知乎内(高品质)GIF自动加载。 // @description:en Convert the WEBP pictures of Douban, WeChat public account and Jianshu into common formats(JPG PNG GIF) for editing in Evernote and Onenote. You can also try to add included urls by yourself. GIF kept and worked in new version. GIF in Douban & Zhihu(high quality) autoloads. Welcome feedback and suggestions. // @icon https://railsware.com/blog/wp-content/uploads/2013/11/24823-picture1.png // @supportURL https://greasyfork.org/scripts/396210 // @include *://mp.weixin.qq.com/* // @include *://mmbiz.qpic.cn/* // @include *://www.jianshu.com/* // @include *://www.douban.com/* // @include *://*.douban.com/* // @include *://*.zhihu.com/* // @downloadURL none // ==/UserScript== //Zhihu Convert 2020/2/18 function zhihu_seek(){ 'use strict'; var ori_class = document.getElementsByClassName('GifPlayer'); for(var j=0;j'; } else if(img[i].src.toLowerCase().includes('webp')){ img[i].src = img[i].src.replace(/webp/g,'jpg');} } } //Jianshu & Wechat & Other Convert 2020/2/14 function fkwebp(){ 'use strict'; var img = document.getElementsByTagName('img'); for (var i=0;i