Greasy Fork is available in English.
theme for arras.io
当前为
// ==UserScript==
// @name Arras Theme
// @version 3.3.6
// @description theme for arras.io
// @match *://arras.io/
// @match *://scenexe.io/
// @match *://sarra.io/
// @license MIT
// @namespace http://tampermonkey.net/
// ==/UserScript==
//all credit goes to arras noob
// "G key"
if(e.keyCode===71){
CanvasRenderingContext2D.prototype._stroke = CanvasRenderingContext2D.prototype._stroke || CanvasRenderingContext2D.prototype.stroke;
CanvasRenderingContext2D.prototype._fillText = CanvasRenderingContext2D.prototype._fillText || CanvasRenderingContext2D.prototype.fillText
CanvasRenderingContext2D.prototype._strokeText = CanvasRenderingContext2D.prototype._strokeText || CanvasRenderingContext2D.prototype.strokeText
CanvasRenderingContext2D.prototype.stroke = function() {
this.shadowBlur = this.lineWidth / 2;// remove this line to have no blur
this.shadowColor = this.strokeStyle; // remove this line to have no blur
//tanks in genral
this.fillStyle = "#c7370f "
this._stroke(...arguments)
this.shadowBlur = 0; // remove this line for no blur
};
CanvasRenderingContext2D.prototype.fillText = function() {
this._fillText(...arguments)
this.shadowBlur = 0;
};
//names exc...
CanvasRenderingContext2D.prototype.strokeText = function() {
this.strokeStyle = "#03fcfc"
this._strokeText(...arguments);
};
}
//q key opposite theme
if(e.keyCode===80){
CanvasRenderingContext2D.prototype._stroke = CanvasRenderingContext2D.prototype._stroke || CanvasRenderingContext2D.prototype.stroke;
CanvasRenderingContext2D.prototype._fillText = CanvasRenderingContext2D.prototype._fillText || CanvasRenderingContext2D.prototype.fillText
CanvasRenderingContext2D.prototype._strokeText = CanvasRenderingContext2D.prototype._strokeText || CanvasRenderingContext2D.prototype.strokeText
CanvasRenderingContext2D.prototype.stroke = function() {
this.shadowBlur = this.lineWidth / 2;// remove this line to have no blur
this.shadowColor = this.strokeStyle; // remove this line to have no blur
//tanks in genral
this.fillStyle = "#03fcfc "
this._stroke(...arguments)
this.shadowBlur = 0; // remove this line for no blur
};
CanvasRenderingContext2D.prototype.fillText = function() {
this._fillText(...arguments)
this.shadowBlur = 0;
};
//names exc...
CanvasRenderingContext2D.prototype.strokeText = function() {
this.strokeStyle = "#c7370f"
this._strokeText(...arguments);
};
}