mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
import os, sys, json
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
import subresource
|
||||
|
||||
def generate_payload(server_data):
|
||||
return subresource.get_template("script.js.template") % server_data
|
||||
|
||||
def main(request, response):
|
||||
subresource.respond(request,
|
||||
response,
|
||||
payload_generator = generate_payload,
|
||||
content_type = "application/javascript")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue