File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -851,16 +851,16 @@ export function run() {
851851 /**
852852 * Initializes the image at the reference point.
853853 */
854- function init ( ) {
855- let url = chrome . runtime . getURL ( "../img/cursor.png" ) ;
856- let style = img . style ;
857- style . background = "url(" + url + ") no-repeat" ;
858- style . position = "fixed" ;
859- style . zIndex = "1000" ;
860- style . width = "20px" ;
861- style . height = "20px" ;
862- new Image ( ) . src = url ; // force download
863- }
854+ // function init() {
855+ // let url = chrome.runtime.getURL("../img/cursor.png");
856+ // let style = img.style;
857+ // style.background = "url(" + url + ") no-repeat";
858+ // style.position = "fixed";
859+ // style.zIndex = "1000";
860+ // style.width = "20px";
861+ // style.height = "20px";
862+ // new Image().src = url; // force download
863+ // }
864864 /**
865865 * Removes event listeners and other traces left on the page.
866866 */
@@ -971,7 +971,7 @@ export function run() {
971971 } ;
972972 } ) ( ) ;
973973 addEvent ( "mousedown" , mousedown ) ;
974- addEvent ( "DOMContentLoaded" , init ) ;
974+ // addEvent("DOMContentLoaded", init);
975975
976976 return cleanup ;
977977 } ) ( window ) ;
You can’t perform that action at this time.
0 commit comments