NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Coherence
// @namespace kalpsdj
// @author Shjaisw
// @license MIT
// @version 1.3
// @updateURL https://openuserjs.org/meta/kalpdev.1/Coherence.meta.js
// @downloadURL https://openuserjs.org/install/kalpdev.1/Coherence.user.js
// @match https://argus.aka.amazon.com/*
//@require https://cdn.jsdelivr.net/npm/sweetalert2@10
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @grant GM_setValue
// @grant GM_getValue
// ==/UserScript==
var toastMixin = Swal.mixin({
toast: true,
icon: 'Info',
background: '#e0f2f1',
title: 'General Title',
animation: true,
position: 'top-left',
showConfirmButton: false,
timer: 2000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
toast.addEventListener('mouseleave', Swal.resumeTimer)
}
});
var buttonz = document.createElement("Buttonz");
buttonz.innerHTML = " ";
var Buttonz = document.getElementById("submitAndNextButton"),
count = 0;
// donot try to call normal sentry authentication
buttonz.onclick = function () {
toastMixin.fire("Avoid Back button to save TPH");
};
buttonz.style = "top:0;right:60;position: relative;color: #0093ff;border: #FF5722;overflow: overlay;background: floralwhite;padding: 4px;font-weight: bold;font-size:large position:fixed; width:55px; height:100px; bottom:40px; top:4%; left:8px; background-color:rgb(0 121 107 / 4%); color:#FFF; padding:0;margin:0;border-radius:20px;position:absolute;z-index:10000; text-align:center;margin-top:40px; box-shadow: 0px 0px 0px #999; ;"
document.body.appendChild(buttonz);