PageSourceSearch

https://rapidfyre.com/fileadmin/templates/mainTemplates/js/local.js?1454624100

js rapidfyre.com collected 2026-10-09 22:53:02 UTC 2,081 bytes, 61 lines download raw bytes

1// JavaScript Document
2//This document is Javascript written specifically for this website by Rapidfyre Inc, http://www.rapidfyre.com
3
4$(document).ready(function() {
5    //setBackground();
6    setTimeout('scrollbarCheck();',500);
7
8    //required for Stripe payments
9//    var handler = StripeCheckout.configure({
10//        key: 'pk_live_zEUKumuxcDVfe9sfJJOXnvFX',
11//        image: 'https://s3.amazonaws.com/stripe-uploads/acct_16qSi8J18NfCwy2fmerchant-icon-1443552338849-rapidfyre-logo2-square-border2.jpg',
12//        locale: 'auto',
13//        token: function(token) {
14            // Use the token to create the charge with a server-side script.
15            // You can access the token ID with `token.id`
16//        }
17//    });
18
19    $('#customAmount').keyup(function () {
20        this.value = this.value.replace(/[^0-9\.]/g,'');
21    });
22    $('#customButton').on('click', function(e) {
23        var customAmount = $("#customAmount").val() * 100;
24        if(customAmount) {
25            // Open Checkout with further options
26            handler.open({
27                name: 'Rapidfyre Inc',
28                description: 'Payment',
29                amount: customAmount
30            });
31            e.preventDefault();
32        } else {
33            var input = this;
34            input.disabled = true;
35            setTimeout(function() {
36                input.disabled = false;
37            }, 3000);
38        }
39    });
40
41    // Close Checkout on page navigation
42    $(window).on('popstate', function() {
43        handler.close();
44    });
45});
46
47$(window).resize(function() {
48    scrollbarCheck();
49});
50
51//This functon is used to ensure footer and main content area background behave well with & without vertical scrollbar
52function scrollbarCheck () {
53    //Check if body height is higher than window height
54    if ($('body').height() > $(window).height()) {
55        //alert("Vertical scrollbar is visible");
56        $('#container2').removeClass('noScrollbar');
57    }
58    else {
59        $('#container2').addClass('noScrollbar');
60    }
61}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.