Thread: this is the only time ajax ........es me off?

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    71

    this is the only time ajax ........es me off?

    I just browsing youtube video playlists when I suddenly realize they are using ajax feature.The problem for me is now I can't jump through the playlist by manipulating the url.
    The stupid pagination only have this format -> 1 2 3 4 5 next
    I am wondering if you encounter the same problem and if there's any way around it?

    This user got > 1600 videos ,how do the hell I jump to 100th video or 500th video,I'm not going to click next till I reach there.Man,this is so frusfrating
    http://www.youtube.com/profile?user=...od&view=videos

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    Auto clicker!

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    71
    I guess nobody know ajax here...oh well

  4. #4
    Registered User
    Join Date
    Jan 2008
    Posts
    290
    1. If you aren't already using Firefox, go download Firefox and install.
      .
    2. Install the addon Firebug (if not already installed)
      .
    3. Browse to the Youtube user's channel
      .
    4. Enable the Firebug console (or just enable the console for youtube.com)
      .
    5. You can now execute javascript on-the-fly. Try typing this into the Firebug console:
      Code:
      get_page('user_videos-137631468', 500, 20, 'True', 'p');
      (137631468 is the youtube user-id for the user whose channel you are viewing)

      This will show 20 videos in the box starting at the 500th video. Unfortunately, it appears that changing the 20 to a different number has no effect on the number of items that appear in the box.

    This might not be the best way to go about this, but it certainly beats clicking next 80 times.

  5. #5
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Oh really?

    How about writing this to the address bar:
    Code:
    javascript:void(get_page('user_videos-137631468', 500, 20, 'True', 'p'))
    Wouldn't it be easier?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  6. #6
    Registered User
    Join Date
    Jul 2008
    Posts
    71
    Quote Originally Posted by arpsmack View Post
    1. If you aren't already using Firefox, go download Firefox and install.
      .
    2. Install the addon Firebug (if not already installed)
      .
    3. Browse to the Youtube user's channel
      .
    4. Enable the Firebug console (or just enable the console for youtube.com)
      .
    5. You can now execute javascript on-the-fly. Try typing this into the Firebug console:
      Code:
      get_page('user_videos-137631468', 500, 20, 'True', 'p');
      (137631468 is the youtube user-id for the user whose channel you are viewing)

      This will show 20 videos in the box starting at the 500th video. Unfortunately, it appears that changing the 20 to a different number has no effect on the number of items that appear in the box.

    This might not be the best way to go about this, but it certainly beats clicking next 80 times.
    holy ........ it works,thank you so much

    you are the man

  7. #7
    Registered User
    Join Date
    Jul 2008
    Posts
    71
    Quote Originally Posted by maxorator View Post
    Oh really?

    How about writing this to the address bar:
    Code:
    javascript:void(get_page('user_videos-137631468', 500, 20, 'True', 'p'))
    Wouldn't it be easier?
    oh yeah yours work too,thanks

  8. #8
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Easier solution: Boycot youtube

  9. #9
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Or Boycot AJAX :-)

  10. #10
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Quote Originally Posted by maxorator View Post
    Oh really?

    How about writing this to the address bar:
    Code:
    javascript:void(get_page('user_videos-137631468', 500, 20, 'True', 'p'))
    Wouldn't it be easier?
    And then save this URL as a bookmark. Voila, bookmarklet. You can even place a prompt() call where the page number is, so that it asks you for the page number.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. Replies: 11
    Last Post: 03-29-2009, 12:27 PM
  3. Help with assignment!
    By RVDFan85 in forum C++ Programming
    Replies: 12
    Last Post: 12-03-2006, 12:46 AM
  4. calculating user time and time elapsed
    By Neildadon in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2003, 06:00 PM
  5. time class
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 10:12 PM