|
Any price you want
Last post 04-23-2008 8:09 AM by ZippoLag. 165 replies.
-
04-16-2008 8:22 AM
|
|
-
jjeff1


- Joined on 06-06-2006
- Posts 7
|
I was showing a friend the shore excursions for a cruise I'm taking. I cut and pasted a URL to a particular event, it looks like this: http://www.carnival.com/ShoreExcursionDetails.aspx?portcode=NAS&excursionname=Ardastra+Gardens+%26+City+Tour&excursioncode=424001&price=46.00 Check out the last variable in the URL. Yes, it really works. Go ahead and change the tour price to $2 or $84234 or whatever you'd like. Now, I think I understand why they did this. You only see the page with the numeric price if you're booked on a cruise and signed in to the site. You can "buy now", which shows the correct price, no matter how you've messed with that URL. If you're just browsing their site, not booked, then the pages just display a number of $ marks, depending on how costly the excursion is. I'd guess this lets them use the same code for the booked passengers as for people just browsing the site. Too bad, I was really looking forward to playing 18 holes for $4.
|
|
-
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
Daid:And the forum breaks too :X
Haven't we already established that this forum sucks donkey nuts?
|
|
-
rc_pinchey


- Joined on 08-15-2007
- Posts 202
|
Daid:I wonder, could you forge a whole post below your own... Best. Plan. Ever.
|
|
-
rbowes


- Joined on 02-09-2007
- Winnipeg, MB
- Posts 412
|
bstorer: Daid:And the forum breaks too :X
Haven't we already established that this forum sucks donkey nuts?
Yes, including the ability to write fake posts. But it never gets boring!
After reading the rest of the thread... yes, yes you can forge posts. Me and somebody else used to do it, though I forget the thread now. :)
|
|
-
Daid


- Joined on 01-30-2007
- Posts 348
|
Mmm... how about:
Edit: Nope, script tags get destroyed...
|
|
-
Quietust


- Joined on 06-15-2007
- Posts 96
|
Daid:I wonder, could you forge a whole post below your own...
It would appear that it can be done - meet Signature Guy!
P.S. If you don't get this note, let me know and I'll write you another.
|
|
Signature Guy


- In A.D. 2101
- War Was Beginning
- Posts -1
|
Some of the styles are a bit tricky to get right, though, but at first glance it can be quite convincing.
P.S. If you don't get this note, let me know and I'll write you another. | | |
- Signature Guy
  - Joined on Thu, Jan 1 1970
- Forum Signature
- Posts ∞
| Re: Whatever This Thread Is NamedI agree with whatever Quietust just posted above.
|
|
-
merreborn


- Joined on 12-30-2005
- Posts 611
|
Quietust:meet Signature Guy!
Nicely done! Even screws up the reply page.
|
|
-
rc_pinchey


- Joined on 08-15-2007
- Posts 202
|
Quietust:meet Signature Guy! Nice work! Plz to email me teh codez, and so forth.
|
|
-
medialint


- Joined on 12-17-2007
- San Francisco
- Posts 359
|
I couldn't book my tour for $0.01 because I denied a cookie (it was oatmeal, I hate oatmeal) so they assumed I didn't have javascript enabled.
There are three kinds of people: those who make things happen, those who watch things happen and those who wonder what happened.
|
|
Signature Guy


- In A.D. 2101
- War Was Beginning
- Posts -2
|
There's not enough room in the tag entry box for more than about half the markup you need, and I don't feel like synthesizing a HTML POST at the moment. The Real WTFTM comes if you do "view source" on a thread: it looks like every tag ever entered has found its way into the page source, so that this page is approaching a quarter-megabyte in size.
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
morbiuswilters:Holy god... Do you realize community server outputs all the tags in a hidden input field on every page? It's something like 7000 tags right now...
Then it's our destiny to bring this thing to its knees.
|
|
-
morbiuswilters


- Joined on 01-15-2008
- East Coast Represent!
- Posts 4,990
|
bstorer:Then it's our destiny to bring this thing to its knees.
A few weeks ago I was trying to debug the tag autocomplete so I could submit a bug fix to the CS devs, or at least point them in the right direction. However, I couldn't get any of the AJAX requests for the tags to show up. I figured I was just too tired and gave up pretty quickly, but it was becuase there are no AJAX requests. TDWTF uses the worst forum software in this history of forums.
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
morbiuswilters:Hmm... it seems there's a limit to how many tags you can put in. I tried about 500k worth but it caused the server to barf :-(
Every bit counts.
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
morbiuswilters:Hmm... it seems there's a limit to how many tags you can put in. I tried about 500k worth but it caused the server to barf :-(
Craps out at 24k, too. Still, every little bit counts.
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
morbiuswilters:Hmm... it seems there's a limit to how many tags you can put in. I tried about 500k worth but it caused the server to barf :-(
Craps out at 4k, too. Still, every little bit counts.
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
morbiuswilters:Hmm... it seems there's a limit to how many tags you can put in. I tried about 500k worth but it caused the server to barf :-(
Craps out at 4k, too. Still, every little bit counts.
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
bstorer:Repeated posts
Hmmm, it craps out, but still posts it, just without tags... interesting.
|
|
-
morbiuswilters


- Joined on 01-15-2008
- East Coast Represent!
- Posts 4,990
|
bstorer:Hmmm, it craps out, but still posts it, just without tags... interesting.
Below is a GM script that auto-populates the tags box with a TaxException with a random address. Every post will create a new tag without any work from you. I'm already noticing a bit of slowdown, too. var elm = document.getElementById("ctl00_ctl00_bcr_bcr_PostForm_ctl04_TagsSubForm_ctl00_Tags");
if (elm) {
elm.value = "TagException in 0x" + rand_addr() + ", ";
}
function rand_addr() {
var a = "";
for (var i = 0; i < 8; i++) {
a += Math.floor(Math.random() * 16).toString(16);
}
return a;
}
|
|
-
joemck


- Joined on 08-24-2007
- Posts 161
|
morbiuswilters:Holy god... Do you realize community server outputs all the tags in a hidden input field on every page? It's something like 7000 tags right now...
There's about 150 KB of tags (154039 bytes to be exact) right now. ... (looks a bit closer) WTF?!?!?! It's a list containing TWO COPIES of every tag, one simply escaped, and one with special characters converted into HTML entities and then escaped. Then each copy of each tag is separated from its neighbors with "&"
Thus, if we want to generate space-consuming tags, we should use the symbol · heavily, since it is miniscule on-screen and SHOULD expand to %b7 in one tag copy, and · in the other. Testing this theory right now...
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
morbiuswilters:Below is a GM script that auto-populates the tags box with a TaxException with a random address. Every post will create a new tag without any work from you. I'm already noticing a bit of slowdown, too.
Fun! I'm tempted to use GM_set_value to keep track of the last one used and increment it every time. Just to make sure I never overlap...
|
|
-
morbiuswilters


- Joined on 01-15-2008
- East Coast Represent!
- Posts 4,990
|
bstorer:Fun! I'm tempted to use GM_set_value to keep track of the last one used and increment it every time. Just to make sure I never overlap...
LOL, I wonder how long until CS starts to collapse.. What I meant to say was: "Testing the scalability of this particular forum software is critical to furthering my understanding of successful software engineering and should not be seen as a bannable offense by moderators who were once young and curious themselves!"
|
|
-
bstorer


- Joined on 02-01-2007
- Alexandria, VA
- Posts 3,402
|
morbiuswilters: What I meant to say was: "Testing the scalability of this particular forum software is critical to furthering my understanding of successful software engineering and should not be seen as a bannable offense by moderators who were once young and curious themselves!"
It's cool. Just a couple days ago Alex stole a bunch of SSNs from some criminals in Oklahoma.
|
|
-
MasterPlanSoftware


- Joined on 11-10-2006
- Posts 108
|
bstorer:It's cool. Just a couple days ago Alex stole a bunch of SSNs from some criminals in Oklahoma. Yeah I don't know about the rest of you, but if I 'stumbled' across that data, I would have had a little fun with that. Hmmm SSN's? How about we buy a house right next to a school and across from a church for Mr. Pedophile?
|
|
-
morbiuswilters


- Joined on 01-15-2008
- East Coast Represent!
- Posts 4,990
|
bstorer:It's cool. Just a couple days ago Alex stole a bunch of SSNs from some criminals in Oklahoma.
True. I would have been tempted to sign them up for all sorts of junk mail if I were in his position. You know, stuff like catalogs from stores that sell children's clothing, toys, candy, etc..
|
|
-
morbiuswilters


- Joined on 01-15-2008
- East Coast Represent!
- Posts 4,990
|
MasterPlanSoftware:Yeah I don't know about the rest of you, but if I 'stumbled' across that data, I would have had a little fun with that. Hmmm SSN's? How about we buy a house right next to a school and across from a church for Mr. Pedophile?
I defer to your superior skills.
|
|
-
ZippoLag


- Joined on 03-18-2008
- Argentina
- Posts 109
|
so.. how much would that bother?
"up and down, back and forth, faster, faster.."
|
|
-
joemck


- Joined on 08-24-2007
- Posts 161
|
morbiuswilters:Holy god... Do you realize community server outputs all the tags in a hidden input field on every page? It's something like 7000 tags right now...
No, it's more like 3500 tags, but for some reason there's 2 copies of each one. It takes up over 150 KB, and the list elements are &-delimited. The first copy of an element has odd characters escaped, and the second copy has them expanded to HTML entities and then escaped. Example: The tag " (one double-quote char) would result in %22&%26quot;%3b appearing in the tag list.
So if we want to overload the system, we should use characters like · which expands to %b7 and ·. Testing this out here...
Tried a batch of 1-100 middots, that craps out with this:

 Trying less of them...
|
|
-
joemck


- Joined on 08-24-2007
- Posts 161
|
Did it... Middot tags FTW! Hmm, it maxes out at 42 middots...
|
|
-
ender


- Joined on 04-27-2006
- Posts 491
|
Let's see what happens when you overload middot with every possible combining diactrical mark like this: ·̴̵̶̷̸̡̢̧̨̛̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̳̹̺̻̼̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̽̾̿̀́͂̓̈́̕̚͠͡ͅ
Because 10 billion years' time is so fragile, so ephemeral... it arouses such a bittersweet, almost heartbreaking fondness.
|
|
-
AbbydonKrafts


- Joined on 11-21-2006
- Carrollton, GA, USA
- Posts 1,022
|
morbiuswilters:Holy god... Do you realize community server outputs all the tags in a hidden input field on every page?
That is enough to make the slow-as-fuck autocomplete piss me off more. I was just blaming it on what I thought was some retarded AJAX+backend latency, but if it's all client-side, there's absolutely no excuse for the lag.
morbiuswilters:Below is a GM script that auto-populates the tags box with a TaxException with a random address.
Sweet! It uses the TagException I've been throwing for a while now. I'm gonna have to take that script and re-work it to include my standard tag (as well as make it compatible with Opera).
Join us at #TDWTF on irc.slashnet.org !
|
|
-
AbbydonKrafts


- Joined on 11-21-2006
- Carrollton, GA, USA
- Posts 1,022
|
morbiuswilters:Below is a GM script that auto-populates the tags box with a TaxException with a random address.
Here's my Opera user script:
// --------------------------------------------------------------------------------------------------------------
// TheDailyWTF.com : Generates a random "TagException" tag for new forum posts
// --------------------------------------------------------------------------------------------------------------
function rand_addr()
{
var a = "";
for (var i = 0; i < 8; i++)
{
a += Math.floor(Math.random() * 16).toString(16);
}
return a;
}
function generateTags()
{
var elm = document.getElementById("ctl00_ctl00_bcr_bcr_PostForm_ctl04_TagsSubForm_ctl00_Tags");
if (elm)
{
elm.value = "throw new TagException(), TagException in 0x" + rand_addr();
}
}
// --------------------------------------------------------------------------------------------------------------
// ONLY TRIGGER ON THE ADDPOST PAGE
// --------------------------------------------------------------------------------------------------------------
if (location.href.indexOf('forums.thedailywtf.com/forums/AddPost.aspx') != -1)
{
document.addEventListener(
'load',
function (e)
{
if( !document.body ) { return; }
generateTags();
},
false
);
}
Join us at #TDWTF on irc.slashnet.org !
|
|
-
morbiuswilters


- Joined on 01-15-2008
- East Coast Represent!
- Posts 4,990
|
AbbydonKrafts:Here's my Opera user script:
Bless you, sir, for spreading the tag virus!
|
|
-
ender


- Joined on 04-27-2006
- Posts 491
|
AbbydonKrafts:Here's my Opera user script:
Thank you, I modified the script slightly to also include ·̴̵̶̷̸̡̢̧̨̛̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̳̹̺̻̼̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̽̾̿̀́͂̓̈́̕̚͠͡ͅ.
Because 10 billion years' time is so fragile, so ephemeral... it arouses such a bittersweet, almost heartbreaking fondness.
|
|
-
joemck


- Joined on 08-24-2007
- Posts 161
|
Interesting... AllTags (now 175 KB) is only served up when you're logged in.
morbiuswilters: I haven't looked into it very extensively at all, but it might just be from people making new tags between your pageviews. So far, I've only seen AlllTags get longer, though it'd me nice to do a diff.
For examining AllTags, I copy-paste the whole mess into GVIM, :s/&/\r/g at prompt 1 and Jam It! That Vim command just replaces all "&" with a line break, separating tags into one per line so diff (or is the correct term "Diffler Search"?) can do something meaningful with it.
|
|
-
AbbydonKrafts


- Joined on 11-21-2006
- Carrollton, GA, USA
- Posts 1,022
|
morbiuswilters:Amended code:
And here's my complete Opera script. I modified the DIV positioning to put it in the navigation bar to the right of "Forums". I also added a "break;" in after the DIV is generated. It was continuing through and generating a script error on the "if (all_tags[i].id.indexOf.." line due to a null object.
// --------------------------------------------------------------------------------------------------------------
// TheDailyWTF.com : Generates a random "TagException" tag for new forum posts
// --------------------------------------------------------------------------------------------------------------
function rand_addr()
{
var a = "";
for (var i = 0; i < 8; i++)
{
a += Math.floor(Math.random() * 16).toString(16);
}
return a;
}
function generateTags()
{
var elm = document.getElementById("ctl00_ctl00_bcr_bcr_PostForm_ctl04_TagsSubForm_ctl00_Tags");
if (elm)
{
elm.value = "throw new TagException(), TagException in 0x" + rand_addr();
}
}
function countTagExceptions()
{
var all_tags = document.getElementsByTagName("input");
var tagex_count = 0;
var tagex_bytes = 0;
var curr_idx = 0;
var end_idx = 0;
for (var i = 0; i < all_tags.length; i++)
{
if (all_tags[i].id.indexOf("AllTags") != -1)
{
all_tags = all_tags[i].value;
while (curr_idx != -1)
{
curr_idx = all_tags.indexOf("TagException+in+0x", curr_idx);
if (curr_idx != -1)
{
end_idx = all_tags.indexOf("&", curr_idx);
tagex_count++;
tagex_bytes += (end_idx - curr_idx);
curr_idx++;
}
}
var report_elm = document.createElement("div");
document.body.appendChild(report_elm);
report_elm.innerHTML = "TagExceptions: " + tagex_count +
", Bytes: " + tagex_bytes +
", All Tags Bytes: " + all_tags.length;
report_elm.style.position = "absolute";
report_elm.style.top = "127px";
report_elm.style.left = "300px";
// report_elm.style.background = "#ECECEC";
// report_elm.style.border = "1px solid #000000";
report_elm.style.padding = "6px";
report_elm.style.fontWeight = "bold";
break;
}
}
}
// --------------------------------------------------------------------------------------------------------------
// ONLY TRIGGER ON FORUM PAGES
// --------------------------------------------------------------------------------------------------------------
if (location.href.indexOf('forums.thedailywtf.com/forums/') != -1)
{
document.addEventListener(
'load',
function (e)
{
if( !document.body ) { return; }
countTagExceptions();
generateTags();
},
false
);
}
Join us at #TDWTF on irc.slashnet.org !
|
|
-
AbbydonKrafts


- Joined on 11-21-2006
- Carrollton, GA, USA
- Posts 1,022
|
AbbydonKrafts:And here's my complete Opera script.
Minor change to prevent overwriting existing tags when editing an entry:
function generateTags()
{
var elm = document.getElementById("ctl00_ctl00_bcr_bcr_PostForm_ctl04_TagsSubForm_ctl00_Tags");
if (elm)
{
if (elm.value.length == 0)
{
elm.value = "throw new TagException(), TagException in 0x" + rand_addr();
}
}
}
Join us at #TDWTF on irc.slashnet.org !
|
|
-
lolwtf


- Joined on 04-02-2008
- (null)
- Posts 303
|
That's hilarious. I wonder if style tags work?*:hover{border: 1px #F00 dotted;}
(null)
|
|
-
rc_pinchey


- Joined on 08-15-2007
- Posts 202
|
Carnildo:
It's pretty simple: duplicate the HTML that produces a post, then re-order it so you've got the last half of one post, followed by the first half of the next post. Like this?
|
|
|