__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import $script from 'scriptjs'
export const mount = (el, { event }) => {
if (el.dataset.network === 'pinterest') {
event.preventDefault()
if (window.PinUtils) {
window.PinUtils.pinAny()
} else {
$script(
'https://assets.pinterest.com/js/pinit.js',
() => {
// $log.info('Pinterest script loaded.')
setTimeout(() => {
window.PinUtils.pinAny()
}, 300)
}
)
}
return
}
if (el.dataset.network === 'clipboard') {
event.preventDefault()
const text =
el.href.indexOf('wish_list_id') !== -1
? el.href
: window.location.href
const tooltip = el.querySelector('.ct-tooltip')
let initialText = ''
if (tooltip) {
initialText = tooltip.innerHTML
}
if (navigator.clipboard && window.isSecureContext) {
navigator.clipboard.writeText(text)
if (tooltip) {
tooltip.innerHTML = ct_localizations.clipboard_copied
}
} else {
const textArea = document.createElement('textarea')
textArea.value = text
// Move textarea out of the viewport so it's not visible
textArea.style.position = 'absolute'
textArea.style.left = '-999999px'
document.body.prepend(textArea)
textArea.select()
try {
document.execCommand('copy')
} catch (error) {
console.error(error)
if (tooltip) {
tooltip.innerHTML = ct_localizations.clipboard_failed
}
} finally {
textArea.remove()
if (tooltip) {
tooltip.innerHTML = ct_localizations.clipboard_copied
}
}
}
setTimeout(() => {
if (tooltip) {
tooltip.innerText = initialText
}
}, 2000)
return
}
if (el.hasClickListener) {
return
}
el.hasClickListener = true
el.addEventListener('click', (e) => {
e.preventDefault()
const url = el.href
const title = ''
const w = 600
const h = 500
// PopupCenter(el.querySelector('a').href, '', 600, 500)
// Fixes dual-screen position
// Most browsers Firefox
var dualScreenLeft =
window.screenLeft != undefined ? window.screenLeft : screen.left
var dualScreenTop =
window.screenTop != undefined ? window.screenTop : screen.top
var width = window.innerWidth
? window.innerWidth
: document.documentElement.clientWidth
? document.documentElement.clientWidth
: screen.width
var height = window.innerHeight
? window.innerHeight
: document.documentElement.clientHeight
? document.documentElement.clientHeight
: screen.height
var left = width / 2 - w / 2 + dualScreenLeft
var top = height / 2 - h / 2 + dualScreenTop
var newWindow = window.open(
url,
title,
'scrollbars=yes, width=' +
w +
', height=' +
h +
', top=' +
top +
', left=' +
left
)
// Puts focus on the newWindow
if (window.focus) {
newWindow.focus()
}
})
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| dynamic-chunks | Folder | 0750 |
|
|
| entry-points | Folder | 0750 |
|
|
| header | Folder | 0750 |
|
|
| helpers | Folder | 0750 |
|
|
| integration | Folder | 0750 |
|
|
| layouts | Folder | 0750 |
|
|
| lazy | Folder | 0750 |
|
|
| parallax | Folder | 0750 |
|
|
| search | Folder | 0750 |
|
|
| woocommerce | Folder | 0750 |
|
|
| animated-element.js | File | 761 B | 0640 |
|
| back-to-top-link.js | File | 2.24 KB | 0640 |
|
| fast-overlay.js | File | 2.16 KB | 0640 |
|
| flexy.js | File | 3.75 KB | 0640 |
|
| generic-accordion.js | File | 4.65 KB | 0640 |
|
| handle-3rd-party-events.js | File | 1.03 KB | 0640 |
|
| popper-elements.js | File | 2.21 KB | 0640 |
|
| search-implementation.js | File | 9.04 KB | 0640 |
|
| social-buttons.js | File | 2.71 KB | 0640 |
|