Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
trac /
htdocs /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
messages
[ DIR ]
drwxr-xr-x
admin_enums.js
2.96
KB
-rw-r--r--
auto_preview.js
5.35
KB
-rw-r--r--
babel.js
6.76
KB
-rw-r--r--
blame.js
3.45
KB
-rw-r--r--
diff.js
4.52
KB
-rw-r--r--
expand_dir.js
6.16
KB
-rw-r--r--
folding.js
2.68
KB
-rw-r--r--
jquery-ui-addons.js
76.71
KB
-rw-r--r--
jquery-ui.js
535.7
KB
-rw-r--r--
jquery.js
87
KB
-rw-r--r--
keyboard_nav.js
2.78
KB
-rw-r--r--
log_graph.js
1.18
KB
-rw-r--r--
noconflict.js
228
B
-rw-r--r--
query.js
19.75
KB
-rw-r--r--
resizer.js
930
B
-rw-r--r--
search.js
3.21
KB
-rw-r--r--
threaded_comments.js
6
KB
-rw-r--r--
timeline_multirepos.js
1.48
KB
-rw-r--r--
trac.js
8.55
KB
-rw-r--r--
wiki.js
2.58
KB
-rw-r--r--
wikitoolbar.js
3.15
KB
-rw-r--r--
workflow_graph.js
8.03
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : auto_preview.js
// Automatic form submission and preview through XHR (function($) { // Enable automatic submission of forms. // // This method can be applied to a single form, where it enables // auto-submission on all the editable elements that it contains. // It can also be applied on a list of elements, in which case it // enables auto-submission only for these elements. // // Arguments: // - `args`: additional form data to be passed with the XHR. // - `update`: the function that is called with the submission reply. It // is called with the request data and the reply. // - `busy`: an object or jQuery selector to be shown while requesting an // update. $.fn.autoSubmit = function(args, update, busy) { if (this.length == 0 || auto_preview_timeout <= 0) return this; if (this[0].nodeName == 'FORM') { var form = this; var inputs = this.find("textarea, select, :text, :checkbox, :radio"); } else { var form = this.closest('form'); var inputs = this; } var timeout = auto_preview_timeout * 1000; var timer = null; var updating = false; var queued = false; var values = null; // Return true iff the values have changed function values_changed(new_values) { if (values.length != new_values.length) return true; for (var i in values) { var value = values[i], new_value = new_values[i]; if ((value.name != new_value.name) || (value.value != new_value.value)) return true; } return false; } // Request a preview through XHR function request() { if (!updating) { var new_values = form.serializeArray(); if (values_changed(new_values)) { values = new_values; updating = true; if (busy != undefined) $(busy).show(); // Construct request data var data = values.slice(0); for (var key in args) data.push({name: key, value: args[key]}); $.ajax({ type: form.attr('method'), url: form.attr('action'), data: data, traditional: true, dataType: "html", success: function(reply) { if (queued) timer = setTimeout(request, timeout); updating = false; queued = false; if (busy != undefined) $(busy).hide(); update(data, reply); }, error: function(req, err, exc) { updating = false; queued = false; if (busy != undefined) $(busy).hide(); } }); } } } // Trigger a request after the given timeout function trigger() { if (values === null) values = form.serializeArray(); if (!updating) { if (timer) clearTimeout(timer); timer = setTimeout(request, timeout); } else { queued = true; } return true; } // See #11510 return inputs.on('input cut paste keydown keypress change focus blur', trigger); }; // Enable automatic previewing to <textarea> elements. // // Arguments: // - `href`: URL to be called for fetching the preview data. // - `args`: arguments to be passed with the XHR. // - `update`: the function that is called with the preview results. It // is called with the textarea, the text that was rendered and // the rendered text. $.fn.autoPreview = function(href, args, update) { if (auto_preview_timeout <= 0) return this; var timeout = auto_preview_timeout * 1000; return this.each(function() { var timer = null; var updating = false; var textarea = this; var data = {}; for (var key in args) data[key] = args[key]; data["__FORM_TOKEN"] = form_token; data["text"] = textarea.value; // Request a preview through XHR function request() { var text = textarea.value; if (!updating && (text != data["text"])) { updating = true; data["text"] = text; $.ajax({ type: "POST", url: href, data: data, dataType: "html", success: function(data) { updating = false; update(textarea, text, data); if (textarea.value != text) timer = setTimeout(request, timeout); }, error: function(req, err, exc) { updating = false; } }); } } // Trigger a request after the given timeout function trigger() { if (!updating) { if (timer) clearTimeout(timer); timer = setTimeout(request, timeout); } return true; } // "input" event to detect editing using IMEs on Firefox, // "cut" and "paste" events to detect editing using context // menu on Internet Explorer (#11510) $(this).on('input cut paste keydown keypress blur', trigger); }); }; // Callback for autoPreview that renders response and makes the container // for rendered text (typically a div) visible. $.fn.showOnPreview = function() { var $preview = $(this); return function(textarea, text, rendered) { $preview.html(rendered); if (text) { $preview.show(); } else { $preview.hide(); } } } })(jQuery);
Close