My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 511: load a page with more than 9 script calls and the scripts greater than 9 will be ignored
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by richard....@gmail.com, Jul 27, 2010
What steps will reproduce the problem?
1. Load a page with 10 or more script calls

What is the expected output? What do you see instead?
Expect inline scripts to be kept and run

Actually see any more than 9 scripts are ignored and not run as they are removed from the HTML

What version of the product are you using? On what operating system?
1.6.2

Please provide any additional information below.

Solution is to change line 1343 from:
.replace(/<pre style="display: none;?" class="?nyroModalScript"? rel="(.?)"><\/pre>/gi, function(x, y, z) {
to:
.replace(/<pre style="display: none;?" class="?nyroModalScript"? rel="(.*)"><\/pre>/gi, function(x, y, z) {


i.e use (.*) for script id placeholder search not (.?) which is a single character search
Jul 27, 2010
#1 richard....@gmail.com
maybe (.?.?) is better
Aug 2, 2010
#2 anotherhero
What about (\d*) which only matches digits..

Powered by Google Project Hosting