forked from Danny-Engelman/CalcMaster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTampermonkey
22 lines (19 loc) · 821 Bytes
/
Tampermonkey
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// ==UserScript==
// @name CalcMaster
// @author Danny Engelman
// @namespace http://ViewMaster365.com/
// @version 0.1
// @description Patch SP EditColumn area, bigger size, strings on new line
// @match https://*/*FldEdit.aspx*
// @copyright 2012+, You
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant GM_addStyle
// ==/UserScript==
waitForKeyElements ( '#onetidIODefTextValue1' , function(){
//attach bookmarklet code to page and trigger execute
var VM365_CalcMasterDirectory='[YOUR PATH HERE]';
var jsCode = document.createElement('script');
jsCode.setAttribute('src', VM365_CalcMasterDirectory + 'VM365_CalcMaster.js' );
document.body.appendChild(jsCode);
} );