User:Sur/common.js: Difference between revisions
< User:Sur
Created page with "// Wait for the document to be ready mw.hook('wikipage.content').add(function ($content) { // Check if the input box exists on the page if (document.getElementById('userInputBox')) { // Function to update the variable function updateVariable() { var inputValue = document.getElementById('userInputBox').value; // Make an API call to update the page variable new mw.Api().postWithToken('csrf', {..." |
m Blanked the page Tags: Blanking Manual revert |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||