Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8090577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:46:13+00:00 2026-06-05T19:46:13+00:00

There are a series of links handled by that function that contain what I

  • 0

There are a series of links handled by that function that contain what I need and I’m trying to use Greasemonkey to save the content inside those links.

Here’s what I’ve tried:

var content;
var viewstate;
var crystalstate;

$(document).ready(function() {

viewstate = $("#__VIEWSTATE").val();
crystalstate = $("#__CRYSTALSTATEctl00$main$CrystalReportViewer1").val();

$.post("CautarePolite.aspx", { 
__EVENTTARGET: 'ctl00$main$gvPolite$ctl02$lbDetaliiPolita', 
__EVENTARGUMENT: '', 
__CRYSTALSTATEctl00$main$CrystalReportViewer1: crystalstate,
__VIEWSTATE: viewstate
}, 
function( data ) {
      content = data;
  } );

alert('');

$.post("script_url.php", { data: content } );

});

This gives me a page with the following error message:

“Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.”

Here is a bit of the code on the page which may be of interest:

<form method="post" action="CautarePolite.aspx" id="aspnetForm" class="wrap">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__CRYSTALSTATEctl00$main$CrystalReportViewer1" id="long value*" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="*very long value*" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:46:14+00:00Added an answer on June 5, 2026 at 7:46 pm

    It was missing __VIEWSTATEENCRYPTED

    The input field was further down in the source code, but that solved it. I got what I needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is simple cipher that translates number to series of . ( ) In
Is there a way to join tables on one field that represents a series
Currently I have a webform that has a series of links. What I'd like
Is there a series of commands that does ls then removes backup files? I
I'm trying to change a series of links by inserting values from a dropdown
I have to dynamically create series of links that when clicked - change some
I have a series of image mouseover links that change background-position when hovered. Is
I'm testing a site that serves up some binary (i.e. non-HTML) content. Some links
I'm trying to use RFID Contactless Smart Card (T8/D8 Series) for my final project.
So check out this jsfiddle; Here What I'm trying to do; Series of links

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.