.
This commit is contained in:
parent
a4521c29e9
commit
c183070471
4 changed files with 40 additions and 41 deletions
|
|
@ -1,11 +1,10 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block extrahead %}
|
{% block extrahead %}
|
||||||
<meta name="robots"
|
<meta name="robots" content="nocache, noindex, noimageindex, nofollow, noarchive, nosnippet, nositelinkssearchbox, noai, noimageai">
|
||||||
content="nocache, noindex, noimageindex, nofollow, noarchive, nosnippet, nositelinkssearchbox, noai, noimageai">
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block container %}
|
{% block content %}
|
||||||
|
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -323,7 +323,7 @@
|
||||||
|
|
||||||
<p><link href="/src/stylesheets/_index.css" rel="stylesheet"></p>
|
<p><link href="/src/stylesheets/_index.css" rel="stylesheet"></p>
|
||||||
<style>
|
<style>
|
||||||
div.footer {
|
footer {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,48 +1,48 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block extrahead %}
|
{% block extrahead %}
|
||||||
<meta name="robots"
|
<meta name="robots" content="nocache, noindex, noimageindex, nofollow, noarchive, nosnippet, nositelinkssearchbox, noai, noimageai">
|
||||||
content="nocache, noindex, noimageindex, nofollow, noarchive, nosnippet, nositelinkssearchbox, noai, noimageai">
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block container %}
|
||||||
|
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
|
||||||
<!-- Add meta tag to allow coollabs as a font source -->
|
<!-- Script to protect content on the website -->
|
||||||
<meta http-equiv="Content-Security-Policy" content="font-src 'self' https://api.fonts.coollabs.io;">
|
<script>
|
||||||
|
// Prevent right-click context menu
|
||||||
<!-- Script to protect content on the website -->
|
document.addEventListener('contextmenu', function (e) {
|
||||||
<script>
|
|
||||||
// Prevent right-click context menu
|
|
||||||
document.addEventListener('contextmenu', function (e) {
|
|
||||||
e.preventDefault();
|
|
||||||
});
|
|
||||||
|
|
||||||
// Prevent text selection
|
|
||||||
document.addEventListener('selectstart', function (e) {
|
|
||||||
e.preventDefault();
|
|
||||||
});
|
|
||||||
|
|
||||||
// Block Ctrl+C and other keyboard shortcuts for copying
|
|
||||||
document.addEventListener('keydown', function (e) {
|
|
||||||
if (e.ctrlKey && e.key === 'c') { // Blocks Ctrl+C
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
});
|
||||||
if (e.ctrlKey && e.shiftKey && e.key === 'v') { // Blocks Ctrl+Shift+V
|
|
||||||
e.preventDefault();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Additional measures for image protection
|
// Prevent text selection
|
||||||
document.addEventListener('contextmenu', function (e) {
|
document.addEventListener('selectstart', function (e) {
|
||||||
if (e.target.tagName.toLowerCase() === 'img') {
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
});
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Analytics script to measure the performance of the website -->
|
// Block Ctrl+C and other keyboard shortcuts for copying
|
||||||
<script defer src="https://analytics.gugulet.hu/script.js" data-website-id="7d31c1b7-6851-4cc8-a62c-08d8e006701d"></script>
|
document.addEventListener('keydown', function (e) {
|
||||||
|
if (e.ctrlKey && e.key === 'c') { // Blocks Ctrl+C
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
if (e.ctrlKey && e.shiftKey && e.key === 'v') { // Blocks Ctrl+Shift+V
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Additional measures for image protection
|
||||||
|
document.addEventListener('contextmenu', function (e) {
|
||||||
|
if (e.target.tagName.toLowerCase() === 'img') {
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Analytics script to measure the performance of the website -->
|
||||||
|
<script
|
||||||
|
src="https://analytics.gugulet.hu/api/script.js"
|
||||||
|
data-site-id="1"
|
||||||
|
defer
|
||||||
|
></script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
|
|
@ -345,7 +345,7 @@
|
||||||
<span class='twemoji'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93zM6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37z'></path></svg></span> linkedin/gugulet-hu
|
<span class='twemoji'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93zM6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37z'></path></svg></span> linkedin/gugulet-hu
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a href='https://gugulet.hu/technical/dev/explore/repos' target='_blank' >
|
<a href='https://git.gugulet.hu/explore/repos' target='_blank' >
|
||||||
<div>
|
<div>
|
||||||
<span class='twemoji'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2.6 10.59 8.38 4.8l1.69 1.7c-.24.85.15 1.78.93 2.23v5.54c-.6.34-1 .99-1 1.73a2 2 0 0 0 2 2 2 2 0 0 0 2-2c0-.74-.4-1.39-1-1.73V9.41l2.07 2.09c-.07.15-.07.32-.07.5a2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0-2-2c-.18 0-.35 0-.5.07L13.93 7.5a1.98 1.98 0 0 0-1.15-2.34c-.43-.16-.88-.2-1.28-.09L9.8 3.38l.79-.78c.78-.79 2.04-.79 2.82 0l7.99 7.99c.79.78.79 2.04 0 2.82l-7.99 7.99c-.78.79-2.04.79-2.82 0L2.6 13.41c-.79-.78-.79-2.04 0-2.82'></path></svg></span> gugulet.hu/dev
|
<span class='twemoji'><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2.6 10.59 8.38 4.8l1.69 1.7c-.24.85.15 1.78.93 2.23v5.54c-.6.34-1 .99-1 1.73a2 2 0 0 0 2 2 2 2 0 0 0 2-2c0-.74-.4-1.39-1-1.73V9.41l2.07 2.09c-.07.15-.07.32-.07.5a2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0-2-2c-.18 0-.35 0-.5.07L13.93 7.5a1.98 1.98 0 0 0-1.15-2.34c-.43-.16-.88-.2-1.28-.09L9.8 3.38l.79-.78c.78-.79 2.04-.79 2.82 0l7.99 7.99c.79.78.79 2.04 0 2.82l-7.99 7.99c-.78.79-2.04.79-2.82 0L2.6 13.41c-.79-.78-.79-2.04 0-2.82'></path></svg></span> gugulet.hu/dev
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue