Library: Additional <window> History-Stack Events (pushstate, replacestate)

To complement the <window> 'popstate' event, this library adds the 'pushstate'/'replacestate' events to <window>. Also adds corresponding 'onpushstate'/'onreplacestate' event handlers.

14.06.2022 itibariyledir. En son verisyonu görün.

Bu script direkt olarak kurulamaz. Başka scriptler için bir kütüphanedir ve meta yönergeleri içerir // @require https://update.greasyfork.org/scripts/425774/1060686/Library%3A%20Additional%20%3Cwindow%3E%20History-Stack%20Events%20%28pushstate%2C%20replacestate%29.js

Yazar
sidneys
Versiyon
0.1.0
Oluşturulma
01.05.2021
Güncellenme
14.06.2022
Size
2,19 KB
Lisans
N/A

Library

DOM Window History Stack Events (pushstate/replacestate)

  • Complement the 'popstate' event
  • Emits a pushstate event from window by Monkey-Patching History#pushState
  • Calls corresponding window#onpushstate event handler
  • Emits a replacestate event from window by Monkey-Patching HistoryreplaceState
  • Calls corresponding window#onreplacestate event handler