>웹 프론트엔드 >JS 튜토리얼 >Javascript를 사용하여 페이지 새로고침을 구현하는 535가지 방법

Javascript를 사용하여 페이지 새로고침을 구현하는 535가지 방법

一个新手
一个新手원래의
2017-10-14 10:37:231664검색

재미있게 누군가 페이지를 새로 고치는 방법을 500가지 이상 편집했는데 없어졌습니다!


location = location

... 그리고 JavaScript로 페이지를 다시 로드하는 534가지 다른 방법

  1. location = location
    location = location.href
    location = window.location
    location = self.location
    location = window.location.href
    location = self.location.href
    location = location['href']
    location = window['location']
    location = window['location'].href
    location = window['location']['href']
    location = window.location['href']
    location = self['location']
    location = self['location'].href
    location = self['location']['href']
    location = self.location['href']
    location.assign(location)
    location.replace(location)
    window.location.assign(location)
    window.location.replace(location)
    self.location.assign(location)
    self.location.replace(location)
    location['assign'](location)
    location['replace'](location)
    window.location['assign'](location)
    window.location['replace'](location)
    window['location'].assign(location)
    window['location'].replace(location)
    window['location']['assign'](location)
    window['location']['replace'](location)
    self.location['assign'](location)
    self.location['replace'](location)
    self['location'].assign(location)
    self['location'].replace(location)
    self['location']['assign'](location)
    self['location']['replace'](location)
    location.href = location
    location.href = location.href
    location.href = window.location
    location.href = self.location
    location.href = window.location.href
    location.href = self.location.href
    location.href = location['href']
    location.href = window['location']
    location.href = window['location'].href
    location.href = window['location']['href']
    location.href = window.location['href']
    location.href = self['location']
    location.href = self['location'].href
    location.href = self['location']['href']
    location.href = self.location['href']
    location.assign(location.href)
    location.replace(location.href)
    window.location.assign(location.href)
    window.location.replace(location.href)
    self.location.assign(location.href)
    self.location.replace(location.href)
    location['assign'](location.href)
    location['replace'](location.href)
    window.location['assign'](location.href)
    window.location['replace'](location.href)
    window['location'].assign(location.href)
    window['location'].replace(location.href)
    window['location']['assign'](location.href)
    window['location']['replace'](location.href)
    self.location['assign'](location.href)
    self.location['replace'](location.href)
    self['location'].assign(location.href)
    self['location'].replace(location.href)
    self['location']['assign'](location.href)
    self['location']['replace'](location.href)
    window.location = location
    window.location = location.href
    window.location = window.location
    window.location = self.location
    window.location = window.location.href
    window.location = self.location.href
    window.location = location['href']
    window.location = window['location']
    window.location = window['location'].href
    window.location = window['location']['href']
    window.location = window.location['href']
    window.location = self['location']
    window.location = self['location'].href
    window.location = self['location']['href']
    window.location = self.location['href']
    location.assign(window.location)
    location.replace(window.location)
    window.location.assign(window.location)
    window.location.replace(window.location)
    self.location.assign(window.location)
    self.location.replace(window.location)
    location['assign'](window.location)
    location['replace'](window.location)
    window.location['assign'](window.location)
    window.location['replace'](window.location)
    window['location'].assign(window.location)
    window['location'].replace(window.location)
    window['location']['assign'](window.location)
    window['location']['replace'](window.location)
    self.location['assign'](window.location)
    self.location['replace'](window.location)
    self['location'].assign(window.location)
    self['location'].replace(window.location)
    self['location']['assign'](window.location)
    self['location']['replace'](window.location)
    self.location = location
    self.location = location.href
    self.location = window.location
    self.location = self.location
    self.location = window.location.href
    self.location = self.location.href
    self.location = location['href']
    self.location = window['location']
    self.location = window['location'].href
    self.location = window['location']['href']
    self.location = window.location['href']
    self.location = self['location']
    self.location = self['location'].href
    self.location = self['location']['href']
    self.location = self.location['href']
    location.assign(self.location)
    location.replace(self.location)
    window.location.assign(self.location)
    window.location.replace(self.location)
    self.location.assign(self.location)
    self.location.replace(self.location)
    location['assign'](self.location)
    location['replace'](self.location)
    window.location['assign'](self.location)
    window.location['replace'](self.location)
    window['location'].assign(self.location)
    window['location'].replace(self.location)
    window['location']['assign'](self.location)
    window['location']['replace'](self.location)
    self.location['assign'](self.location)
    self.location['replace'](self.location)
    self['location'].assign(self.location)
    self['location'].replace(self.location)
    self['location']['assign'](self.location)
    self['location']['replace'](self.location)
    window.location.href = location
    window.location.href = location.href
    window.location.href = window.location
    window.location.href = self.location
    window.location.href = window.location.href
    window.location.href = self.location.href
    window.location.href = location['href']
    window.location.href = window['location']
    window.location.href = window['location'].href
    window.location.href = window['location']['href']
    window.location.href = window.location['href']
    window.location.href = self['location']
    window.location.href = self['location'].href
    window.location.href = self['location']['href']
    window.location.href = self.location['href']
    location.assign(window.location.href)
    location.replace(window.location.href)
    window.location.assign(window.location.href)
    window.location.replace(window.location.href)
    self.location.assign(window.location.href)
    self.location.replace(window.location.href)
    location['assign'](window.location.href)
    location['replace'](window.location.href)
    window.location['assign'](window.location.href)
    window.location['replace'](window.location.href)
    window['location'].assign(window.location.href)
    window['location'].replace(window.location.href)
    window['location']['assign'](window.location.href)
    window['location']['replace'](window.location.href)
    self.location['assign'](window.location.href)
    self.location['replace'](window.location.href)
    self['location'].assign(window.location.href)
    self['location'].replace(window.location.href)
    self['location']['assign'](window.location.href)
    self['location']['replace'](window.location.href)
    self.location.href = location
    self.location.href = location.href
    self.location.href = window.location
    self.location.href = self.location
    self.location.href = window.location.href
    self.location.href = self.location.href
    self.location.href = location['href']
    self.location.href = window['location']
    self.location.href = window['location'].href
    self.location.href = window['location']['href']
    self.location.href = window.location['href']
    self.location.href = self['location']
    self.location.href = self['location'].href
    self.location.href = self['location']['href']
    self.location.href = self.location['href']
    location.assign(self.location.href)
    location.replace(self.location.href)
    window.location.assign(self.location.href)
    window.location.replace(self.location.href)
    self.location.assign(self.location.href)
    self.location.replace(self.location.href)
    location['assign'](self.location.href)
    location['replace'](self.location.href)
    window.location['assign'](self.location.href)
    window.location['replace'](self.location.href)
    window['location'].assign(self.location.href)
    window['location'].replace(self.location.href)
    window['location']['assign'](self.location.href)
    window['location']['replace'](self.location.href)
    self.location['assign'](self.location.href)
    self.location['replace'](self.location.href)
    self['location'].assign(self.location.href)
    self['location'].replace(self.location.href)
    self['location']['assign'](self.location.href)
    self['location']['replace'](self.location.href)
    location['href'] = location
    location['href'] = location.href
    location['href'] = window.location
    location['href'] = self.location
    location['href'] = window.location.href
    location['href'] = self.location.href
    location['href'] = location['href']
    location['href'] = window['location']
    location['href'] = window['location'].href
    location['href'] = window['location']['href']
    location['href'] = window.location['href']
    location['href'] = self['location']
    location['href'] = self['location'].href
    location['href'] = self['location']['href']
    location['href'] = self.location['href']
    location.assign(location['href'])
    location.replace(location['href'])
    window.location.assign(location['href'])
    window.location.replace(location['href'])
    self.location.assign(location['href'])
    self.location.replace(location['href'])
    location['assign'](location['href'])
    location['replace'](location['href'])
    window.location['assign'](location['href'])
    window.location['replace'](location['href'])
    window['location'].assign(location['href'])
    window['location'].replace(location['href'])
    window['location']['assign'](location['href'])
    window['location']['replace'](location['href'])
    self.location['assign'](location['href'])
    self.location['replace'](location['href'])
    self['location'].assign(location['href'])
    self['location'].replace(location['href'])
    self['location']['assign'](location['href'])
    self['location']['replace'](location['href'])
    window['location'] = location
    window['location'] = location.href
    window['location'] = window.location
    window['location'] = self.location
    window['location'] = window.location.href
    window['location'] = self.location.href
    window['location'] = location['href']
    window['location'] = window['location']
    window['location'] = window['location'].href
    window['location'] = window['location']['href']
    window['location'] = window.location['href']
    window['location'] = self['location']
    window['location'] = self['location'].href
    window['location'] = self['location']['href']
    window['location'] = self.location['href']
    location.assign(window['location'])
    location.replace(window['location'])
    window.location.assign(window['location'])
    window.location.replace(window['location'])
    self.location.assign(window['location'])
    self.location.replace(window['location'])
    location['assign'](window['location'])
    location['replace'](window['location'])
    window.location['assign'](window['location'])
    window.location['replace'](window['location'])
    window['location'].assign(window['location'])
    window['location'].replace(window['location'])
    window['location']['assign'](window['location'])
    window['location']['replace'](window['location'])
    self.location['assign'](window['location'])
    self.location['replace'](window['location'])
    self['location'].assign(window['location'])
    self['location'].replace(window['location'])
    self['location']['assign'](window['location'])
    self['location']['replace'](window['location'])
    window['location'].href = location
    window['location'].href = location.href
    window['location'].href = window.location
    window['location'].href = self.location
    window['location'].href = window.location.href
    window['location'].href = self.location.href
    window['location'].href = location['href']
    window['location'].href = window['location']
    window['location'].href = window['location'].href
    window['location'].href = window['location']['href']
    window['location'].href = window.location['href']
    window['location'].href = self['location']
    window['location'].href = self['location'].href
    window['location'].href = self['location']['href']
    window['location'].href = self.location['href']
    location.assign(window['location'].href)
    location.replace(window['location'].href)
    window.location.assign(window['location'].href)
    window.location.replace(window['location'].href)
    self.location.assign(window['location'].href)
    self.location.replace(window['location'].href)
    location['assign'](window['location'].href)
    location['replace'](window['location'].href)
    window.location['assign'](window['location'].href)
    window.location['replace'](window['location'].href)
    window['location'].assign(window['location'].href)
    window['location'].replace(window['location'].href)
    window['location']['assign'](window['location'].href)
    window['location']['replace'](window['location'].href)
    self.location['assign'](window['location'].href)
    self.location['replace'](window['location'].href)
    self['location'].assign(window['location'].href)
    self['location'].replace(window['location'].href)
    self['location']['assign'](window['location'].href)
    self['location']['replace'](window['location'].href)
    window['location']['href'] = location
    window['location']['href'] = location.href
    window['location']['href'] = window.location
    window['location']['href'] = self.location
    window['location']['href'] = window.location.href
    window['location']['href'] = self.location.href
    window['location']['href'] = location['href']
    window['location']['href'] = window['location']
    window['location']['href'] = window['location'].href
    window['location']['href'] = window['location']['href']
    window['location']['href'] = window.location['href']
    window['location']['href'] = self['location']
    window['location']['href'] = self['location'].href
    window['location']['href'] = self['location']['href']
    window['location']['href'] = self.location['href']
    location.assign(window['location']['href'])
    location.replace(window['location']['href'])
    window.location.assign(window['location']['href'])
    window.location.replace(window['location']['href'])
    self.location.assign(window['location']['href'])
    self.location.replace(window['location']['href'])
    location['assign'](window['location']['href'])
    location['replace'](window['location']['href'])
    window.location['assign'](window['location']['href'])
    window.location['replace'](window['location']['href'])
    window['location'].assign(window['location']['href'])
    window['location'].replace(window['location']['href'])
    window['location']['assign'](window['location']['href'])
    window['location']['replace'](window['location']['href'])
    self.location['assign'](window['location']['href'])
    self.location['replace'](window['location']['href'])
    self['location'].assign(window['location']['href'])
    self['location'].replace(window['location']['href'])
    self['location']['assign'](window['location']['href'])
    self['location']['replace'](window['location']['href'])
    window.location['href'] = location
    window.location['href'] = location.href
    window.location['href'] = window.location
    window.location['href'] = self.location
    window.location['href'] = window.location.href
    window.location['href'] = self.location.href
    window.location['href'] = location['href']
    window.location['href'] = window['location']
    window.location['href'] = window['location'].href
    window.location['href'] = window['location']['href']
    window.location['href'] = window.location['href']
    window.location['href'] = self['location']
    window.location['href'] = self['location'].href
    window.location['href'] = self['location']['href']
    window.location['href'] = self.location['href']
    location.assign(window.location['href'])
    location.replace(window.location['href'])
    window.location.assign(window.location['href'])
    window.location.replace(window.location['href'])
    self.location.assign(window.location['href'])
    self.location.replace(window.location['href'])
    location['assign'](window.location['href'])
    location['replace'](window.location['href'])
    window.location['assign'](window.location['href'])
    window.location['replace'](window.location['href'])
    window['location'].assign(window.location['href'])
    window['location'].replace(window.location['href'])
    window['location']['assign'](window.location['href'])
    window['location']['replace'](window.location['href'])
    self.location['assign'](window.location['href'])
    self.location['replace'](window.location['href'])
    self['location'].assign(window.location['href'])
    self['location'].replace(window.location['href'])
    self['location']['assign'](window.location['href'])
    self['location']['replace'](window.location['href'])
    self['location'] = location
    self['location'] = location.href
    self['location'] = window.location
    self['location'] = self.location
    self['location'] = window.location.href
    self['location'] = self.location.href
    self['location'] = location['href']
    self['location'] = window['location']
    self['location'] = window['location'].href
    self['location'] = window['location']['href']
    self['location'] = window.location['href']
    self['location'] = self['location']
    self['location'] = self['location'].href
    self['location'] = self['location']['href']
    self['location'] = self.location['href']
    location.assign(self['location'])
    location.replace(self['location'])
    window.location.assign(self['location'])
    window.location.replace(self['location'])
    self.location.assign(self['location'])
    self.location.replace(self['location'])
    location['assign'](self['location'])
    location['replace'](self['location'])
    window.location['assign'](self['location'])
    window.location['replace'](self['location'])
    window['location'].assign(self['location'])
    window['location'].replace(self['location'])
    window['location']['assign'](self['location'])
    window['location']['replace'](self['location'])
    self.location['assign'](self['location'])
    self.location['replace'](self['location'])
    self['location'].assign(self['location'])
    self['location'].replace(self['location'])
    self['location']['assign'](self['location'])
    self['location']['replace'](self['location'])
    self['location'].href = location
    self['location'].href = location.href
    self['location'].href = window.location
    self['location'].href = self.location
    self['location'].href = window.location.href
    self['location'].href = self.location.href
    self['location'].href = location['href']
    self['location'].href = window['location']
    self['location'].href = window['location'].href
    self['location'].href = window['location']['href']
    self['location'].href = window.location['href']
    self['location'].href = self['location']
    self['location'].href = self['location'].href
    self['location'].href = self['location']['href']
    self['location'].href = self.location['href']
    location.assign(self['location'].href)
    location.replace(self['location'].href)
    window.location.assign(self['location'].href)
    window.location.replace(self['location'].href)
    self.location.assign(self['location'].href)
    self.location.replace(self['location'].href)
    location['assign'](self['location'].href)
    location['replace'](self['location'].href)
    window.location['assign'](self['location'].href)
    window.location['replace'](self['location'].href)
    window['location'].assign(self['location'].href)
    window['location'].replace(self['location'].href)
    window['location']['assign'](self['location'].href)
    window['location']['replace'](self['location'].href)
    self.location['assign'](self['location'].href)
    self.location['replace'](self['location'].href)
    self['location'].assign(self['location'].href)
    self['location'].replace(self['location'].href)
    self['location']['assign'](self['location'].href)
    self['location']['replace'](self['location'].href)
    self['location']['href'] = location
    self['location']['href'] = location.href
    self['location']['href'] = window.location
    self['location']['href'] = self.location
    self['location']['href'] = window.location.href
    self['location']['href'] = self.location.href
    self['location']['href'] = location['href']
    self['location']['href'] = window['location']
    self['location']['href'] = window['location'].href
    self['location']['href'] = window['location']['href']
    self['location']['href'] = window.location['href']
    self['location']['href'] = self['location']
    self['location']['href'] = self['location'].href
    self['location']['href'] = self['location']['href']
    self['location']['href'] = self.location['href']
    location.assign(self['location']['href'])
    location.replace(self['location']['href'])
    window.location.assign(self['location']['href'])
    window.location.replace(self['location']['href'])
    self.location.assign(self['location']['href'])
    self.location.replace(self['location']['href'])
    location['assign'](self['location']['href'])
    location['replace'](self['location']['href'])
    window.location['assign'](self['location']['href'])
    window.location['replace'](self['location']['href'])
    window['location'].assign(self['location']['href'])
    window['location'].replace(self['location']['href'])
    window['location']['assign'](self['location']['href'])
    window['location']['replace'](self['location']['href'])
    self.location['assign'](self['location']['href'])
    self.location['replace'](self['location']['href'])
    self['location'].assign(self['location']['href'])
    self['location'].replace(self['location']['href'])
    self['location']['assign'](self['location']['href'])
    self['location']['replace'](self['location']['href'])
    self.location['href'] = location
    self.location['href'] = location.href
    self.location['href'] = window.location
    self.location['href'] = self.location
    self.location['href'] = window.location.href
    self.location['href'] = self.location.href
    self.location['href'] = location['href']
    self.location['href'] = window['location']
    self.location['href'] = window['location'].href
    self.location['href'] = window['location']['href']
    self.location['href'] = window.location['href']
    self.location['href'] = self['location']
    self.location['href'] = self['location'].href
    self.location['href'] = self['location']['href']
    self.location['href'] = self.location['href']
    location.assign(self.location['href'])
    location.replace(self.location['href'])
    window.location.assign(self.location['href'])
    window.location.replace(self.location['href'])
    self.location.assign(self.location['href'])
    self.location.replace(self.location['href'])
    location['assign'](self.location['href'])
    location['replace'](self.location['href'])
    window.location['assign'](self.location['href'])
    window.location['replace'](self.location['href'])
    window['location'].assign(self.location['href'])
    window['location'].replace(self.location['href'])
    window['location']['assign'](self.location['href'])
    window['location']['replace'](self.location['href'])
    self.location['assign'](self.location['href'])
    self.location['replace'](self.location['href'])
    self['location'].assign(self.location['href'])
    self['location'].replace(self.location['href'])
    self['location']['assign'](self.location['href'])
    self['location']['replace'](self.location['href'])
    location.reload()
    location['reload']()
    window.location.reload()
    window['location'].reload()
    window.location['reload']()
    window['location']['reload']()
    self.location.reload()
    self['location'].reload()
    self.location['reload']()
    self['location']['reload']()

위 내용은 Javascript를 사용하여 페이지 새로고침을 구현하는 535가지 방법의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.