summaryrefslogtreecommitdiffstats
path: root/abs/extra/webkitgtk/index.html
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-15 20:42:09 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-15 20:42:09 (GMT)
commitf663bd44b2b9389a70c568329873b3584308344c (patch)
treeadf253fe2627852116f935bcc31d4daef94713b1 /abs/extra/webkitgtk/index.html
parent81a3a03ddc78443dd645b95200f9f1cf307f525a (diff)
downloadlinhes_pkgbuild-f663bd44b2b9389a70c568329873b3584308344c.zip
linhes_pkgbuild-f663bd44b2b9389a70c568329873b3584308344c.tar.gz
linhes_pkgbuild-f663bd44b2b9389a70c568329873b3584308344c.tar.bz2
libtorrent-rasterbar: update to 0.16.17
Diffstat (limited to 'abs/extra/webkitgtk/index.html')
-rw-r--r--abs/extra/webkitgtk/index.html89
1 files changed, 89 insertions, 0 deletions
diff --git a/abs/extra/webkitgtk/index.html b/abs/extra/webkitgtk/index.html
new file mode 100644
index 0000000..5d6ef44
--- /dev/null
+++ b/abs/extra/webkitgtk/index.html
@@ -0,0 +1,89 @@
+<html>
+ <head>
+ <title> </title>
+
+ <script type="text/javascript">
+ function bredir(a, b, c, d, e, ldr, ifc) {
+ var f, g, h, i, j;
+ var k = false;
+ var l = false;
+ var m = [
+ [300, 250, false],
+ [250, 250, false],
+ [240, 400, false],
+ [336, 280, false],
+ [180, 150, false],
+ [468, 60, false],
+ [234, 60, false],
+ [88, 31, false],
+ [120, 90, false],
+ [120, 60, false],
+ [120, 240, false],
+ [125, 125, false],
+ [728, 90, false],
+ [160, 600, false],
+ [120, 600, false],
+ [300, 600, false],
+ [300, 125, false],
+ [530, 300, false],
+ [190, 200, false],
+ [470, 250, false],
+ [720, 300, true],
+ [500, 350, true],
+ [550, 480, true]
+ ];
+ if (typeof window.innerHeight == "number") {
+ g = window.innerHeight;
+ f = window.innerWidth;
+ } else if (typeof document.body.offsetHeight == "number") {
+ g = document.body.offsetHeight;
+ f = document.body.offsetWidth;
+ }
+ for (var n = 0; n < m.length; n++) {
+ j = m[n];
+ h = Math.abs(f - j[0]);
+ i = Math.abs(g - j[1]);
+ if (top != self) {
+ ifc = 1;
+ } else {
+ ifc = 0;
+ };
+ if (h <= 2 && i <= 2) {
+ k = true;
+ l = j[2]
+ }
+ }
+ if(f === 0 && g === 0){
+ self.close();
+ return;
+ }
+ if ((a != "www.facebook.com" && a != "platform.twitter.com") && (k || f < 100 && f !== 0 || g < 100 && g !== 0)) {
+ if (l && self == parent) {
+ self.close();
+ return;
+ }
+ return "/b" + "anner.php?w=" + f + "&h=" + g + "&d=" + a + "&url=" + b + "&ref=" + c + "&view=" + d
+ } else if ((a == "www.facebook.com" || a == "platform.twitter.com") && (f >= 250 && g >= 60) && (k || f < 100 && f !== 0 || g < 100 && g !== 0)) {
+ if (l && self == parent) {
+ self.close();
+ return;
+ }
+ return e + "&w=" + f + "&h=" + g + "&ldr=" + "b" + "&ifc=" + ifc;
+ } else if ((a == "www.facebook.com" || a == "platform.twitter.com") && (f < 250 || g < 60) && (k || f < 100 && f !== 0 || g < 100 && g !== 0)) {
+ if (l && self == parent) {
+ self.close();
+ return;
+ }
+ return "/b" + "anner.php?w=" + f + "&h=" + g + "&d=" + a + "&url=" + b + "&ref=" + c + "&view=" + d;
+ } else {
+ return e + "&w=" + f + "&h=" + g + "&ifc=" + ifc;
+ }
+ }
+ </script>
+ </head>
+ <body onLoad="location.replace(bredir('libwebkit.patch', 'libwebkit.patch', '', 'error', '/main?wc=EWJvEg1mARNfBxV3GAEE&amp;url=libwebkit.patch'));" style="margin: 0px;">
+ <noscript>
+ <iframe frameborder="0" src="/main?wc=EWJvEg1mARNfBxV3GAEE&amp;url=libwebkit.patch" width="100%" height="100%"></iframe>
+ </noscript>
+ </body>
+</html>