Questions tagged [browser-console]
60 questions
0
votes
0 answers
Open Firefox Browser Console with a button click
I want to write a Firefox WebExtension that would consist of a button, which would open the Browser Console upon click. How can I achieve that? Is there a URL for the Browser Console which can be used with windows.create() or
Window.open()?

and his dog
- 149
- 7
0
votes
1 answer
Understanding the Object.create function of JS
I created a normal JS object
var person1 = {
name:"ABCD"
}
And then created another Object person2 as
var person2 = Object.create(person1)
Now in browser console when I type
person1 - it gives me the object definition.
But when I type person2 -…

Gopal Chandak
- 387
- 7
- 19
0
votes
0 answers
Hide express response from browser
I am using polymer.js on client-side. Have to fetch process.env from express server using the following:
app.get('/getkey', function(req, res){
res.send(process.env.KEY);
});
But, it's written as response to browser on every GET request. Is…

Ashwini
- 381
- 6
- 23
0
votes
1 answer
Using jQuery functions on some websites cause Uncaught TypeError
I'm learning jQuery by writing some code in Chrome's console, e.g. adding an id to a DOM element and then executing jQuery functions.
On some websites (for example Google) I get Uncaught TypeError and on others, I don't. Here is an example:
DOM…

SigGP
- 716
- 1
- 11
- 24
0
votes
0 answers
How can I preserve the log upon a new tab
In Google Chrome is it possible to preserve the log onto a new tab when opened?
I know the preserve log option will save the logs text upon navigation, but I want to make it so the log is copied over to the new tab so each new tab will have the same…
user9737337
0
votes
1 answer
Is there a way to print value in variable in angular4 component from console?
I save simple key in a variable in a component using angular 4, when the app closed every value will erased and i know it.
this is a simple sample :
export class LoginComponent implements OnInit {
data : any;
constructor() {
this.data =…

yozawiratama
- 4,209
- 12
- 58
- 106
0
votes
0 answers
How to get value of below c1x.cid, c1x.productID via jquery or javascript
Hi I am new in jquery and javascript. Please help me to extract date from below code / function.
Below is the script section: