content.js 390 B

1234567891011
  1. console.log('hello world content todo something~')
  2. // var port = chrome.runtime.connect({ name: "hello" });
  3. // window.onload = ()=> {
  4. // if(window.location.href == 'https://api.twitter.com/oauth/authorize'){
  5. // let code = document.querySelector('code')
  6. // if(code){
  7. // port.postMessage({ state: 'SEND_CODE', code:code.innerText })
  8. // }
  9. // }
  10. // }