User:PetraMagna/HotCat.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
PetraMagna (talk | contribs) previous one doesn't work; insanely ugly solution that fixes it; whatever |
PetraMagna (talk | contribs) press shift + enter to save |
||
Line 1,568: | Line 1,568: | ||
setTimeout(function() { |
setTimeout(function() { |
||
const save_button = document.querySelector("#mw-normal-catlinks input[value='Save']"); |
const save_button = document.querySelector("#mw-normal-catlinks input[value='Save']"); |
||
if (evt.shiftKey && save_button) { |
|||
save_button.click(); |
|||
return; |
|||
} |
|||
if (save_button) { |
if (save_button) { |
||
// automatically click the add button |
// automatically click the add button |