Accessing Security Settings Of Browser
Jan 22, 2010is there any way we can access the security settings of a browser or at least the status of the SECURITY level?
View 1 Repliesis there any way we can access the security settings of a browser or at least the status of the SECURITY level?
View 1 RepliesIs there a way to test for security settings in a users browser AND
their firewall. Lets say someone is using zonealarm. Is there a way
to test for their setting in zonealarm, so I can then redirect them to
a specific page.
The reason I am asking is that I have a flash front page. A user
cannot see the page because he has his security settings set so that he
does not see activex controls. I want to be able to test for those
settings then redirect him to a static page.
I have a web application where window A opens window B (same site). B
later wants to do something depending on whether
the window A, window.opener.document.domain, has changed.
However, there doesn't seem to be a way to actually check whether A
has moved to a different domain without triggering (in IE) a security
violation and completely aborting the script. If the user has enabled
debugging, this also brings up an annoying dialog box.
I'd like to either catch this exception somehow or be able to tell
beforehand whether I can access window.opener.* attributes
successfully. According to:
http://msdn.microsoft.com/library/d...ng_security.asp
the only thing I can do is to *write* to the various attributes.
Can anyone suggest a way to work around this? I am not interested in
accessing the location/domain of the new page, just whether the window
has left my domain.
code to read browser's locale settings in Javascript??
View 13 Replies View RelatedIs it possible to find if user has disabled images in his/her browser settings.. well currently i want code for firefox...
View 2 Replies View RelatedIs there an easy way to detect the local language setting of a client browser?
I would like to determine if the users browser is set to English, French, Italian or German language and display a message in the appropriate language but don't want to redirect user.
I'm not sure if this is possible, but I'm looking for a way to access
another IE browser window using JavaScript (assuming the two browser
windows are running in the same instance).
The purpose of this task is so that if a user hits ctrl+n in IE, the
new window is "aware" of the other instance.
I have a video (.wmv) that has markers in it one can access these markers in video players like "Windows Media Player" at "view" -> "file markers"
I want to embed the video object in an HTML page and be able to let the user jump to these markers via JavaScript or such. I managed to do this with Internet Explorer ודןמע JavaScript but I can't get any other browser to access these markers or any timeline. function for that matter. I need to be able to do so cross browser.
One plain question, is there any possible Javascript code to do this IE6
fix with a keystroke:
Tools > Internet Options > Privacy > Edit >
Add to Address of Web Site: http://somewebsite.com >
Allow > OK > OK
I'm not planning any bogus business, code would be used only for solving
some acute cookie problem.
I'm now writing a web page where I have to display amounts/dates in
the same format used by the loca PC. This means sometimes in italian
(1.234,56) and sometimes in the US format (1,234.56).
Any idea how, from js, I can retrieve the PC's regional setup ?
I have a problem with printer settings.
I want to let users to print an automatic generated image from a web page.
the problem is that the image is big (little smaller than A4) and if I print
the page from "File --> Print" the image is automatically resized or printed
in more than one page, if I set the page properties from the File menu I can
reduce print margin and cut off header and footer, and then it works fine.
So I would like to set page properties form javascript to let users print
the image with right dimensions.
I have a log file that is viewed on the local machine. There are some
settings on the html page that allow the user to specify how the file
is viewed. I'm just wnodering what are my options in saving these
settings (so they could be reloaded next time the user loads the page).
Writing to registry, a file, or a cookie? what's the right approach?
I'm having problems retrieving the position of an absolute positioned image using the DOM.
A cut-down version of my code is below including an alert to display the current left position of the image. However xpos appears to be null. Code:
Does anyone know if there is a way to change the defaults such as number of thumbnails after initialisation? e.g.$('.changeTo16').live('click', function(){//set gallerific stuffnumThumbs: 16});$('.changeTo8').live('click', function(){//set gallerific stuffnumThumbs: 8}); etc...
View 2 Replies View RelatedI have a table that gets served off to a 3rd party site. Each row has "track" and "hide" checkboxes ... I need to save/update these settings as the user updates their settings so I can call them back later on future visits.
(cookies are not an option... because that is too easily lost and there could be thousands of settings over time)
So, I am leaning toward a AJAX POST using Jquery. Rather than submit on every change... I would like to store the settings in JavaScript and then batch submit every 30 seconds or on page unload. I have most if this working... it is the saving of the data and then batch submission code that I am after.
Let me give you the use case and a scenario:
Table with 100 rows and each row has "track" and "hide". Each row may be associated with one "subject" and multiple rows may have the same subject ... so when you track or hide... it tracks multiple rows (highlights, checks their boxes, and grabs the subject from a row field) OR it "hides" multiple rows based on their subject.
All that is working. (Yes!)
Now, because they could be clicking quickly through... they might track then "untrack" the same subject or hide then "unhide" the same subject all within a very short period of time.
I don't want all those AJAX calls!
So, I need some sort of data storage for the "subjects" that puts them in "track" and "hide" datasets ... removes them out if undone ... and occasionally submits whatever the queued up actions are (if any).
Also, there may be settings grabbed on page load that need undone (the track and hide setting grabbed from the DB that pre-dated that visit) ... so it may not as simple as removing from a data set... there should be an explicit "untrack" & "unhide" submission in those cases to update the DB.
I don't know whether this is a css problem or a javascript problem. My js knowledge is very basic. I purchase some javascript from Project7 to scroll my pages vertical, and I am having a small problem. There is probably a fairly simple solution, but I can't figure it out.
In this first example, the top padding for the first page is set to 0. Everything works well until the home button is clicked:
Test 1
In the second example, the first page has the a padding of 260px, same as all other sections (the header is also 260 px). When the page loads, there is a 260px gap between the header and the first section. Once any button is clicked, everything is works fine. Even if the page is refresh, it works fine.
Test 2
I have been playing around with this for hours and I cannot figure out how to set everything right.
I am using this settings to init my tinyMCE but unfortunelty its not working on IE..
HTML Code:
var config = {
settings : {[code]....
SCRIPT5: Access is denied.line 94 is the init function.. and when im using the init function without the settings then its working on explorer too :S
tinyMCE.init( );
what am i doing wrong?
I use javascript to create a cookie when you click a link
<a href="#" onclick="document.cookie='settings=blue; expires=31/03/2009;'">Blue</a>
This creates a cookie and I can get it back easily but I want to use it as settings. I have 3 folders of pictures white blue and pink the user will click the link selecting there colour creating a cookie. Now when the page finds the cookie it needs to place the output in to the path.
<img src="pictures/ !!!output!!! /something.png">
So far I have this (just a trial)
<script type="text/javascript" src="cookie.js">
</script>
<script type="text/javascript">
function image(){
settings=getCookie('settings');
if (settings!=null && settings!=""){
document.write('<img src="'+settings+'.png">')
}}document.write(image())
</script>
This works but next to the image it says undefined so how would I get rid of it?
According to a financial website I tried to access without javascript:
"the site uses JS for security reasons."
How would using JS improve security?
I have an application which runs with secure access. User logs in,
uses the services, and logs out. After logging out, if the user click
the back button, it actually takes them to that page. How can I
prevent this?
Is there a way, that if the person clicks the back button or access a
browser history, how can I make sure that the latest page is displayed
instead of just the cache. Or, clicking the back/history should
refresh that page.
I'm using serialscroll jquery plugin from ariel Flesler on this page : http://goo.gl/HMNUX the width of the container (#slideshow) is 100% of the window's width. everything is fine until the user resize the window. Then the pictures are not in the right position anymore. should reset the "offset" setting of the plugin on resize. I tried this, but it doesn't work :
[Code]...
When the number of menus (including a menu and its submenus) reach a particular number, then after that rest of the menus are not getting
displayed. Is there any settings available to restrict number of menus in superfish?
I had problem when try to reuse div element with ui.dialog().If I set the width & height the first time it works; but if I call it from second function with different width & height it won't apply the new setting. Also if I manually resize the dialog when it appear after close and reopen it use the new size (resized manually) not the one I specified in the code.is it possible to resize the dialog before it show up?
View 3 Replies View RelatedI need a suggestion or code in JavaScript which reads the MS Word document page settings and number of pages. I know how to open and read a MS Word document, but i couldn't able to get page properties.
View 1 Replies View RelatedI have a Javascript used to adjust the fontsize on a webpage. This JS does not create a cookie to save the users setting, so if he goes to another page on the site, the default font size is shown.This is the JS;
Code:
var min=8;
var standard=11;
var max=15;[code]..........
What I need, is some code that will create a cookie, so that the users settings will be used throuout his whole visit.
I have a intranet site that allows users to log in and get excel
reports. The user clicks the name of the report and it opens it from a
folder for that user. Easy enough. The problem is that the path of the
folder for that user is displayed in the Status Bar when it is being
downloaded. I've discovered that users are grabing that path, changing
the folder name, and can then access other folders. I don't want that
to happen.