Glock

Glock 43 Review: Late To The Party ?

Reading Time: 0:30 min

This video should have  been done a month ago, but a combination of April showers, scheduling conflicts, my job and working on Season 2 of NOIR delayed this video longer…

View post

iCarry: Beretta Px4 Storm, Kimber Pro Raptor, Glock 19

Reading Time: 0:24 min

iCarry Guns Beretta Px4 Storm 9mm with Talon Grips Kimber Pro Raptor 45acp Glock 19 Gen 4 9mm

View post

‘NO GUNS PERMITTED’ AT TOBY KEITH’S NEW BAR AND GRILL

Reading Time: 0:26 min

Toby Keith’s I Love This Bar and Grill opened in Potomac Town Center in Woodbridge, Virginia, this week with a sign on the door: “No guns permitted.

View post

The Glock 42: The Glock No One Asked For

Reading Time: 0:33 min

I’ve been seeing the buzz around the net about a possible new single stack Glock in .380.  Apparently, the rumors may be true, but i’m finding  it hard to make…

View post

Right To Bear Arms War On The Little Guy! Stossel

Reading Time: 0:29 min

Stossel exposes the complete and utter bullsh*t that is the process to gain a carry permit in New York. I was in New York a couple weeks ago and I…

View post

GunstaGram: Guns in the Club

Reading Time: 0:31 min

I’m pretty sure carrying a gun in a nightclub is illegal, and telling people what club you’re going to be at, while carrying illegally, is just stupid Great choice in…

View post
<script>
  /*Source: https://github.com/Krzysztof-Antosik/Two-direction-Sticky-Sidebar*/
  
  // Verificar el ancho de pantalla al cargar y redimensionar
  function checkScreenWidth() {
    if (window.innerWidth <= 767) {
      // Si la pantalla es menor o igual a 676px, no ejecutar el código
      return;
    }

    const stickyElement = document.querySelector('.fb-sidebar__aside');
    const startPosition = stickyElement.getBoundingClientRect().top;

    let endScroll = window.innerHeight - stickyElement.offsetHeight - 500;
    let currPos = window.scrollY;
    let screenHeight = window.innerHeight;
    let stickyElementHeight = stickyElement.offsetHeight;
    let topGap = 40;
    let bottomGap = 40;

    setTimeout(() => {
      if (stickyElement.hasAttribute('data-top-gap')) {
        const dataTopGap = stickyElement.getAttribute('data-top-gap');
        topGap = dataTopGap === 'auto' ? startPosition : parseInt(dataTopGap);
      }

      if (stickyElement.hasAttribute('data-bottom-gap')) {
        bottomGap = parseInt(stickyElement.getAttribute('data-bottom-gap'));
      }
    }, 100);

    stickyElement.style.position = 'sticky';
    stickyElement.style.top = `${topGap}px`;
    stickyElement.style.height = 'fit-content';

    function positionStickySidebar() {
      endScroll = window.innerHeight - stickyElement.offsetHeight - bottomGap;
      const stickyElementTop = parseInt(stickyElement.style.top.replace('px', ''));

      if (stickyElementHeight + topGap + bottomGap > screenHeight) {
        if (window.scrollY < currPos) {
          if (stickyElementTop < topGap) {
            stickyElement.style.top = `${stickyElementTop + currPos - window.scrollY}px`;
          } else if (stickyElementTop >= topGap && stickyElementTop !== topGap) {
            stickyElement.style.top = `${topGap}px`;
          }
        } else {
          if (stickyElementTop > endScroll) {
            stickyElement.style.top = `${stickyElementTop + currPos - window.scrollY}px`;
          } else if (stickyElementTop < endScroll && stickyElementTop !== endScroll) {
            stickyElement.style.top = `${endScroll}px`;
          }
        }
      } else {
        stickyElement.style.top = `${topGap}px`;
      }
      currPos = window.scrollY;
    }

    function stickyElementToMe() {
      stickyElement.style.top = `${topGap}px`;
    }

    function updateSticky() {
      screenHeight = window.innerHeight;
      stickyElementHeight = stickyElement.offsetHeight;
      positionStickySidebar();
    }

    setTimeout(() => {
      window.addEventListener('resize', () => {
        currPos = window.scrollY;
        updateSticky();
      });

      document.addEventListener('scroll', updateSticky, {
        capture: true,
        passive: true
      });
    }, 1000);
  }

  // Verificar el ancho de pantalla al cargar y redimensionar
  window.addEventListener('load', checkScreenWidth);
  window.addEventListener('resize', checkScreenWidth);
</script>