I built a router table out of a salvaged Subway table, drawers from an old office desk found curbside and some 5/8" plywood shelving I found in the house I bought and had to tear out because of the mildew that was on it.
Long story short, I wanted to incorporate a foot switch I had laying about, but the way it was wired, the switch would plug into an AC outlet and the router would plug into the switch (down on the floor). This meant two cables strewn about.
I thought about re-wiring the inside of the foot switch - even opened it up to take a look - but figured it would be too much trouble and the result would be a switch that wouldn't work as intended. But, but shorting across the white and black terminals of a standard grounded plug, I could effectively "re-wire" the switch without changing its internal circuitry - thus preserving it for use "as designed/ intended."
I solved my "problem" with a three-way switch and a duplex outlet. I wired the HOT feed into the switch "common" and one "Traveler" to the HOT/BLACK of the top outlet and the other "Traveler" to the WHITE/ NEUTRAL side of the bottom outlet. I broke the "knock out/off" link between the top and bottom outlets on the WHITE/NEUTRAL side of the duplex outlet.
Now, I plug the router into the top outlet and the foot switch into the bottom outlet. When the three-way switch is in POSITION "A." power is fed directly to the router. When in the other position, power is fed to the router through the foot switch. When the "shorting plug" is inserted int the foot switch, pressing it allows power to flow to the router, releasing it cuts the power.
When the foot switch is unplugged (to use with another tool/device), the three-way switch works like a normal single pole switch to apply/ cut power to the router plugged into the top outlet.
I'll post pictures and wiring diagrams if there is any interest. So far, I've spent less than three dollars on the complete setup - table, base and electrical.