Found in two of the three bedrooms at our Airbnb; both ends plug into an outlet but nothing else. The silver tag says "extension cord" and the circular end of the plug
How to fix an extension cord end
How to replace an extension cord plug
DIY Extension Cord With Built in Switch - Safe, Quick and Simple : 5 Steps - Instructables
DIY Portable Switched Power Outlet With Extension Cord : 8 Steps (with Pictures) - Instructables
How To Fix An Extension Cord - Easy DIY Repair
How To: Attach Plug Ends To An Extension Cord - Edmonton Fasteners & Tools Ltd.