diff --git a/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm b/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm
index ae27f829621..e53c89f787d 100644
--- a/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm
+++ b/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm
@@ -94,7 +94,9 @@
[round(target_pressure,0.1)]kPa | Change
"}
- user << browse("
[src.name] control[dat]", "window=atmo_pump")
+ var/datum/browser/popup = new(user, "atmo_pump", name, 400, 400)
+ popup.set_content(dat)
+ popup.open(0)
onclose(user, "atmo_pump")
/obj/machinery/atmospherics/binary/passive_gate/receive_signal(datum/signal/signal)
diff --git a/code/ATMOSPHERICS/components/binary_devices/pump.dm b/code/ATMOSPHERICS/components/binary_devices/pump.dm
index 6157c87115c..e6b66d873b0 100644
--- a/code/ATMOSPHERICS/components/binary_devices/pump.dm
+++ b/code/ATMOSPHERICS/components/binary_devices/pump.dm
@@ -109,7 +109,9 @@ Thus, the two variables affect pump operation are set in New():
[round(target_pressure,0.1)]kPa | Change
"}
- user << browse("[src.name] control[dat]", "window=atmo_pump")
+ var/datum/browser/popup = new(user, "atmo_pump", name, 400, 400)
+ popup.set_content(dat)
+ popup.open(0)
onclose(user, "atmo_pump")
/obj/machinery/atmospherics/binary/pump/initialize()
diff --git a/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm b/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm
index 875f09f6bda..8ae59b54358 100644
--- a/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm
+++ b/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm
@@ -105,7 +105,9 @@ Thus, the two variables affect pump operation are set in New():
[round(transfer_rate,1)]l/s | Change
"}
- user << browse("[src.name] control[dat]", "window=atmo_pump")
+ var/datum/browser/popup = new(user, "atmo_pump", name, 400, 400)
+ popup.set_content(dat)
+ popup.open(0)
onclose(user, "atmo_pump")
diff --git a/code/ATMOSPHERICS/components/trinary_devices/filter.dm b/code/ATMOSPHERICS/components/trinary_devices/filter.dm
index 612f51df80a..833454e51a8 100755
--- a/code/ATMOSPHERICS/components/trinary_devices/filter.dm
+++ b/code/ATMOSPHERICS/components/trinary_devices/filter.dm
@@ -196,7 +196,9 @@ Filter types:
//else
// src.on != src.on
*/
- user << browse("[src.name] control[dat]", "window=atmo_filter")
+ var/datum/browser/popup = new(user, "atmo_filter", name, 400, 400)
+ popup.set_content(dat)
+ popup.open(0)
onclose(user, "atmo_filter")
return
diff --git a/code/ATMOSPHERICS/components/trinary_devices/mixer.dm b/code/ATMOSPHERICS/components/trinary_devices/mixer.dm
index e56e839ef73..35d031dcf46 100644
--- a/code/ATMOSPHERICS/components/trinary_devices/mixer.dm
+++ b/code/ATMOSPHERICS/components/trinary_devices/mixer.dm
@@ -135,7 +135,9 @@
+
"}
- user << browse("[src.name] control[dat]", "window=atmo_mixer")
+ var/datum/browser/popup = new(user, "atmo_mixer", name, 400, 400)
+ popup.set_content(dat)
+ popup.open(0)
onclose(user, "atmo_mixer")
return
diff --git a/code/game/machinery/atmo_control.dm b/code/game/machinery/atmo_control.dm
index 80d588179bf..c006eda987f 100644
--- a/code/game/machinery/atmo_control.dm
+++ b/code/game/machinery/atmo_control.dm
@@ -157,8 +157,10 @@ obj/machinery/air_sensor
attack_hand(mob/user)
if(..(user))
return
- var/html=return_text()+"