Dissonant web chat, for every page on the internet
Tính đến
// ==UserScript==
// @name Dissonant
// @description Dissonant web chat, for every page on the internet
// @namespace Fusir Projects
// @match *://*/*
// @exclude *://js.lifelist.pw/*
// @exclude *://*/*.jpg
// @exclude *://*/*.png
// @exclude *://*/*.gif
// @exclude *://*/*.jpeg
// @noframes
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @grant none
// @version 0.0.1.20190313025826
// ==/UserScript==
function expanddiv() {
var div = $('<div>');
}
function expandinsertdiv() {
//Finds the best place to add the chat expand button
}
function pageidentifier() {
return location.host.replace('www.','')+location.pathname;
}
function openchat () {
$('body').first().after($('<iframe>').attr('src','https://js.lifelist.pw/app/wchat/dissonant/'+pageidentifier()).css('width','98vw').css('height','50vh'));
}
openchat();