We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50c82fd commit c54a999Copy full SHA for c54a999
1 file changed
Picviewer CE+/Picviewer CE+.user.js
@@ -554,8 +554,9 @@
554
}
555
if(/\.sinaimg\.cn\/mw\d+\//.test(oldsrc)){
556
newsrc=oldsrc.replace(/\/mw\d+\//,"/large/");
557
- }else if(/gravatar\.com\/avatar\/.*\?s=/.test(oldsrc)){
558
- newsrc=oldsrc.replace(/(gravatar\.com\/avatar\/.*\?s=).*/,"$1100000");
+ }else if(/gravatar\.com\/avatar\/.*[\?&]s=/.test(oldsrc)){
+ console.log(111);
559
+ newsrc=oldsrc.replace(/(gravatar\.com\/avatar\/.*[\?&]s=).*/,"$1100000");
560
561
return oldsrc != newsrc ? newsrc : null;
562
0 commit comments