Why doesn't this userscript work on Facebook?

后端 未结 2 1289
花落未央
花落未央 2020-12-21 13:18

I was writing user script for Google Chrome that would automatically open a specific chat tab, but it\'s not working,

I think that it is because the Chat.open

2条回答
  •  天涯浪人
    2020-12-21 14:09

    if (domain == face)
    {
     Chat.openTab("sam.sebastian1", "Seb") 
    }
    

    not

    if (domain = face)
    {
     Chat.openTab("sam.sebastian1", "Seb") 
    }
    

提交回复
热议问题