|  | @@ -5,7 +5,7 @@ import {
 | 
	
		
			
				|  |  |      backTwitterPinLoginCode,
 | 
	
		
			
				|  |  |  } from "../logic/twitter.js";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import { setChromeStorage, getChromeCookie, LANDING_PAGE, setChromeCookie, LANDING_PAGE_MIND } from "../uilts/chromeExtension";
 | 
	
		
			
				|  |  | +import { setChromeStorage, getChromeCookie, LANDING_PAGE, setChromeCookie, removeChromeCookie, LANDING_PAGE_MIND } from "../uilts/chromeExtension";
 | 
	
		
			
				|  |  |  import { guid } from '../uilts/help.js'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  chrome.runtime.onInstalled.addListener(onInstalledMethod);
 | 
	
	
		
			
				|  | @@ -26,7 +26,11 @@ function onInstalledMethod() {
 | 
	
		
			
				|  |  |                  });
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  | -            backTwitterPinLoginToken();
 | 
	
		
			
				|  |  | +            chrome.tabs.create({
 | 
	
		
			
				|  |  | +                url: "https://twitter.com",
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +            let { isOnToolbar } = checkIsPinned();
 | 
	
		
			
				|  |  | +            console.log(isOnToolbar);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      getChromeCookie(LANDING_PAGE_MIND, (res_arr) => {
 | 
	
	
		
			
				|  | @@ -60,6 +64,11 @@ function onInstalledMethod() {
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +async function checkIsPinned(){
 | 
	
		
			
				|  |  | +    let userSettings = await chrome.action.getUserSettings();
 | 
	
		
			
				|  |  | +    console.log('userSettings', userSettings.isOnToolbar)
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  function onMessageMethod(req, sender, sendResponse) {
 | 
	
		
			
				|  |  |      if (req) {
 | 
	
		
			
				|  |  |          switch (req.method) {
 |