10 lines
261 B
Bash
Executable file
10 lines
261 B
Bash
Executable file
#!/bin/sh
|
|
# this is a curl stub which directly interfaces with the browsers javascript fetch() via wget
|
|
# REASON: way less overhead / complexity compared to the v86 linux networking stack
|
|
|
|
tmp=/tmp/$$
|
|
wget "$1" -o $tmp
|
|
test -f $tmp && {
|
|
cat $tmp
|
|
rm $tmp
|
|
}
|