Premium Script
Premium Script
/* global ajaxHooker */
(function() {
'use strict';
ajaxHooker.hook(request=>{
if (request.url.endsWith('get-account-details')) {
request.response = res => {
const json = JSON.parse(re.responseText);
const data = "data" in json ? json.data : json;
data.profile.accepted_premium_modes_tnc = true;
data.profile.premium = true;
res.responseText = JSON.stringify("data" in json ? (json.data = data, json) :
data);
};
}
});
})();