Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5249624a authored by Mark Harman's avatar Mark Harman
Browse files

Update redirection code to new domain - now preserves an anchor, and can be used for other pages.

parent 3b2debb5
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -9,6 +9,13 @@

<link rel="stylesheet" href="stylesheet.css" type="text/css">

<script>
    var old_domain = "//opencamera.sourceforge.net";
    if( window.location.href.indexOf(old_domain) >= 0 ) {
        window.location.href = window.location.href.replace(old_domain, "//opencamera.org.uk");
    }
</script>

<!-- EU cookie law, needed for analytics and adsense -->
<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
<script type="text/javascript">
@@ -29,12 +36,6 @@
  ga('send', 'pageview');
</script>

<script>
    if( window.location.href.indexOf("opencamera.sourceforge.net") > 0 ) {
        window.location.href = "http://opencamera.org.uk/";
    }
</script>

</head>

<body>