File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 33 "name" : " wechat-need-web" ,
44 "author" : " lqzh" ,
55 "homepage_url" : " https://github.com/lqzhgood/wechat-need-web" ,
6- "version" : " 1.1.0 " ,
6+ "version" : " 1.1.1 " ,
77 "description" : " Allow the use of WeChat via webpage access" ,
88 "permissions" : [
99 " declarativeNetRequest"
Original file line number Diff line number Diff line change 1- const url = new URL ( window . location . href ) ;
2-
1+ 'use strict' ;
2+ const url = new URL ( window . location ) ;
33if ( url . searchParams . get ( 'target' ) !== 't' ) {
4- url . searchParams . set ( 'target' , 't' )
5- window . location . href = url . toString ( ) ;
4+ url . searchParams . set ( 'target' , 't' ) ;
5+ window . location . href = url . href ;
66}
Original file line number Diff line number Diff line change 33 "name" : " wechat-need-web" ,
44 "author" : " lqzh" ,
55 "homepage_url" : " https://github.com/lqzhgood/wechat-need-web" ,
6- "version" : " 1.1.0 " ,
6+ "version" : " 1.1.1 " ,
77 "description" : " Allow the use of WeChat via webpage access" ,
88 "permissions" : [
99 " declarativeNetRequest" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " wechat-need-web" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "description" : " Allow WeChat to access the webpage." ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments