|  | @@ -1,4 +1,4 @@
 | 
											
												
													
														|  | -import { getChromeStorage, setChromeStorage } from '@/uilts/chromeExtension.js'
 |  | 
 | 
											
												
													
														|  | 
 |  | +import { getChromeStorage, setChromeStorage, sendChromeTabMessage } from '@/uilts/chromeExtension.js'
 | 
											
												
													
														|  |  import { throttle, getQueryString, getCookie, nextTick, getQueryStringByUrl } from '@/uilts/help'
 |  |  import { throttle, getQueryString, getCookie, nextTick, getQueryStringByUrl } from '@/uilts/help'
 | 
											
												
													
														|  |  import { discordAuthRedirectUri } from '@/http/configAPI'
 |  |  import { discordAuthRedirectUri } from '@/http/configAPI'
 | 
											
												
													
														|  |  import { reportSrcPublishEvent } from '@/http/publishApi'
 |  |  import { reportSrcPublishEvent } from '@/http/publishApi'
 | 
											
										
											
												
													
														|  | @@ -756,6 +756,12 @@ export function initExecuteScript(changes) {
 | 
											
												
													
														|  |              init()
 |  |              init()
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  | 
 |  | +    if (changes.userInfo) {
 | 
											
												
													
														|  | 
 |  | +        let item = JSON.parse(changes.userInfo.newValue)
 | 
											
												
													
														|  | 
 |  | +        if (item) {
 | 
											
												
													
														|  | 
 |  | +            sendChromeTabMessage({ actionType: "FINISH_GROUP_BANNNER" }, () => { })
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const createNFTIframe = ({ url, id }, callback) => {
 |  |  const createNFTIframe = ({ url, id }, callback) => {
 | 
											
										
											
												
													
														|  | @@ -1325,7 +1331,7 @@ export function publishNFTTweetEvent({ groupId, postId, srcContent }, callback)
 | 
											
												
													
														|  |              bindTwitterArt.needBind = true;
 |  |              bindTwitterArt.needBind = true;
 | 
											
												
													
														|  |              bindTwitterArt.postId = postId;
 |  |              bindTwitterArt.postId = postId;
 | 
											
												
													
														|  |              callback && callback()
 |  |              callback && callback()
 | 
											
												
													
														|  | -            
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |              jumpTwitterDetailByAlert()
 |  |              jumpTwitterDetailByAlert()
 | 
											
												
													
														|  |              setTimeout(() => {
 |  |              setTimeout(() => {
 | 
											
												
													
														|  |                  setGroupTabSelfStyle({
 |  |                  setGroupTabSelfStyle({
 | 
											
										
											
												
													
														|  | @@ -1456,11 +1462,11 @@ export const showBuyNFT = ({ nft_project_Id }) => {
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      let iframe = document.querySelector('#nftProjectId')
 |  |      let iframe = document.querySelector('#nftProjectId')
 | 
											
												
													
														|  |      iframe.style.display = 'block'
 |  |      iframe.style.display = 'block'
 | 
											
												
													
														|  | -    iframe.src = chrome.runtime.getURL(`/iframe/buy-nft.html?nftProjectId=${nft_project_Id}`)
 |  | 
 | 
											
												
													
														|  | 
 |  | +    iframe.src = chrome.runtime.getURL(`/iframe/buy-nft.html#/?nftProjectId=${nft_project_Id}`)
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const initBuyNFT = () => {
 |  |  const initBuyNFT = () => {
 | 
											
												
													
														|  | -    let url = chrome.runtime.getURL(`/iframe/buy-nft.html`)
 |  | 
 | 
											
												
													
														|  | 
 |  | +    let url = ''
 | 
											
												
													
														|  |      let id = `nftProjectId`
 |  |      let id = `nftProjectId`
 | 
											
												
													
														|  |      createNFTIframe({ url, id })
 |  |      createNFTIframe({ url, id })
 | 
											
												
													
														|  |  }
 |  |  }
 |