Editor per crm

un Editor per crm

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        Editor per crm
// @description un Editor per crm
// @author Maxeo | maxeo.net
// @include     http://crm.maxsystem.it/preventivi_e_chiusure/stampa/*
// @version     1.1.2
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js
// @require https://greasyfork.org/scripts/26454-jquery-cookie/code/jQuery%20Cookie.user.js
// @icon        https://www.maxeo.net/imgs/icon/android-chrome-192x192.png
// @grant       none
// @namespace https://greasyfork.org/users/88678
// ==/UserScript==

$(document).ready(function(){
  $('body').append('<img id="editorButtonMTX" src="http://svgur.com/i/1xn.svg" style="height: 60px;position: fixed;top:20px;right: 20px; cursor: pointer;"><style media="print">#editorButtonMTX{display:none;}</style>')
//    $('body').append('<style>#editorButtonMTX{display:none;}</style>')
  
  $('#editorButtonMTX').click(function(){
    $(this).remove()
    $('body').attr('contenteditable','true')
  })
})
//