Commit 19a14c5c authored by Melroy van den Berg's avatar Melroy van den Berg

experimental

parent 21796241
......@@ -31,6 +31,13 @@ def load_page_blocking(url):
# Set a temporally variable
repl.execute('content').document.temp=1
# Experimental
# repl.execute('content').document.hidden1 = repl.execute('content').document.createElement("input")
# repl.execute('content').document.hidden1.type = "hidden"
# repl.execute('content').document.hidden1.value = "abc"
# repl.execute('content').document.hidden1.name = "aaa"
# repl.execute('content').document.getElementById("syi-form").appendChild(document.hidden1)
# Polling until 'temp' is becoming undefined again, meaning it's back to creation content (context unloading)
while True:
temp = repl.execute('content').document.temp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment