RememberKosovo

Make any stubborn form remember entries. Autocomplete, autofill, pre-fill, remember passwords and usernames and other form entries.

  1. // ==UserScript==
  2. // @name RememberKosovo
  3. // @namespace Agrons
  4. // @description Make any stubborn form remember entries. Autocomplete, autofill, pre-fill, remember passwords and usernames and other form entries.
  5. // This script is called RememberKosovo. Have you noticed that sometimes
  6. // your browser does not ask you if you want the form entries to be
  7. // remembered? This simple script turns on the remembering feature on all
  8. // websites.
  9. // @date 2014-03-04
  10. // @version 0.22
  11. // @author Agron Selimaj (as9902613@gmail.com) & flossk.org
  12. // @include https://*
  13. // @include http://*
  14. // ==/UserScript==
  15.  
  16. // This script is called RememberKosovo. Have you noticed that sometimes
  17. // your browser does not ask you if you want the form entries to be
  18. // remembered? This simple script turns on the remembering feature on all
  19. // websites.
  20. //
  21. // Copyright (C) 2011-2014 Agron Selimaj & flossk.org
  22. //
  23. // This program is free software: you can redistribute it and/or modify
  24. // it under the terms of the GNU General Public License as published by
  25. // the Free Software Foundation, either version 3 of the License, or
  26. // (at your option) any later version.
  27. //
  28. // This program is distributed in the hope that it will be useful,
  29. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  30. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  31. // GNU General Public License for more details.
  32. //
  33. // You should have received a copy of the GNU General Public License
  34. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  35.  
  36. setTimeout(function(){setAutoCompleteOn()},1000);
  37.  
  38. function setAutoCompleteOn()
  39. {
  40. document.title = document.title + " //";
  41. for(var i=0;i<document.forms.length;i++)
  42. {
  43. document.forms[i].autocomplete = 'on';
  44. formparts = document.forms[i].elements;
  45. for(j=0; j<formparts.length; ++j)
  46. {
  47. part = formparts[j];
  48. part.attributes["autocomplete"].value = "on";
  49. }
  50. }
  51. }
  52.  
  53.  
  54.  
  55. function setAutoCompleteOff()
  56. {
  57. }
  58.