Would plugging a power bar into a 3-prong extension cord be just as safe as plugging the power bar directly into the wall? The cord for the power bar isn't long enough to reach the AC outlet.
As a general rule, any use of an extension cord is less safe than plugging a cord into the wall directly.
If you do use an extension cord, make sure that the extension cord is at least as thick (if not thicker) as the cord you are extending, and choose as short of a length as you are able. The thickness of a wire indicates how much current can be pulled through the cord. If you use a thinner extension cord, you may be trying to draw more current than your extension cord can handle, which increases the heat released by the cord and creates a fire hazard.
NEW 16/3x15' Sjtw Black Power Cord Ea. Outdoor Extension Cords 0261, NEW 16/3x8' Sjtw Black Power Cord Ea. Outdoor Extension Cords 0260, LOT OF 10 New OEM APPLE MacBook Air Pro AC Adapter's Extension Power Cord Cable, 12V Car Cigarette Lighter Power Cable Extension Socket Cord, 12V DC 2.1mm Car Cigarette Lighter Power Cable Extension Socket Cord, Power Extension Cord, SJT 14 AWG * 3C / 15 Amp, UL / CSA, 6 ft, Computer Power Cord Extension, UL / CSA, Black,12 ft, NEMA 5/15P to NEMA 5/15R, Power Extension Cord, 10 ft, Computer Power Cord Extension, UL / CSA, Black, 1 ft, Computer Power Cord Extension, UL / CSA, Black, 6 ft, 15ft 16AWG Power Extension Cord, 6ft 16AWG Power Extension Cord, 2ft 16AWG Power Extension Cord, 1ft 16AWG Power Extension Cord, Coleman Cable 2832 Right Angle GFCI Extension Cord With 3 Way Power Block, TWO 50' Foot Outlet Electrical Extension Power Cords, American Power Conversion AP8702S -APC AP8702S Power Extension Cord , American Power Conversion AP8702S -APC AP8702S Power Extension Cord , American Power Conversion AP8702S -APC AP8702S Power Extension Cord , NEW APC AP8706S Power Extension Cord, StarTech.com Power Cord Extension - NEMA 5-15R to NEMA 5-15P - Power ex PAC10125, C2G Computer Power Cord Extension - Power extension cable (250 VAC) - IEC 29965, Lot of 25 - 36" Red and Black 18 awg Power Cord Extension Computer Server, C2G Hospital Grade Power Extension Cord - Power extension cable (125 VAC) 48061, Lot of 20 - 36" Blue 18 awg Power Cord Extension Computer Server, 25FT 16 Gauge Black Extension Cord AC Power Cable 2PK, C2G Power Cord Extension Cable - Power extension cable (250 VAC) - IEC 320 30822, Startech 14 AWG Computer Power Cord Extension - C14 To C13 - Power Extension, Steren 505-370 6ft Power Extension Cord Power Cable, Cables To Go 29933 -5FT POWER EXTENSION CORD - Kit, Cables To Go 29929-2ft 16 AWG Outlet Saver Power Extension Cord (NEMA 5-15R to N, EPC-001-12BG-12' Standard Power Cord Extension Cable (Beige) - Kit, EPC-001-06GY-6' Standard Power Cord Extension Cable (Gray) - Kit, New USB 2.0 Female to 2 2x USB A Male Power Y Cord Cable Extension, Generic EPC-003-06GY-6' Standard Power Cord Extension Cable (Grey) - Kit, Generic EPC-004-06BG-6' Standard Power Cord Extension Cable (Beige) - Kit, Startech PAC10110 10ft Power Cord Extension Power Cable, Cables To Go 53407-12ft 18 AWG Computer Power Extension Cord (IEC320C13 to IEC32, CABLES TO GO 29933 5ft COMPUTER POWER CORD EXTENSION (IEC320 C13 to IEC320 C14), CABLES TO GO 29933 5ft COMPUTER POWER CORD EXTENSION (IEC320 C13 to IEC320 C14), Prime Wire 100' SJTW extension cord 3 pack non lit end power coleman us new nr, BARJAN CIGARETTE LIGHTER 12-VOLT EXTENSION POWER OUTLET 12' CORD HEAVY-DUTY ~NEW, NEW APC AP8704S Power Extension Cord, QVS 1 Ft (Foot) Powercord Power Extension/Splitter Cord, TrippLite (P022-025) 25-ft. 16AWG Power Extension Cord (NEMA 5-15R to NEMA 5-..., American Power Conversion AP8702R -APC AP8702R Power Extension Cord , Belkin F3A102-10 10 ft AC Extension Cord Power Cable, Cables To Go 20941 15ft Computer Power Cord Extension, Startech PXT100 6ft Power Extension Cord Power Cable, Cables To Go 03141 6ft Computer Power Cord Extension,