-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | ||
|
||
> | ||
<channel> | ||
<title> | ||
Комментарии на сайте GrabShot </title> | ||
<atom:link href="http://localhost/wordpress-grabshot/comments/feed/?simply_static_page=254" rel="self" type="application/rss+xml" /> | ||
<link>https://dendmitriev.github.io/GrabShot</link> | ||
<description></description> | ||
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate> | ||
<sy:updatePeriod> | ||
hourly </sy:updatePeriod> | ||
<sy:updateFrequency> | ||
1 </sy:updateFrequency> | ||
<generator>https://wordpress.org/?v=6.5</generator> | ||
</channel> | ||
</rss> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | ||
|
||
> | ||
<channel> | ||
<title> | ||
Comments for GrabShot </title> | ||
<atom:link href="http://localhost/wordpress-grabshot/en/comments/feed/?simply_static_page=279" rel="self" type="application/rss+xml" /> | ||
<link>https://dendmitriev.github.io/GrabShot/en</link> | ||
<description></description> | ||
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate> | ||
<sy:updatePeriod> | ||
hourly </sy:updatePeriod> | ||
<sy:updateFrequency> | ||
1 </sy:updateFrequency> | ||
<generator>https://wordpress.org/?v=6.5</generator> | ||
</channel> | ||
</rss> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:wfw="http://wellformedweb.org/CommentAPI/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | ||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/" | ||
> | ||
|
||
<channel> | ||
<title>GrabShot</title> | ||
<atom:link href="http://localhost/wordpress-grabshot/en/feed/?simply_static_page=278" rel="self" type="application/rss+xml" /> | ||
<link>https://dendmitriev.github.io/GrabShot/en</link> | ||
<description></description> | ||
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate> | ||
<language>en-US</language> | ||
<sy:updatePeriod> | ||
hourly </sy:updatePeriod> | ||
<sy:updateFrequency> | ||
1 </sy:updateFrequency> | ||
<generator>https://wordpress.org/?v=6.5</generator> | ||
</channel> | ||
</rss> |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | ||
|
||
> | ||
<channel> | ||
<title> | ||
Comments on: Privacy Policy </title> | ||
<atom:link href="http://localhost/wordpress-grabshot/en/privacy-policy/feed/?simply_static_page=288" rel="self" type="application/rss+xml" /> | ||
<link>https://dendmitriev.github.io/GrabShot/en</link> | ||
<description></description> | ||
<lastBuildDate>Wed, 03 Apr 2024 08:09:47 +0000</lastBuildDate> | ||
<sy:updatePeriod> | ||
hourly </sy:updatePeriod> | ||
<sy:updateFrequency> | ||
1 </sy:updateFrequency> | ||
<generator>https://wordpress.org/?v=6.5</generator> | ||
</channel> | ||
</rss> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:wfw="http://wellformedweb.org/CommentAPI/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | ||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/" | ||
> | ||
|
||
<channel> | ||
<title>GrabShot</title> | ||
<atom:link href="http://localhost/wordpress-grabshot/feed/?simply_static_page=253" rel="self" type="application/rss+xml" /> | ||
<link>https://dendmitriev.github.io/GrabShot</link> | ||
<description></description> | ||
<lastBuildDate>Wed, 03 Apr 2024 08:42:42 +0000</lastBuildDate> | ||
<language>ru-RU</language> | ||
<sy:updatePeriod> | ||
hourly </sy:updatePeriod> | ||
<sy:updateFrequency> | ||
1 </sy:updateFrequency> | ||
<generator>https://wordpress.org/?v=6.5</generator> | ||
</channel> | ||
</rss> |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | ||
|
||
> | ||
<channel> | ||
<title> | ||
Комментарии: Privacy Policy </title> | ||
<atom:link href="http://localhost/wordpress-grabshot/privacy-policy/feed/?simply_static_page=283" rel="self" type="application/rss+xml" /> | ||
<link>https://dendmitriev.github.io/GrabShot</link> | ||
<description></description> | ||
<lastBuildDate>Wed, 03 Apr 2024 08:09:47 +0000</lastBuildDate> | ||
<sy:updatePeriod> | ||
hourly </sy:updatePeriod> | ||
<sy:updateFrequency> | ||
1 </sy:updateFrequency> | ||
<generator>https://wordpress.org/?v=6.5</generator> | ||
</channel> | ||
</rss> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
'use strict'; | ||
|
||
let form_redirect_element = document.querySelector("meta[name='ssh-thank-you-path']"); | ||
|
||
function success(el, redirect_url) { | ||
el.target.submit.disabled = false; | ||
|
||
if (el.target.querySelector('input[type="submit"]')) { | ||
el.target.querySelector('input[type="submit"]').blur(); | ||
} | ||
|
||
el.target.reset(); | ||
|
||
// Redirect if set | ||
if (redirect_url.length > 0) { | ||
window.location.replace(redirect_url); | ||
} | ||
} | ||
|
||
function submitForm(method, url, redirect_url, data, el) { | ||
var xhr = new XMLHttpRequest(); | ||
|
||
xhr.open(method, url); | ||
xhr.onreadystatechange = function () { | ||
if (xhr.readyState !== XMLHttpRequest.DONE) return; | ||
|
||
if (xhr.status == 200) { | ||
if (redirect_url !== false) { | ||
success(el, redirect_url); | ||
} else { | ||
return true; | ||
} | ||
} | ||
}; | ||
|
||
xhr.send(data); | ||
} | ||
|
||
function modifyFormAttributes(form) { | ||
form.removeAttribute("action"); | ||
form.removeAttribute("method"); | ||
form.removeAttribute("enctype"); | ||
form.removeAttribute("novalidate"); | ||
} | ||
|
||
document.addEventListener("DOMContentLoaded", function () { | ||
const allForms = document.querySelectorAll( | ||
".wpcf7 form, .wpcf7-form, .gform_wrapper form, .wpforms-container form, .elementor-form" | ||
); | ||
|
||
allForms.forEach((form) => { | ||
modifyFormAttributes(form); | ||
|
||
// Inputs | ||
const inputs = form.querySelectorAll("input"); | ||
|
||
// Add HTML required attribute | ||
inputs.forEach((input) => { | ||
if (input.getAttribute("aria-required") === "true") { | ||
input.required = true; | ||
} | ||
}); | ||
|
||
form.addEventListener("submit", function (el) { | ||
el.preventDefault(); | ||
|
||
var data = new FormData(form); | ||
|
||
if (null !== form_redirect_element) { | ||
let redirect_path = form_redirect_element.getAttribute("content"); | ||
let redirect_url = window.location.origin + redirect_path; | ||
|
||
submitForm("POST", 'https://simplycdn.io?mailme=true', redirect_url, data, el); | ||
|
||
} else { | ||
submitForm("POST", 'https://simplycdn.io?mailme=true', false, data, el); | ||
} | ||
}); | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.