diff options
Diffstat (limited to 'src/content/navigates.js')
-rw-r--r-- | src/content/navigates.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/navigates.js b/src/content/navigates.js new file mode 100644 index 0000000..28f34c5 --- /dev/null +++ b/src/content/navigates.js @@ -0,0 +1,8 @@ +const historyPrev = (win) => { + win.history.back(); +}; +const historyNext = (win) => { + win.history.forward(); +}; + +export { historyPrev, historyNext }; |