Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pooms

Pages: 1 ... 3 4 [5]
61
Questions and Answers / Configuring Java clients to use HTTP Proxy
« on: April 26, 2002, 07:57:26 PM »
That's odd, I can't think of any reason that you shouldn't be able
to do this, unless it is a JDK 1.4 issue. Or unless the program
has done something explicit to unset those properties, or to
set them from somewhere else, overriding what you set.

I'm building software that will be used in business-to-business
applications and I wanted to make sure that if our software is
running behind a firewall, and that company's policy is to
require internet access go through an HTTP proxy, that we are able
to set up the proxy information for our software. So I was testing
with the jar files that our customers would be using.

Maybe this software you were trying with doesn't actually use
HTTP, or maybe they didn't use Java's built-in HTTP support
and wrote their own socket-based communication? Hard
to guess without knowing what it is.

 

62
Questions and Answers / Configuring Java clients to use HTTP Proxy
« on: April 26, 2002, 07:45:04 AM »
Really? I haven't been able to move to JDK 1.4 yet as I have
dependencies on a whole bunch of other things. But I was able
to set it up with JDK 1.3.1. I'm developing and testing some
java web services using SOAP & XML over HTTP and I was
passing the traffic through Proxomitron. HTTP only, though,
I didn't try HTTPS.

Try using -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8080 as described here:
http://java.sun.com/j2se/1.4/docs/guide/net/properties.html

 

63
Questions and Answers / Configuring Java clients to use HTTP Proxy
« on: April 25, 2002, 06:25:55 PM »
If you are developing your own Java clients that talk to HTTP
servers, or if you are using someone else's Java program
that does this, you can set Java properties to cause it to
use an HTTP Proxy. Simply add the following command line
parameters:

-DproxySet=true -DproxyHost=localhost -DproxyPort=8080

and your Java client will use Proxomitron.

 

64
Cosmetic / Remove Image Borders
« on: April 23, 2002, 03:03:55 AM »
I just checked why those MSDN pages don't load: it's the User-Agent
HTTP header value. Try changing Opera's Browser Identification value
to an MSIE value and I bet it works!

 

65
Cosmetic / Remove Image Borders
« on: April 23, 2002, 02:52:02 AM »
I had that same problem with MSDN pages with IE6 as well. I ended
up putting msdn.microsoft.com in my bypass list temporarily to
make it work. I never got around to looking at their site to see
why that was happening.

 

66
Security / Using the backbutton in IE is dangerous
« on: April 23, 2002, 02:44:53 AM »
Rather than actually modifying javascript links (because it tends to
screw up page layouts, such as on this forum!), I'm just using
the "Change Link Style" filters described on this thread:
http://asp.flaaten.dk/pforum/topic.asp?ARCHIVE=&TOPIC_ID=452
with this javascript hover style:
a.javascript:hover{text-decoration : none; border: thin dashed blue;
That way the style change when I move the mouse over the javascript
link catches my attention before I click the link.
The good thing about this is that it only effects layout in a minor
way, although it puts the onus on me to not click the link!

 

67
Cosmetic / Remove Dramatic Transition Effects from Web Pages
« on: April 23, 2002, 02:30:40 AM »
One web site that I visit has this very tacky, stupid looking
transition effect when you leave one of their pages. (Visit
http://www.airspacemag.com to see what I mean). I finally
got around to looking at the HTML to see what they were doing
and it is an IE specific <META> tag. I found the following page that describes
the tacky page transitions that can be done, which makes it easy
to write a rule to remove them:
http://www.inquiry.com/techtips/web_pro/10min/10min0200/10min0200.asp

Here is my rule:

Name = "Remove Transition Effects"
Active = TRUE
Limit = 256
Match = "<meta*http-equiv=$AV((site|page)-(enter|exit))*content=$AV((RevealTrans|BlendTrans)*)*>"
Replace = "<!-- Transition Effect Removed -->"




Edited by - pooms on 23 Apr 2002  05:29:01

68
Privacy / Remove NewChannel
« on: April 22, 2002, 06:32:21 PM »
I'm not sure what the hosts file is, but nc.webhost.newchannel.com
is probably too specific. The "nc" part should be wildcarded
as my ADSL was sending to telus.webhost.newchannel.com

A quick Google search on "webhost.newchannel.com/visitor" turns up
a number of other ones, including: verisign, peoplesoft, excalibur,
geis, attdataip, telocity, etc.

 

69
Privacy / Remove NewChannel
« on: April 22, 2002, 06:28:55 AM »
Thanks for the suggestion, although I don't have much trouble creating
rules to do what I want, I'm sure they aren't optimal! So hints on
improving them are good to see.

 

70
Privacy / Remove NewChannel
« on: April 21, 2002, 05:54:47 AM »
NewChannel is a product that tracks web site visitors and analyzes
their movements. If you visit a website that has NewChannel embedded
in their HTML pages, every two seconds or so that you are on that site,
information is sent to their server.

This article describes what NewChannel does:
http://www.pcmag.com/article/0,2997,s%253D400%2526a%253D4992,00.asp

Here's a simple rule to remove the NewChannel tags from pages:
Name = "Remove Newchannel"
Active = TRUE
Bounds = "<NewChannel*</NewChannel>"
Limit = 150
Match = "*"
Replace = "<!-- NewChannel Tags Removed -->"

NewChannel appears to host the service on servers in their own domain, so
I also added [^/]++newchannel.com/ to my AdList to make sure no traffic
goes to their site.

I wrote this rule when I discovered that my ADSL provider is using
NewChannel. I only noticed it because I happened to have Proxomitron's
Log Window open when I visited the site, and noticed the continual
stream of HTTP traffic even though I wasn't doing anything.
To verify that the rule works, you can go to NewChannel
http://www.newchannel.com as they have it running on their
own site.


71
Site Specific / Remove MSN from NHL.com and ESPN.com
« on: April 21, 2002, 05:26:08 AM »
Certain sites such as
http://www.nhl.com and http://www.espn.com
are "wrapped" by MSN stuff, generally a header, a footer and
some additional advertising block on the side.
I wrote the following rule to get ride of the MSN content, based
on the fact that they conveniently inserted HTML comments to mark
the beginning and end of the MSN content.

Name = "Kill MSN Content"
Active = TRUE
Bounds = "<!--( |-)("|BEGIN |)MSN (Header|Footer|SideBar|module)*MSN (Header|Footer|SideBar|module)* -->"
Limit = 10000
Match = "*"
Replace = "<!-- MSN stuff removed -->"



 

Pages: 1 ... 3 4 [5]