Kaip atnaujinti puslapį naudojant jQuery?

Kaip atnaujinti puslapį naudojant jQuery?

2175
23 марта '11 в 14:55 2011-03-23 14:55 luca yra nustatytas kovo 23 d ., 11 val. 14:55 2011-03-23 ​​14:55
@ 27 atsakymai

Naudoti location.reload()

 $('#something').click(function() { location.reload(); }); 

Funkcija reload() įjungia pasirinktinį parametrą, kurį galite nustatyti kaip true norėdami priversti serverį įkelti iš naujo, o ne talpyklą. Numatytasis nustatymas yra false , todėl pagal nutylėjimą puslapis gali iš naujo įkelti iš naršyklės talpyklos.

3488
23 марта '11 в 14:57 2011-03-23 14:57 atsakymą pateikė Roy kovo 23 d., „11, 14:57, 2011-03-23 ​​14:57

Tai turėtų veikti visose naršyklėse net ir be „jQuery“:

 location.reload(); 
428
23 марта '11 в 14:57 2011-03-23 14:57 atsakymą Thorbenas pateikė kovo 23 d. 11 val. 14:57 2011-03-23 ​​14:57

Yra keletas neribotų būdų atnaujinti puslapį naudojant „JavaScript“:

  1. location.reload()
  2. history.go(0)
  3. location.href= location.href
  4. location.href= location.pathname
  5. location.replace(location.pathname)
  6. location.reload(false)

    Jei mums reikės iš naujo gauti dokumentą iš žiniatinklio serverio (pvz., Kai dokumento turinys dinamiškai keičiasi), mes perduodame argumentą kaip true .

Galite tęsti skelbimų sąrašą:

  • window.location = window.location
  • window.self.window.self.window.window.location = window.location
  • ... ir kiti 534 keliai

 button { background: #2ecc71; border: 0; color: white; font-weight: bold; font-family: "Monaco", monospace; padding: 10px; border-radius: 4px; cursor: pointer; transition: background-color 0.5s ease; margin: 2px; } button:hover { background: #27ae60; } 
386
23 июня '13 в 12:47 2013-06-23 12:47 atsakymas pateikiamas Ionică Bizău birželio 13 d. 13 val. 12:47 2013-06-23 12:47

Manau, kad daugelis būdų:

  • window.location.reload();
  • history.go(0);
  • window.location.href=window.location.href;
187
23 марта '11 в 14:58 2011-03-23 14:58 atsakymą davė Dovydas kovo 23 d. 11 val. 14:58 2011-03-23 ​​14:58

Jei norite iš naujo įkelti puslapį naudodami jQuery, paleiskite:

 $.ajax({ url: "", context: document.body, success: function(s,x){ $(this).html(s); } }); 

Man buvo naudojamas Ajax jQuery. Aš išbandžiau jį „ Chrome“ 13 versijoje. Tada kodą įdėjau į tvarkyklę, kuri sukels iš naujo. URL, kuris reiškia šiame puslapyje .

117
30 сент. Atsakymas duotas Petro 30 rugsėjo. 2011-09-30 14:00 '11 14:00 val. 2011-09-30 14:00

Jei dabartinis puslapis buvo pakrautas su POST užklausa, galite naudoti

 window.location = window.location.pathname; 

vietoj

 window.location.reload(); 

nes window.location.reload() paprašys patvirtinimo, jei jis bus iškviestas puslapyje, kuriame yra POST užklausa.

100
22 июня '12 в 14:58 2012-06-22 14:58 atsakymą pateikė „ SumairIrshad “ birželio 22 d . 12:58 val. 2012-06-22 14:58

Klausimas turi būti

Kaip atnaujinti puslapį naudojant „ JavaScript“

 window.location.href = window.location.href; //This is a possibility window.location.reload(); //Another possiblity history.go(0); //And another 

Jūs esate sugadintas dėl pasirinkimo.

59
23 марта '11 в 15:01 2011-03-23 15:01 atsakymą pateikė „ JohnP“ kovo 23 d., „11, 15:01 2011-03-23 ​​15:01

Galite naudoti

 location.reload(forceGet) 

forceGet yra logiška ir neprivaloma.

Numatytoji reikšmė yra klaidinga, kuri iš naujo įkelia puslapį iš talpyklos.

Nustatykite šį parametrą tiesu, jei norite priversti naršyklę gauti puslapį iš serverio, kad atsikratytumėte talpyklos.

Arba tiesiog

 location.reload() 

jei norite greitai ir lengvai atlikti spartinimą.

51
25 июля '13 в 17:27 2013-07-25 17:27 atsakymas pateikiamas „ Pinch “ liepos 25 d., 17:27, 2013-07-25 17:27

Trys būdai, susiję su skirtingomis talpyklomis:

  • location.reload(true)

    Naršyklėse, įgyvendinančiose parametrą „ forcedReload location.reload() , jis forcedReload , pasirenka naują puslapio kopiją ir visus jos išteklius (scenarijus, stiliaus lapus, vaizdus ir tt). Tai nepadės jokių išteklių iš talpyklos - ji gauna šviežią kopiją iš serverio, nesiųsdama užklausos antraštės, if-modified-since pakeis if-modified-since if-none-match .

    Jei įmanoma, lygiavertis naršyklės naudotojui.

    Atkreipkite dėmesį, kad true siųsti į location.reload() palaikomas „Firefox“ (žr. MDN ) ir „Internet Explorer“ (žr. MSDN ), bet nėra visuotinai palaikomas ir nėra W3 HTML 5 specifikacijos dalis , o W3 yra HTML 5.1 spec , WHATWG projektas HTML gyvenimo standartas .

    Nepalaikomose naršyklėse, pvz., „Google Chrome“, location.reload(true) elgiasi taip pat, kaip location.reload() .

  • location.reload() arba location.reload(false)

    Jis iš naujo įkelia puslapį, patys gauna iš naujo nešifruotą HTML puslapio kopiją, o RFC 7234 atlieka pakartotinius patikrinimus dėl bet kokių išteklių (pvz., Scenarijų), kuriuos naršyklės talpyklos, net jei jos yra šviežios , RFC 7234 leidžia naršyklei juos aptarnauti be pakartotinio patikrinimo.

    Kaip naršyklė turėtų naudoti savo talpyklą, kai skambinama į location.reload() . Aš apibūdinau anksčiau nurodytą elgesį eksperimentuodamas.

    Tai yra lygiavertė naudotojui tiesiog spustelėję mygtuką Atnaujinti savo naršyklėje.

  • location = location (arba be galo daug kitų galimų būdų, susijusių su location ar jo savybių priskyrimu)

    Jis veikia tik tada, jei puslapio URL nėra maišymo / maišymo!

    Perkraunamas puslapis iš naujo nenustatant ar neperžiūrint jokių naujų talpyklos išteklių. Jei pats HTML puslapis yra naujas, tai iš naujo įkels puslapį be jokių HTTP užklausų.

    Tai yra lygiavertis (pagal talpyklą) naudotojui, atveriančiam puslapį naujame skirtuke.

    Tačiau, jei puslapio URL yra maišos, tai nebus jokio poveikio.

    Vėlgi, čia, kaip žinau, caching elgesys nėra apibrėžtas; Nustatiau jį bandydamas.

Taigi, paprastai norite naudoti:

  • location = location kad maksimaliai padidintų talpyklos naudojimą, jei puslapyje URL nėra, todėl jis neveiks
  • location.reload(true) kad gautumėte naujų visų kopijų kopijas be pakartotinio patikrinimo (nors ji nėra visuotinai palaikoma ir kai kuriose naršyklėse, pvz., „Chrome“, nesiskirs nuo.
  • location.reload() kad tiksliai atkurtumėte vartotojo, spustelėjus mygtuką Atnaujinti, poveikį.
32
14 нояб. Atsakymas, kurį pateikė Mark Amery Nov 2015-11-14 14:22 '15, 14:22, 2015-11-14 14:22

window.location.reload() iš naujo įkeliamas iš serverio ir iš naujo įkeliami visi jūsų duomenys, scenarijai, vaizdai ir tt

Taigi, jei norite tiesiog atnaujinti HTML, window.location = document.URL sugrįš daug greičiau ir mažiau srauto. Bet jis neperkels puslapio, jei URL turi hash (#).

23
13 окт. atsakymą pateikė vartotojo762330 spalio 13 d. 2013-10-13 23:32 '13, 23:32 2013-10-13 23:32

Šią užduotį galite atlikti nenaudodami jQuery window.location.reload(); . Kadangi yra daug būdų tai padaryti, bet manau, kad tai yra tinkamas būdas perkelti tą patį dokumentą naudodami javascript. Čia yra paaiškinimas

Galite naudoti window.location Javascript objektą.

  • Gaukite dabartinio puslapio adresą (URL).
  • Norėdami nukreipti naršyklę į kitą puslapį.
  • Jei norite iš naujo įkelti tą patį puslapį.

> . „Java“ scenarijaus >

vieta „Java“ scenarijaus vietos objektas turi informaciją apie dabartinį URL.

Vietos objektas yra panašus į >

Vietos objektai turi tris metodus -

  • priskirti () Naudojamas naujam dokumentui įkelti.
  • reload () Naudojamas pakartotinai įkelti dabartinį dokumentą.
  • pakeiskite () Naudojamas dabartiniam dokumentui pakeisti nauju.

Taigi, turime naudoti pakartotinį įkėlimą () , nes jis gali padėti mums perkrauti tą patį dokumentą.

Todėl naudokite jį kaip window.location.reload();

„Jsfiddle“ internetinis demonstravimas

Jei norite paprašyti savo naršyklės gauti puslapį tiesiai iš serverio, o ne iš talpyklos, galite perduoti tikrąją parametrų vietą.

16
23 дек. Nikhil Agrawal atsakė į 23 d 2013-12-23 12:31 '13, 12:31, 2013-12-23 12:31

„JQuery Load taip pat gali atnaujinti puslapį:

 $('body').load('views/file.html', function () { $(this).fadeIn(5000); }); 
15
24 июня '13 в 23:08 2013-06-24 23:08 atsakymą pateikė Suleman Mirza , birželio 24 d. 13 val. 23:08 2013-06-24 23:08

Čia pateikiamas sprendimas, kuris asinchroniškai perkelia puslapį naudodamas jQuery. Jis vengia mirksėjimo, kurį sukelia window.location = window.location . Šis pavyzdys rodo puslapį, kuris nuolat įkraunamas, kaip antai valdymo skydelyje. Jis išbandė mūšį ir dirba informaciniame ekrane „Times Square“.

 <!DOCTYPE html> <html > 

Pastabos:

  • Naudojant $.ajax tiesiogiai kaip $.get('',function(data){$(document.body).html(data)}) css / js failas nukrenta , net jei naudojate cache: true , todėl naudojame parseHTML
  • parseHTML NEGALI rasti body žyma , kad jūsų kūnas turėtų papildomą div, tikiuosi, kad ši žinių žyma padės jums vieną dieną, galite atspėti, kaip pasirinkome ID šiai daliai
  • Naudokite http-equiv="refresh" tik tuo atveju, jei su žagsulių javascript / serveriu kažkas negerai, tada STILL puslapis bus įkrautas be jūsų telefono skambučio.
  • Toks požiūris tikriausiai kažkaip palengvina atmintį, pataiso http-equiv
13
18 мая '16 в 1:30 2016-05-18 01:30 Atsakymą davė William Entriken gegužės 18 d. 16 val. 1:30 2016-05-18 01:30

Kaip bendras klausimas, pabandykime apibendrinti galimus atsakymo sprendimus:

Paprastas paprasto javascript sprendimas :

Paprasčiausias būdas yra vieno linijos sprendimas, atitinkamai išdėstytas:

 location.reload(); 

Tai, kad čia trūksta daugelio žmonių, nes jie tikisi gauti kai kuriuos „taškus“, yra ta, kad pati perkrovimo () funkcija suteikia Būlio vertę kaip parametrą (išsamesnė informacija: https://developer.mozilla.org/en-US / docs / Web / API / Vieta / perkrauti ).

Metodas „Location.reload“ ()) įkelia išteklius iš dabartinio URL. Jo pasirinktinis unikalus parametras yra loginis, kuris, tiesa, sukelia puslapį visuomet įkrauti iš serverio. Jei tai neteisinga arba nenurodyta, naršyklė gali iš naujo įkelti puslapį iš talpyklos.

Tai reiškia, kad yra du būdai:

1 sprendimas. Pakeiskite dabartinio puslapio įkrovimą iš serverio

 location.reload(true); 

2 sprendimas. Perkraukite iš talpyklos ar serverio (remiantis naršykle ir konfigūracija)

 location.reload(false); location.reload(); 

Jei norite klausytis įvykio sujungti su jQuery, rekomenduojame naudoti „.on ()“ metodą vietoj „.click“ ar kitų įvykių įvynioklių. geresnis sprendimas būtų:

 $('#reloadIt').on('eventXyZ', function() { location.reload(true); }); 
12
02 окт. atsakymas suteikiamas Fer To 02 oct. 2015-10-02 12:25 '15, 12:25 val. 2015-10-02 12:25

Radau

 window.location.href = ""; 

arba

 window.location.href = null; 

taip pat atnaujina puslapį.

Tai palengvina puslapio perkrovimą, pašalindamas bet kokį maišą. Tai labai malonu, kai aš naudoju „AngularJS“ iOS simuliatoriuje, todėl nereikia iš naujo paleisti programos.

11
15 сент. Atsakymą pateikė Mujah Maskey, rugsėjo 15 d. 2016-09-15 19:04 '16 at 19:04 2016-09-15 19:04
 <html> <head> <title>Refresh a page in jQuery</title> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> </head> <body> <button id="PageRefresh">Refresh a Page in jQuery</button> <script type="text/javascript"> $('#PageRefresh').click(function() { location.reload(); }); </script> </body> </html> 
8
02 дек. Atsakymą pateikė Jinesh, gruodžio 2 d. 2017-12-02 23:45 '17 ne 23:45 2017-12-02 23:45

Jums nereikia nieko iš „jQuery“, jei norite iš naujo įkelti puslapį naudodami gryną „javascript“ , tiesiog naudokite perkėlimo funkciją vietovės nuosavybėje taip:

 window.location.reload(); 

Pagal numatytuosius nustatymus šis puslapis bus iš naujo įkeliamas naudojant naršyklės talpyklą (jei yra) ...

Jei norite iš naujo įkelti puslapį, tiesiog perkelkite tikrąją vertę iš naujo, kaip parodyta žemiau ...

 window.location.reload(true); 

Be to, jei jau esate srityje , galite atsikratyti >

 location.reload(); 
5
27 мая '18 в 7:53 2018-05-27 07:53 Atsakymą Alireza davė gegužės 27 d. 18 d. 7:53 val. 2018-05-27 07:53

Galite naudoti „ JavaScript“ metodo location.reload() . Šis metodas yra loginis parametras. true arba false . Jei parametras yra true ; puslapis visada perkeliamas iš serverio. Jei tai false ; kuris pagal nutylėjimą arba tuščią parametrų naršyklę įkelia puslapį iš talpyklos.

Su true parametru

 <button type="button" onclick="location.reload(true);">Reload page</button> 

Su default / false

  <button type="button" onclick="location.reload();">Reload page</button> 

„Jquery“ naudojimas

 <button id="Reloadpage">Reload page</button> <script type="text/javascript"> $('#Reloadpage').click(function() { location.reload(); }); </script> 
5
05 марта '18 в 20:18 2018-03-05 20:18 atsakė „ Poorna Senani Gamage “ kovo 05-18 dienomis 20:18 2018-03-05 20:18

500 kitų būdų, kaip perkrauti puslapį naudodami javascript

 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'] 
5
ответ дан stalinrajindian 02 дек. '17 в 23:45 2017-12-02 23:45