Click here to Skip to main content
15,920,513 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
RantWhat have I gotten myself into now? Pin
kmoorevs22-May-24 10:43
kmoorevs22-May-24 10:43 
JokeRe: What have I gotten myself into now? Pin
dandy7222-May-24 10:55
dandy7222-May-24 10:55 
GeneralRe: What have I gotten myself into now? Pin
kmoorevs22-May-24 11:49
kmoorevs22-May-24 11:49 
GeneralRe: What have I gotten myself into now? Pin
Jeremy Falcon22-May-24 15:45
professionalJeremy Falcon22-May-24 15:45 
GeneralRe: What have I gotten myself into now? Pin
charlieg23-May-24 4:21
charlieg23-May-24 4:21 
GeneralRe: What have I gotten myself into now? Pin
enhzflep25-May-24 13:02
enhzflep25-May-24 13:02 
GeneralRe: What have I gotten myself into now? Pin
kmoorevs23-May-24 5:19
kmoorevs23-May-24 5:19 
GeneralRe: What have I gotten myself into now? Pin
Jeremy Falcon23-May-24 8:59
professionalJeremy Falcon23-May-24 8:59 
kmoorevs wrote:
Anyway, within a few hours the mystery error went away...and I've just seen an email from the site owner with a new list of problems. Mad | :mad:
Give him a bill rate man. As long as you work for free, those requests will never stop.
kmoorevs wrote:
There's really not too much here to search on, but maybe you can understand/decipher that east/west stuff.
The dev that wrote this is a rookie. He/she obfuscated poorly and in doing so made the script larger. Guessing they tried to hide an account ID that never should've been on the client to begin with. Who knows.

Here's the unobfuscated version with the IIFE removed for clarity and cleaned up. There's no east variable.
JavaScript
var west = 12038859;

var x = function(callback) {
  if (window.addEventListener)
    document.addEventListener("DOMContentLoaded", callback, false);
  else
    document.attachEvent("onreadystatechange", callback);
};

x(function() {
  document.getElementById('wsidchk').value = west + east;
  document.getElementById('wsidchk-form').submit();
});
Jeremy Falcon


modified 23-May-24 17:24pm.

QuestionChatGPT makes me *less* confident about things I know little about Pin
dandy7222-May-24 10:34
dandy7222-May-24 10:34 
AnswerRe: ChatGPT makes me *less* confident about things I know little about Pin
Mircea Neacsu22-May-24 11:56
Mircea Neacsu22-May-24 11:56 
GeneralRe: ChatGPT makes me *less* confident about things I know little about Pin
dandy7223-May-24 4:08
dandy7223-May-24 4:08 
AnswerRe: ChatGPT makes me *less* confident about things I know little about Pin
11917640 Member 22-May-24 18:38
11917640 Member 22-May-24 18:38 
AnswerRe: ChatGPT makes me *less* confident about things I know little about Pin
steve at p2cl24-May-24 3:13
steve at p2cl24-May-24 3:13 
AnswerRe: ChatGPT makes me *less* confident about things I know little about Pin
Bruce Patin24-May-24 3:55
Bruce Patin24-May-24 3:55 
GeneralWhen technology doesn't get it right... PinPopular
charlieg22-May-24 8:00
charlieg22-May-24 8:00 
GeneralRe: When technology doesn't get it right... Pin
Chris Maunder22-May-24 8:06
cofounderChris Maunder22-May-24 8:06 
GeneralRe: When technology doesn't get it right... PinPopular
Rick York22-May-24 13:26
mveRick York22-May-24 13:26 
GeneralRe: When technology doesn't get it right... Pin
Jeremy Falcon22-May-24 9:32
professionalJeremy Falcon22-May-24 9:32 
GeneralRe: When technology doesn't get it right... Pin
charlieg22-May-24 9:36
charlieg22-May-24 9:36 
GeneralRe: When technology doesn't get it right... Pin
jmaida22-May-24 15:14
jmaida22-May-24 15:14 
GeneralRe: When technology doesn't get it right... Pin
Steve Naidamast23-May-24 8:42
professionalSteve Naidamast23-May-24 8:42 
GeneralRe: When technology doesn't get it right... Pin
Jeremy Falcon23-May-24 9:28
professionalJeremy Falcon23-May-24 9:28 
GeneralRe: When technology doesn't get it right... Pin
Steve Naidamast23-May-24 9:39
professionalSteve Naidamast23-May-24 9:39 
GeneralRe: When technology doesn't get it right... Pin
Richard Andrew x6423-May-24 11:28
professionalRichard Andrew x6423-May-24 11:28 
GeneralRe: When technology doesn't get it right... Pin
Steve Naidamast23-May-24 11:45
professionalSteve Naidamast23-May-24 11:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.