0

私は本当にシンプルな拡張機能を作っていますが、実際に注入ファイルを注入する際に問題があります。私はCSSファイルとjsファイルを持っています。何も注入されていない。ここ は私のマニフェストです:Inject.jsがページにロードされていませんか?

{ 
    "name": "CSGO500.COM BOT", 
    "description": "The bot bets on the different colors depending on which bot you choose. Just set your bet amount as normal and start the bot. Reload page to stop bot", 
    "version": "1.0", 
"content_scripts": [ 
    { 
     "matches": ["http://csgo500.com"], 
     "css": ["mystyles.css"], 
     "js": ["inject.js"] 
    } 
    ], 
    "browser_action": { 
     "default_title": "Choose your desired bot", 
     "default_icon": "icon.png", 
     "default_popup": "popup.html" 
    }, 
    "manifest_version" : 2 
} 

間違っているかもしれないもの上の任意のアイデア?

+0

@Cornwell、それはそれと同じくらい簡単でした。ありがとうございました –

+0

あなたは大歓迎です!私は答えに私のコメントを移します。 – Cornwell

答えて

0

はこれにマッチを変更してみてください:"https://csgo500.com/*"

関連する問題