Open main menu
Home
Random
Log in
Settings
About The Coppermind
The Coppermind
Search
Difference between revisions of "User:Fbstj/gadget/history-test.js"
← Older edit
Newer edit →
User:Fbstj/gadget/history-test.js
(view source)
Revision as of 08:33, 13 April 2019
16 bytes added
,
5 years ago
m
try that
Revision as of 08:32, 13 April 2019
(
view source
)
Fbstj
(
talk
|
contribs
)
m
(++)
← Older edit
Revision as of 08:33, 13 April 2019
(
view source
)
Fbstj
(
talk
|
contribs
)
m
(try that)
Newer edit →
btn.addEventListener('click', function() {
// clicked
old.dispatchEvent(new Event('click'))
mw.notify('clicked!')
})
// hide old button and show new one
Fbstj
Synod
,
Interface administrators
,
Keepers
40,275
edits