0Pricing
Browser Extensions Development (Chrome & Edge) · บทเรียน

การตั้งค่าสภาพแวดล้อมการพัฒนา

กำหนดค่าสภาพแวดล้อมการพัฒนาสำหรับสร้างส่วนขยาย Chrome และ Edge รวมถึงการตั้งค่าเบราว์เซอร์และเครื่องมือพื้นฐาน

การตั้งค่าสภาพแวดล้อมการพัฒนา เป็นบทเรียน Browser Extensions Development (Chrome & Edge) ฟรีบน CoddyKit นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Browser Extensions Development (Chrome & Edge) และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Browser Extensions Development (Chrome & Edge) มีบทเรียนทั้งหมด 4 บทเรียน

บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ

Get Ready to Build!

Before building, set up your workspace — prepping tools first makes coding smoother and lets you test your extensions efficiently.

Your Browser is Your Lab

Your browser is your lab. Chrome and Edge have built-in dev features; the first step is flipping on their special "Developer Mode."

Switch On Developer Mode

Enable Developer Mode: open chrome://extensions and toggle the switch in the top-right. That unlocks loading and testing your own extensions.

Your Extension's Home

Each extension needs its own folder for all its files. Make an empty one — say my-first-extension — where we'll drop the manifest and code.

The Essential Manifest File

The manifest.json is your extension's blueprint — it tells the browser the key details. Start with a minimal one in your folder.

Pick a Code Editor

Any editor works, but a real code editor adds highlighting, autocomplete, and debugging. VS Code is the free, popular pick — grab it if needed.

Load Your Unpacked Extension

With Developer Mode on, click Load unpacked and select your folder. Your extension should appear in the list, maybe with an icon in the toolbar.

Refresh for Updates

After editing files, the browser won't see changes until you reload — hit the refresh icon on your extension's card in chrome://extensions.

Debug with DevTools

Debug extensions with DevTools, just like web pages. Each card links to its background "service worker" or popup inspector for digging in.

Development Environment Check

You've learned the essential steps to prepare your browser and load your first extension. Let's test your understanding!

Which of the following actions is necessary to see changes in your extension after modifying its files?

Setup Complete!

Your environment is set: Developer Mode on, a folder with manifest.json, loading and reloading unpacked, and DevTools for debugging. Onward!

คำถามที่พบบ่อย

บทเรียน “การตั้งค่าสภาพแวดล้อมการพัฒนา” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “การตั้งค่าสภาพแวดล้อมการพัฒนา” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Browser Extensions Development (Chrome & Edge) ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Browser Extensions Development (Chrome & Edge) มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “การตั้งค่าสภาพแวดล้อมการพัฒนา”

กำหนดค่าสภาพแวดล้อมการพัฒนาสำหรับสร้างส่วนขยาย Chrome และ Edge รวมถึงการตั้งค่าเบราว์เซอร์และเครื่องมือพื้นฐาน คุณปฏิบัติ Browser Extensions Development (Chrome & Edge) ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Browser Extensions Development (Chrome & Edge) หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน Browser Extensions Development (Chrome & Edge) บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน

บทเรียน “การตั้งค่าสภาพแวดล้อมการพัฒนา” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน Browser Extensions Development (Chrome & Edge) นี้ได้ไหม

ได้ บทเรียน Browser Extensions Development (Chrome & Edge) ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. ส่วนขยายเบราว์เซอร์คืออะไร
  2. การตั้งค่าสภาพแวดล้อมการพัฒนา
  3. ส่วนขยาย 'Hello World' แรกของคุณ
  4. กายวิภาคของโครงการส่วนขยาย
← กลับไปที่ Browser Extensions Development (Chrome & Edge)