This file contains 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
<VirtualHost *:80> | |
RewriteEngine On | |
RewriteMap lowercase int:tolower | |
RewriteRule ^(/var/www/vhosts/[^/]+/.*)$ $1 | |
RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 | |
RewriteRule ^(www\.)?([^/]+)/(.*)$ /var/www/vhosts/$2/htdocs/$3 [E=VHOST_ROOT:/var/www/vhosts/$2/] | |
Options +Indexes +FollowSymLinks |
This file contains 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
<cross-domain-policy> | |
<allow-access-from domain="*" /> | |
<site-control permitted-cross-domain-policies="all" /> | |
</cross-domain-policy> |
This file contains 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
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, embed, |
This file contains 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
<script> | |
App = { | |
login: function() { | |
duckdynasty.loadInstructionsScreen() | |
} | |
} | |
Share = { | |
scoreOnFacebook: function(a) { |
This file contains 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
convertDecimalToBase = function (decimal, base) { | |
var symbols = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""); | |
var conversion = ""; | |
if (base > symbols.length || base <= 1) { | |
return false; | |
} | |
while (decimal >= 1) { | |
conversion = symbols[(decimal - (base * Math.floor(decimal / base)))] + conversion; |
This file contains 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
if (top != window) { | |
console.log("Init: iframe mode"); | |
$(document).ready(function() { | |
$('body').width(810).height(700).css('overflow', 'hidden'); | |
}); | |
} else { | |
top.location.href = "https://www.facebook.com/impracticaljokers/app_120478954789368"; | |
} |
This file contains 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
<!-- Leaderboards --> | |
<div class="ui-dialog leaderboards" data-leaderboard="global"> | |
<a class="close ui-button">Close</a> | |
<div class="container" data-active="world"> | |
<ul> | |
<li data-pane="world" class="active"></li> | |
<li data-pane="friends"></li> | |
</ul> |