-
-
Save desudesutalk/77546da4fde17a1fb9f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name SynchEmailSwitcher | |
// @namespace udp://SynchTripWars/* | |
// @version 0.0.1 | |
// @description post something useful | |
// @include *://*syn-ch.com/* | |
// @include *://*syn-ch.org/* | |
// @include *://*syn-ch.ru/* | |
// @include *://*syn-ch.com.ua/* | |
// @copyright 2015+, me | |
// @run-at document-end | |
// ==/UserScript== | |
var variants = { | |
"Суицид": '#suicide', | |
"Октошар": '#8ball', | |
"Летс Трай": '#letstry' | |
// вот сюда дописывать свои варианты. | |
}; | |
var code = '<select name="email"><option value="">ничего</option>'; | |
for(var t in variants){ | |
code += "<option value='"+variants[t]+"'>"+t+'</option>'; | |
} | |
code += '</select>'; | |
$('input[name="email"]').replaceWith(code); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment