News

Pastor with Concealed Handgun Stops Robbery

Reading Time: 0:41 min

A pastor in Indiana is being heralded as a hero after saving the day by preventing a crime at a local discount store by pulling out his licensed handgun to…

View post

Concealed carrier may have prevented a mass shooting in Glendale, AZ

Reading Time: 0:27 min

Investigators determined an argument started between individuals at the party and the 27-year-old, and he was asked to leave, she said. The man left for a short time, then returned…

View post

Man Accidentally Shoots His Wife After Scuffle With Her Ex Boyfriend

Reading Time: 0:21 min

A guy gets punched in the face, so he draws his gun from his garage  sale holster, Leonidas front kicks the other guys  wife while she’s recording, same guy drops…

View post

Gas Station Clerk, Fired For Pulling Gun On Robber

Reading Time: 0:41 min

A New Hampshire Shell gas station clerk who stopped an attempted robbery by pulling out a handgun was fired because company policy prohibits staff from carrying firearms. The parent company…

View post

Brazillian Cop Shoots Bike Jacker

Reading Time: 0:19 min

The cop in this video was playing no games. Bike Jacking someone in broad daylight is some real bold sh*t, but sometimes bold sh*t comes with bold consequences and this…

View post

The Walking Dead Season 4 Premieres Tonight

Reading Time: 1:1 min

So, here we are, season 4 of the greatest zombie series ever airs tonight. I know there are a lot of haters of this series and that’s fine, it simply…

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>