Is there a way to block javascript from an iframe pointing to a different domain?
I'm trying to add a custom filter using ublock origin to stop javascript from working on a specific iframe from a webpage.
Example
Accessing example.com, there's an iframe pointing to annoyingData.com. This other website has information I want but javascript I dislike. Is there a way to block only the javascript inside this other domain?
Thanks!
javascript iframe ublock
add a comment |
I'm trying to add a custom filter using ublock origin to stop javascript from working on a specific iframe from a webpage.
Example
Accessing example.com, there's an iframe pointing to annoyingData.com. This other website has information I want but javascript I dislike. Is there a way to block only the javascript inside this other domain?
Thanks!
javascript iframe ublock
Does this need to be limited to iframes, or can it be applied to any kind of visit toannoyingData.com
?
– grawity
Nov 22 at 16:23
In my specific case, it wouldn't hurt if it applies on any kind of visit.
– Arkanoid
Nov 22 at 18:40
add a comment |
I'm trying to add a custom filter using ublock origin to stop javascript from working on a specific iframe from a webpage.
Example
Accessing example.com, there's an iframe pointing to annoyingData.com. This other website has information I want but javascript I dislike. Is there a way to block only the javascript inside this other domain?
Thanks!
javascript iframe ublock
I'm trying to add a custom filter using ublock origin to stop javascript from working on a specific iframe from a webpage.
Example
Accessing example.com, there's an iframe pointing to annoyingData.com. This other website has information I want but javascript I dislike. Is there a way to block only the javascript inside this other domain?
Thanks!
javascript iframe ublock
javascript iframe ublock
asked Nov 22 at 15:28
Arkanoid
1041
1041
Does this need to be limited to iframes, or can it be applied to any kind of visit toannoyingData.com
?
– grawity
Nov 22 at 16:23
In my specific case, it wouldn't hurt if it applies on any kind of visit.
– Arkanoid
Nov 22 at 18:40
add a comment |
Does this need to be limited to iframes, or can it be applied to any kind of visit toannoyingData.com
?
– grawity
Nov 22 at 16:23
In my specific case, it wouldn't hurt if it applies on any kind of visit.
– Arkanoid
Nov 22 at 18:40
Does this need to be limited to iframes, or can it be applied to any kind of visit to
annoyingData.com
?– grawity
Nov 22 at 16:23
Does this need to be limited to iframes, or can it be applied to any kind of visit to
annoyingData.com
?– grawity
Nov 22 at 16:23
In my specific case, it wouldn't hurt if it applies on any kind of visit.
– Arkanoid
Nov 22 at 18:40
In my specific case, it wouldn't hurt if it applies on any kind of visit.
– Arkanoid
Nov 22 at 18:40
add a comment |
1 Answer
1
active
oldest
votes
The latest version of uBlock Origin can disable JavaScript from one site,
but you will need to visit it once to activate.
Click on the uBlock Origin icon to display the main interface. The new option to disable JavaScript for the site in the bottom-right corner and the icon looks like a closed tag </>
.
A click disables JavaScript on the site and adds a red cross to the icon to indicate that JavaScript is turned off on this site. This is temporary, unless you make the change permanent using icons that uBlock Origin displays after you activate the option.
Source : uBlock Origin can block JavaScript by default now.
I went to annoyingData.com, disabled javascript there and came back to example.com. Javascript is still running there. Did I miss something?
– Arkanoid
Nov 22 at 18:39
Probably not. Disabling JavaScript is a new feature on uBlock Origin so it can be still only partially implemented. It seems, according to your findings, that at the moment it may only block JavaScript from the primary website but not from secondary ones. You might send them a message, if there is such an option. Otherwise, you might use some other blocking add-on, such as NoScript or YesScript.
– harrymc
Nov 23 at 8:48
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377604%2fis-there-a-way-to-block-javascript-from-an-iframe-pointing-to-a-different-domain%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The latest version of uBlock Origin can disable JavaScript from one site,
but you will need to visit it once to activate.
Click on the uBlock Origin icon to display the main interface. The new option to disable JavaScript for the site in the bottom-right corner and the icon looks like a closed tag </>
.
A click disables JavaScript on the site and adds a red cross to the icon to indicate that JavaScript is turned off on this site. This is temporary, unless you make the change permanent using icons that uBlock Origin displays after you activate the option.
Source : uBlock Origin can block JavaScript by default now.
I went to annoyingData.com, disabled javascript there and came back to example.com. Javascript is still running there. Did I miss something?
– Arkanoid
Nov 22 at 18:39
Probably not. Disabling JavaScript is a new feature on uBlock Origin so it can be still only partially implemented. It seems, according to your findings, that at the moment it may only block JavaScript from the primary website but not from secondary ones. You might send them a message, if there is such an option. Otherwise, you might use some other blocking add-on, such as NoScript or YesScript.
– harrymc
Nov 23 at 8:48
add a comment |
The latest version of uBlock Origin can disable JavaScript from one site,
but you will need to visit it once to activate.
Click on the uBlock Origin icon to display the main interface. The new option to disable JavaScript for the site in the bottom-right corner and the icon looks like a closed tag </>
.
A click disables JavaScript on the site and adds a red cross to the icon to indicate that JavaScript is turned off on this site. This is temporary, unless you make the change permanent using icons that uBlock Origin displays after you activate the option.
Source : uBlock Origin can block JavaScript by default now.
I went to annoyingData.com, disabled javascript there and came back to example.com. Javascript is still running there. Did I miss something?
– Arkanoid
Nov 22 at 18:39
Probably not. Disabling JavaScript is a new feature on uBlock Origin so it can be still only partially implemented. It seems, according to your findings, that at the moment it may only block JavaScript from the primary website but not from secondary ones. You might send them a message, if there is such an option. Otherwise, you might use some other blocking add-on, such as NoScript or YesScript.
– harrymc
Nov 23 at 8:48
add a comment |
The latest version of uBlock Origin can disable JavaScript from one site,
but you will need to visit it once to activate.
Click on the uBlock Origin icon to display the main interface. The new option to disable JavaScript for the site in the bottom-right corner and the icon looks like a closed tag </>
.
A click disables JavaScript on the site and adds a red cross to the icon to indicate that JavaScript is turned off on this site. This is temporary, unless you make the change permanent using icons that uBlock Origin displays after you activate the option.
Source : uBlock Origin can block JavaScript by default now.
The latest version of uBlock Origin can disable JavaScript from one site,
but you will need to visit it once to activate.
Click on the uBlock Origin icon to display the main interface. The new option to disable JavaScript for the site in the bottom-right corner and the icon looks like a closed tag </>
.
A click disables JavaScript on the site and adds a red cross to the icon to indicate that JavaScript is turned off on this site. This is temporary, unless you make the change permanent using icons that uBlock Origin displays after you activate the option.
Source : uBlock Origin can block JavaScript by default now.
edited Nov 22 at 16:44
answered Nov 22 at 16:33
harrymc
253k12260563
253k12260563
I went to annoyingData.com, disabled javascript there and came back to example.com. Javascript is still running there. Did I miss something?
– Arkanoid
Nov 22 at 18:39
Probably not. Disabling JavaScript is a new feature on uBlock Origin so it can be still only partially implemented. It seems, according to your findings, that at the moment it may only block JavaScript from the primary website but not from secondary ones. You might send them a message, if there is such an option. Otherwise, you might use some other blocking add-on, such as NoScript or YesScript.
– harrymc
Nov 23 at 8:48
add a comment |
I went to annoyingData.com, disabled javascript there and came back to example.com. Javascript is still running there. Did I miss something?
– Arkanoid
Nov 22 at 18:39
Probably not. Disabling JavaScript is a new feature on uBlock Origin so it can be still only partially implemented. It seems, according to your findings, that at the moment it may only block JavaScript from the primary website but not from secondary ones. You might send them a message, if there is such an option. Otherwise, you might use some other blocking add-on, such as NoScript or YesScript.
– harrymc
Nov 23 at 8:48
I went to annoyingData.com, disabled javascript there and came back to example.com. Javascript is still running there. Did I miss something?
– Arkanoid
Nov 22 at 18:39
I went to annoyingData.com, disabled javascript there and came back to example.com. Javascript is still running there. Did I miss something?
– Arkanoid
Nov 22 at 18:39
Probably not. Disabling JavaScript is a new feature on uBlock Origin so it can be still only partially implemented. It seems, according to your findings, that at the moment it may only block JavaScript from the primary website but not from secondary ones. You might send them a message, if there is such an option. Otherwise, you might use some other blocking add-on, such as NoScript or YesScript.
– harrymc
Nov 23 at 8:48
Probably not. Disabling JavaScript is a new feature on uBlock Origin so it can be still only partially implemented. It seems, according to your findings, that at the moment it may only block JavaScript from the primary website but not from secondary ones. You might send them a message, if there is such an option. Otherwise, you might use some other blocking add-on, such as NoScript or YesScript.
– harrymc
Nov 23 at 8:48
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377604%2fis-there-a-way-to-block-javascript-from-an-iframe-pointing-to-a-different-domain%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Does this need to be limited to iframes, or can it be applied to any kind of visit to
annoyingData.com
?– grawity
Nov 22 at 16:23
In my specific case, it wouldn't hurt if it applies on any kind of visit.
– Arkanoid
Nov 22 at 18:40