Moderator: Community Team
FabledIntegral wrote:I do not have any skills whatsoever in programming.
yeti_c wrote:The script is an "after the event" add-on... to make it disableable from the site - would be very easily overridable for anyone with even a minor skill in programming.
C.
yeti_c wrote:I disagree - all it would be would be some renaming of variables gleaned from the main pages - (Not that Lack would like to do that either as he'd have to rewrite half of his JS files to do it too)...
Especially as he'd planned on adding this to the site anyway.
C.
yeti_c wrote:Also - if you did have a "disabled" version of CM - then you might create a black market for someone to code round it...
Thus giving some players an advantage over others - which is less fair than the current situation.
C.
chipv wrote:yeti_c wrote:I disagree - all it would be would be some renaming of variables gleaned from the main pages - (Not that Lack would like to do that either as he'd have to rewrite half of his JS files to do it too)...
Especially as he'd planned on adding this to the site anyway.
C.
That's not the only way to cripple CM.
yeti_c wrote:chipv wrote:yeti_c wrote:I disagree - all it would be would be some renaming of variables gleaned from the main pages - (Not that Lack would like to do that either as he'd have to rewrite half of his JS files to do it too)...
Especially as he'd planned on adding this to the site anyway.
C.
That's not the only way to cripple CM.
Of course - but anything that you could come up with - could be coded around.
C.
chipv wrote:No it couldn't. Javascript does not have the same access that PHP does.
If the PHP does not provide enough information in the delivered web page, there is nothing the JS can do about it.
yeti_c wrote:chipv wrote:No it couldn't. Javascript does not have the same access that PHP does.
If the PHP does not provide enough information in the delivered web page, there is nothing the JS can do about it.
Yeah but - the site doesn't run on PHP alone - there is a fair bit of Javascript there - that would probably leave the access open for CM to use... rewriting the pages so that JS isn't would be a lot of work...
Also - GM has further reaching powers than standard JS.
As Cicero says - I'd rather Lack spent the time implementing CM into the site proper... instead of wasting time trying to guard against it.
C.
yeti_c wrote:CM could work around that... all it needs - is the XML (for co-ords) and it can get the list of your territories from the drop downs...
It wouldn't have as much info as before - but could still a workable script.
C.
yeti_c wrote:I'll restate incase you missed it...yeti_c wrote:CM could work around that... all it needs - is the XML (for co-ords) and it can get the list of your territories from the drop downs...
It wouldn't have as much info as before - but could still a workable script.
C.
C.
chipv wrote:yeti_c wrote:I'll restate incase you missed it...yeti_c wrote:CM could work around that... all it needs - is the XML (for co-ords) and it can get the list of your territories from the drop downs...
It wouldn't have as much info as before - but could still a workable script.
C.
C.
CM uses unsafe window. I'm hoping I don't need to say more about that without giving it all away.
You're still missing the point - it is not trivial for a person with minor programming skills to get around this.
That is all I actually wanted to point out without giving away methods to both disable it and get around it.
yeti_c wrote:chipv wrote:yeti_c wrote:I'll restate incase you missed it...yeti_c wrote:CM could work around that... all it needs - is the XML (for co-ords) and it can get the list of your territories from the drop downs...
It wouldn't have as much info as before - but could still a workable script.
C.
C.
CM uses unsafe window. I'm hoping I don't need to say more about that without giving it all away.
You're still missing the point - it is not trivial for a person with minor programming skills to get around this.
That is all I actually wanted to point out without giving away methods to both disable it and get around it.
Yes I agree disabling CM - in the realm of removing the JS via PHP - would definitely make it a lot harder to recode...
In the above example of how to code round it - you wouldn't need unsafeWindow though?
(As already also stated - removing all the JS would disable BOB too - although perhaps that is also what is wanted?)
So - to disable it in a way that is to allow BOB to remain - would be very simple to code around...
However - to disable both scripts - then only CM could code around.
C.
chipv wrote:Not all of the JS needs to be removed ... (enough details??)
chipv wrote:Combine all methods to disable CM and then look at the combined effort to get it working - trivial or non-trivial?
I have a feeling you will say trivial, and then I will disagree again, the circle continues but ultimately doesn't matter.
What's trivial to you may not be trivial to the average programmer, take it as a compliment.
What I think we do agree on is the amount of effort required to try and make CM disabled whether integrated on site or not.
That's it , really, didn't want to bleed information all over the thread.
yeti_c wrote:chipv wrote:Not all of the JS needs to be removed ... (enough details??)
Any of the JS needed to be removed would also invalidate BOB.
chipv wrote:yeti_c wrote:chipv wrote:Not all of the JS needs to be removed ... (enough details??)
Any of the JS needed to be removed would also invalidate BOB.
Does BOB use submitButton, quantity, updating? I don't see it my version. CM uses them.
Return to Archived Suggestions
Users browsing this forum: No registered users