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.13
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 /
share /
nodejs /
turbolinks /
src /
turbolinks /
[ HOME SHELL ]
Name
Size
Permission
Action
BANNER.js.erb
113
B
-rw-r--r--
VERSION
6
B
-rw-r--r--
browser_adapter.js
2.63
KB
-rw-r--r--
compatibility.js
1.72
KB
-rw-r--r--
controller.js
12.17
KB
-rw-r--r--
error_renderer.js
1.94
KB
-rw-r--r--
head_details.js
4.25
KB
-rw-r--r--
helpers.js
3.13
KB
-rw-r--r--
history.js
2.46
KB
-rw-r--r--
http_request.js
4.52
KB
-rw-r--r--
index.js
751
B
-rw-r--r--
location.js
2.91
KB
-rw-r--r--
progress_bar.js
3.55
KB
-rw-r--r--
renderer.js
1.91
KB
-rw-r--r--
script_warning.js
889
B
-rw-r--r--
scroll_manager.js
1.43
KB
-rw-r--r--
snapshot.js
3.2
KB
-rw-r--r--
snapshot_cache.js
1.81
KB
-rw-r--r--
snapshot_renderer.js
7.32
KB
-rw-r--r--
start.js
845
B
-rw-r--r--
view.js
1.68
KB
-rw-r--r--
visit.js
8.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : snapshot_renderer.js
// Generated by CoffeeScript 1.12.8 (function() { var createPlaceholderForPermanentElement, replaceElementWithElement, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; require('./renderer'); Turbolinks.SnapshotRenderer = (function(superClass) { extend(SnapshotRenderer, superClass); function SnapshotRenderer(currentSnapshot, newSnapshot, isPreview) { this.currentSnapshot = currentSnapshot; this.newSnapshot = newSnapshot; this.isPreview = isPreview; this.currentHeadDetails = this.currentSnapshot.headDetails; this.newHeadDetails = this.newSnapshot.headDetails; this.currentBody = this.currentSnapshot.bodyElement; this.newBody = this.newSnapshot.bodyElement; } SnapshotRenderer.prototype.render = function(callback) { if (this.shouldRender()) { this.mergeHead(); return this.renderView((function(_this) { return function() { _this.replaceBody(); if (!_this.isPreview) { _this.focusFirstAutofocusableElement(); } return callback(); }; })(this)); } else { return this.invalidateView(); } }; SnapshotRenderer.prototype.mergeHead = function() { this.copyNewHeadStylesheetElements(); this.copyNewHeadScriptElements(); this.removeCurrentHeadProvisionalElements(); return this.copyNewHeadProvisionalElements(); }; SnapshotRenderer.prototype.replaceBody = function() { var placeholders; placeholders = this.relocateCurrentBodyPermanentElements(); this.activateNewBodyScriptElements(); this.assignNewBody(); return this.replacePlaceholderElementsWithClonedPermanentElements(placeholders); }; SnapshotRenderer.prototype.shouldRender = function() { return this.newSnapshot.isVisitable() && this.trackedElementsAreIdentical(); }; SnapshotRenderer.prototype.trackedElementsAreIdentical = function() { return this.currentHeadDetails.getTrackedElementSignature() === this.newHeadDetails.getTrackedElementSignature(); }; SnapshotRenderer.prototype.copyNewHeadStylesheetElements = function() { var element, i, len, ref, results; ref = this.getNewHeadStylesheetElements(); results = []; for (i = 0, len = ref.length; i < len; i++) { element = ref[i]; results.push(document.head.appendChild(element)); } return results; }; SnapshotRenderer.prototype.copyNewHeadScriptElements = function() { var element, i, len, ref, results; ref = this.getNewHeadScriptElements(); results = []; for (i = 0, len = ref.length; i < len; i++) { element = ref[i]; results.push(document.head.appendChild(this.createScriptElement(element))); } return results; }; SnapshotRenderer.prototype.removeCurrentHeadProvisionalElements = function() { var element, i, len, ref, results; ref = this.getCurrentHeadProvisionalElements(); results = []; for (i = 0, len = ref.length; i < len; i++) { element = ref[i]; results.push(document.head.removeChild(element)); } return results; }; SnapshotRenderer.prototype.copyNewHeadProvisionalElements = function() { var element, i, len, ref, results; ref = this.getNewHeadProvisionalElements(); results = []; for (i = 0, len = ref.length; i < len; i++) { element = ref[i]; results.push(document.head.appendChild(element)); } return results; }; SnapshotRenderer.prototype.relocateCurrentBodyPermanentElements = function() { var i, len, newElement, permanentElement, placeholder, ref, results; ref = this.getCurrentBodyPermanentElements(); results = []; for (i = 0, len = ref.length; i < len; i++) { permanentElement = ref[i]; placeholder = createPlaceholderForPermanentElement(permanentElement); newElement = this.newSnapshot.getPermanentElementById(permanentElement.id); replaceElementWithElement(permanentElement, placeholder.element); replaceElementWithElement(newElement, permanentElement); results.push(placeholder); } return results; }; SnapshotRenderer.prototype.replacePlaceholderElementsWithClonedPermanentElements = function(placeholders) { var clonedElement, element, i, len, permanentElement, ref, results; results = []; for (i = 0, len = placeholders.length; i < len; i++) { ref = placeholders[i], element = ref.element, permanentElement = ref.permanentElement; clonedElement = permanentElement.cloneNode(true); results.push(replaceElementWithElement(element, clonedElement)); } return results; }; SnapshotRenderer.prototype.activateNewBodyScriptElements = function() { var activatedScriptElement, i, inertScriptElement, len, ref, results; ref = this.getNewBodyScriptElements(); results = []; for (i = 0, len = ref.length; i < len; i++) { inertScriptElement = ref[i]; activatedScriptElement = this.createScriptElement(inertScriptElement); results.push(replaceElementWithElement(inertScriptElement, activatedScriptElement)); } return results; }; SnapshotRenderer.prototype.assignNewBody = function() { return document.body = this.newBody; }; SnapshotRenderer.prototype.focusFirstAutofocusableElement = function() { var ref; return (ref = this.newSnapshot.findFirstAutofocusableElement()) != null ? ref.focus() : void 0; }; SnapshotRenderer.prototype.getNewHeadStylesheetElements = function() { return this.newHeadDetails.getStylesheetElementsNotInDetails(this.currentHeadDetails); }; SnapshotRenderer.prototype.getNewHeadScriptElements = function() { return this.newHeadDetails.getScriptElementsNotInDetails(this.currentHeadDetails); }; SnapshotRenderer.prototype.getCurrentHeadProvisionalElements = function() { return this.currentHeadDetails.getProvisionalElements(); }; SnapshotRenderer.prototype.getNewHeadProvisionalElements = function() { return this.newHeadDetails.getProvisionalElements(); }; SnapshotRenderer.prototype.getCurrentBodyPermanentElements = function() { return this.currentSnapshot.getPermanentElementsPresentInSnapshot(this.newSnapshot); }; SnapshotRenderer.prototype.getNewBodyScriptElements = function() { return this.newBody.querySelectorAll("script"); }; return SnapshotRenderer; })(Turbolinks.Renderer); createPlaceholderForPermanentElement = function(permanentElement) { var element; element = document.createElement("meta"); element.setAttribute("name", "turbolinks-permanent-placeholder"); element.setAttribute("content", permanentElement.id); return { element: element, permanentElement: permanentElement }; }; replaceElementWithElement = function(fromElement, toElement) { var parentElement; if (parentElement = fromElement.parentNode) { return parentElement.replaceChild(toElement, fromElement); } }; }).call(this);
Close