Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name New Userscript
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://disk.yandex.ru/client/disk
- // @icon https://www.google.com/s2/favicons?domain=yandex.ru
- // @grant none
- // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
- // @require https://gist.github.com/raw/2625891/waitForKeyElements.js
- // ==/UserScript==
- waitForKeyElements (
- ".clamped-text",
- replaceWords
- );
- function replaceWords()
- {
- $('.clamped-text').each(function(i, obj) {
- if ($(obj).text() == "Документы")
- $(obj).text("Docs");
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement