Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Explanation
I have a HTML page and it contains the basic features which any home page or new tab page should have. It contains basic HTML and some CSS and Javascript commands.
I use Google Chrome and I want to set my webpage as the new tab page, or alternatively, I can set it as the homepage and open my page on start-up!
Is there code in any language which I can use to set it as my homepage. HTML and Javascript are preferred by me.
Example Code
<html>
<title> New Tab </title>
<!---The code for making homepage or start-up page --->
<!---Other statements --->
</html>
In google chrome click on the top-right menu icon and select settings. Now under appearance check Show Home button option. Now click on the change link under it. Here you can select a url of the home page for your chrome browser.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
When I go to others' page, I want to see the Javascript code how others write.
Can I view the js code by right click and inspect (chrome) , I know html and css can be seen, but how about js code?
Open up your browser developer tools and go to the Network tab, then load a page. Select the "Type" column, and then you can examine those with a Type of script. For example, on Stack Overflow, you'll see something like:
As you can see, Stack Exchange loads jQuery, a script named stub.en.js, a script named clc.min.js, and a few more. To see what those scripts contain, either click on them in the Network tab, or right-click and select "Open in new tab" to view it as a standalone tab.
But professional sites often minify their Javascript, and complicated minified Javascript is very difficult to read. Better to read source code whenever possible, not distribution code, to save yourself a headache.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I don't know if this is any kind of virus, but lately i've been seeing stuff that i did not add to my browser, at first i thought thoses were code added to my webpages but now i see them on all webpages (including this one).
this is the javascript added:
<script type="application/x-javascript" src="http://i.swebdpjs.info/opt_content.js?v=opt_1410177193622&partner=sweb&channel=sweb&sset=2&appTitle=&sset=2&ip=190.199.222.1"></script>
there are more added but this one is an example, i cannot tell which one are from stackoverflow but i recognize this one because it appears on every page.
i analyzed my pc with nod32 and it does not find any virus threat and analyzed with CCleaner
any way to fix this?
Check your browser extensions and add-ons. It's possible one of those is injecting this Javascript into every page.
Also try opening your browser in Incognito mode to see if it happens then. Browser extensions and add-ons are disabled during incognito (or private browsing) mode.
It is also possible that your ISP is inserting this into every page. In wich case we could do other things to stop this behavior.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
So I'm guessing this happens with.. many.. somewhat old-tech things like this, but I have a javascript only website based on backbone, and have shopping pages I'd like to get some validated badges on, case in point: [A Comodo Trustlogo][1]
Basically, when I follow the instructions, it completely wipes out the page, replacing the entire body with a white page and the logo itself, instead of kindly inserting itself into a div or whatnot.
Anyone have an idea on how to get it to inline properly?
This is to do with where you have placed your Comodo code. Where you've placed it, both document.write and document.writeln will destroy the page.
Move it to the top of the <body> element or whereever in the <body> element (not outside, not in <head>, not directly in <html> nor on the outside) you prefer.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is there a way to make a non-refreshing menu like facebook with javascript or something?.
I want to put my radio player in a non-refreshing div or section. i've been looking but nothing. Only i got is load jquery function but that's not what i want. I want url changes.
Here there's a example website. It has a non-refreshing section on top and bottom. http://enladisco.com
Saludos and forgive my english.
The simple method.
<header>
My persistent header
</header>
<div>
<iframe src="actualPageContent.html"></iframe>
</div>
When links are clicked, the browser does navigation inside the frame. The downside is that the address bar doesn't change.
Use the script from this answer to dynamically load content into your main section, while leaving the header intact, and changing URLs in the browser. The back button also works here.
Go with this if you can.
That page is actually loading the content via ajax with $.ajax (which is what $.load will call) and not refreshing the page. check Modify the URL without reloading the page to see how to modify the URL without triggering a refresh.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm trying to use a local .html file that has some javascript/jquery (used for a typing text effect), as my desktop wallpaper in either windows7 Home Premium or Linux mint8, and was wondering if anyone could help here with the info on how to do so?
I'v seen this about:
If you know how to create HTML documents then you can spice your desktop up with colors, sound, graphics, video, live links, ActiveX, Java or anything you choose.
Right-click on the desktop, select Properties and select the "Web" tab.
Select the "New" button, select "Web site" and click OK.
Use the browse button to find your html file.
Click OK, then OK again.
But windows 7 seems to have abandond this feature (heard for security reasons) - or changed its dialogs around, anyway does anyone know how to work it so as to do the same nowadays...
Look at something call Snippage for windows vista and 7
You mean like Active Desktop? I believe it hasn't been natively supported since WinXP64. But there'a a third party utility called Snippage (http://snippage.gabocorp.com/) that creates widgets out of web pages.