This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html | |
# and https://httpd.apache.org/docs/2.4/vhosts/mass.html. | |
UseCanonicalName Off | |
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon | |
<Directory "/home/deploy/sites"> | |
Options FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$(document).on('copy', function () { | |
var selection = window.getSelection(); | |
var copyFooter = '<br><br>Leia mais em <a href="' + document.location.href + '">' + document.location.href + '</a>'; | |
var copyHolder = $('<div>', { | |
html: (selection + '').substring(0, 140) + '...' + copyFooter, | |
style: { | |
position: 'absolute', | |
left: '-99999px'} | |
} |
OlderNewer