browser

How to make it sure that an iframe content fits it?

喜夏-厌秋 提交于 2020-01-25 09:17:05
问题 I have an iframe that calls an external page, like <iframe src="http://pagewithimage.php/?parameter=xxx" style='border:0;width:100%'></iframe> . The pagewithimage.php got an image that can be bigger that the iframe area, and undesired scroll bars appears. I'd like to scale the iframe content to fit it "100%", not more than it. The code I'm using is this: > <div class='container-home-map' style="background-color:#99CCCC;border-radius:10px;"> > <iframe src="http://pagewithimage.php/?parameters

Vb.Net web browser Not Working to Some Website

自闭症网瘾萝莉.ら 提交于 2020-01-25 08:03:05
问题 I need some coding for vb.NET web Browser I paste this URL but not login and not signup ply solved my problem I have used the below code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click WebBrowser1.Navigate("https://freebitco.in/") End Sub 来源: https://stackoverflow.com/questions/58480365/vb-net-web-browser-not-working-to-some-website

saving history object with Iframe in browser

走远了吗. 提交于 2020-01-25 06:44:07
问题 I'm having problem with implement recovering browser history. I have four html files, and one is parent html, and others are child pages. (they are 1.html , 2.html , 3.html and are loaded inside iframe.) let me see you flow of my implementation to help you to understand what I'm doing. you don't need to check button create variable . please see two button below go back and go next, and input tag and navigation back . following is my source code. <!DOCTYPE html> <html lang="en"> <meta charset=

All the opened browser window should be redirect to a default page after inacivity

丶灬走出姿态 提交于 2020-01-25 06:42:58
问题 I want to redirect all the browser tabs when the browser is not active for given time. In this code I will get the opened applications/tabs url in "theAppsString" then how can i get its tab id and redirect each to a default page. chrome.idle.queryState(30, function(state) { if (state === "active") { console.log('Computer not locked, user active '); } else { console.log('sorry Computer not locked, user nopt active '); chrome.storage.local.get("appsLog", function(obj) { theAppsLog = obj.appsLog

Opening url in the last open tab in chrome

人盡茶涼 提交于 2020-01-25 04:16:06
问题 I am getting an issue while opening URL in my default browser (Chrome) My requirement is opening URL in the last open tab in Chrome browser for 4.4.4 (Chrome is default browser). NOT in a new tab. Below code is opening URL in a new tab: Intent mBrowserIntent = new Intent(Intent.ACTION_VIEW); mBrowserIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); mBrowserIntent.putExtra(Browser.EXTRA_APPLICATION_ID,mContext.getPackageName()); mBrowserIntent.addCategory(Intent.CATEGORY_BROWSABLE);

SWT Browser navigator version

邮差的信 提交于 2020-01-25 00:34:09
问题 Even if my Windows has the latest version of IE, the SWT Browser still runs on version 5.0 (yes, FIVE). At least that's what a simple alert(navigator.appVersion) says so. System.setProperty("org.eclipse.swt.browser.IEVersion", "8000"); does not work -Dorg.eclipse.swt.browser.IEVersion 8000 does not work I don't necessarily need v10.0 to work, but at least a DECENT version SWT.MOZILLA and SWT.WEBKIT are out of the question. XULRunner gives headaches SWT v3.8.1 Edit: Actually, now that I think

currentUser is null after refreshing page

寵の児 提交于 2020-01-24 23:57:26
问题 I have a login component , a service and a storage helper. The login method works fine until I refresh HomePage (here I need user's data) because I'm injecting an empty service. So, to solve this, in app.component I've created a method that sets the currentUser using the token saved it to localStorage. My problem is that the currentUser is null after refreshing the page and I think it is because of the token not being saved. How to solve this? app.component.ts getUserDetails() { this

VB.Net Error 403 in HTTP Web Requests

徘徊边缘 提交于 2020-01-24 23:20:50
问题 while using HTTP web Requests, when i try and read the stream i always get an error saying 403 Forbidden but if i try to do it in the VB.Net web browser it works fine. Here is my code: Imports System.Net Imports System.Text Imports System.IO Public Class Form2 Dim logincookie As CookieContainer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim postData As String = "test=test&username=test&password=test&next=test.html" Dim

changing the content of browser in XULRunner

回眸只為那壹抹淺笑 提交于 2020-01-24 19:51:26
问题 I have an Xulrunner app that loads fullscreen without any controls and loads a html page by default. The only thing it has is browser element and a popup menu visible on right click. In the popup menu there is option to quit. Then there is a menu entry 'theme2'. I want the browser to load another html when theme2 is clicked. This is my main.xul, thats loaded by default: <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="main" title="Edusoft"

Why do firefox/chrome show a different page than IE8?

爷,独闯天下 提交于 2020-01-24 15:04:56
问题 When I look at this published Google Docs document, I see the latest version with Firefox and Chrome , but an older version with IE8 . Also, screen-scraping it via PHP/Curl gives me an older version. I've tried CTRL-Refresh in IE8 but I can't get it to show me the newest version. No matter what headers I try to change in PHP/Curl, I can't get it to show me the newest version. Note: I'm sure I could dig in IE8 and find some cache entry to clear, but what is not happening on this URL that is