Google App Maker, importing and opening an existing web page onLoad - hyperlink

A newbie is trying to import the following existing URL with curriculum changes. The page needs to open onLoad, instead of user clicking.
So far, I have tried:
Link widget - only works, when one clicks on the link. Does not suit.
HTML widget - throws an error.
Fixed panel. Thought it was analogous to iframe. It isn't.
Tried adding a script
function openWebsite() {
window.open('http://www.2vsk.liepaja.edu.lv/Stundu_izmainas2.php','_blank');
} No errors, but the screen is blank.

Should anyone bother with embedding an existing website, Google provided the following solution.
https://developers.google.com/appmaker/samples/html-iframe/
My case is a miss, since, as Google supports replied, the website has to have SSL certificate which my organization doesn't have.

Related

Is there a way to dismiss a native authentication dialog when using Playwright?

I'm using Playwright (Java) to drive a particular third-party Web site, the first page of which apparently containing two images which are password protected; this causes a sequence of basic-authentication dialogs to open when the page loads.
I'd like the script to dismiss these dialogs (cancel), rather than providing any credentials, and then continue working with the page. But as it stands now, the page.navigate() blocks and eventually times out, unless I cancel these dialogs manually with the mouse.
Note that this is the native browser dialog, not anything generated from js on the page.
Is this possible with Playwright?
Interestingly, I was able to work around this by disabling images entirely in Chrome, which might have other (performance) benefits, too.
Added this to the array of Chrome startup arguments:
--blink-settings=imagesEnabled=false
Of course, this only solved this specific case, in which the login prompts were being triggered by image URLs.

URL Redirection Issue in DNN

In my local environment of a particular site, when i click on a particular link ,it redirects to the same page but in the url it shows that the page has been visited.Again when i click on the link, it will direct me to that page. Any reason as to why this happens and what could be the possible solution.
For example: My sites name is abc.com. It has pages like help, contact etc. When i am on my homepage and click on help it redirects me back to my home page but in my browser the URL is shown as abc.com/help.
When i click on help again , it redirects me to the help page(URL in browser is abc/help/Help) on the second click.
This can happen if the cache or system index has been corrupted. The best solution is to typically stop & start the application and see if it comes back.
If it is still an issue and you are on an older version of DNN, make sure that the PortalAlias table doesn't have a trailing / on your portal alias.
If this isn't the case, it is possible that a custom URL impacted this, but doubtful.

jQuery Mobile: How can I link to an external page without breaking web app view?

I created a web app (without browser chrome) which loads most of its pages locally from index.html. Now I have one page which i can not integrate into index.html, since it has to be refreshed when loaded. I placed it on the same server and called it stats.html and link to it like this:
Stats
When I click this link, the browser pops to the front instead switching to the page without browser chrome.
How can I link to an external page in a way that it still looks like one app?
I appreciate any hints to solve this problem.
just found https://github.com/mrmoses/jQuery.stayInWebApp that seems to be the solution.

duplicate url+content generation problem

In my current site I have a link in the header section for skype, Gtalk, MSN chat, by clicking on the link the chat application get launched.
The problem is that, the link uses a href tag. and by doing this the SEO process is facing problem as there is some duplicate url have been created. In SEO process if different URLs have the same content the process not works.
Any suggestion from coming out from this problem.
One simple way to remedy this is add this adding a element with the attribute rel="canonical" to the section of the non-canonical version of the page.
More information please go to http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=139394
make them js url (with the js function in an external script)

Google results appear clustered with firefox addon

I have written a firefox addon with which user can add notes to the pages they are viewing. Users can also highlight the content they like on the page. My addon adds some css and javascript files to the page once the document is loaded. The extension is working properly except with some google results pages. The results sometimes appear clustered. I found through firebug that google results page is adding some extra css rules (when my addon is present) which are messing with the results page. Does anybody know why this is happening? Here are the screenshots of the google results page when
a. my addon is disabled - http://i40.tinypic.com/m80hft.jpg
b. my addon is enabled - http://i41.tinypic.com/10zr7za.jpg
Thanks,
simil
It turns out that google keeps modifying the style elements present in the head. Moving my styles to the body element solved the problem.

Resources