Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Disable View page source on chrome-extension pages #4819

Closed
wants to merge 9 commits into from
Closed

Disable View page source on chrome-extension pages #4819

wants to merge 9 commits into from

Conversation

Sh1d0w
Copy link

@Sh1d0w Sh1d0w commented Oct 15, 2016

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

Fixes #4812

Auditors:
@bbondy

@Sh1d0w Sh1d0w modified the milestones: 0.12.6dev, 0.12.5dev Oct 15, 2016
@luixxiul
Copy link
Contributor

Rather I'm thinking that the common context menu itself on about pages should be disabled.

@Sh1d0w
Copy link
Author

Sh1d0w commented Oct 15, 2016

@luixxiul Ok I am closing the PR. I read in the original issue you have opened you wanted the element eighter hidden or grayed out ... :)

@Sh1d0w Sh1d0w closed this Oct 15, 2016
@luixxiul
Copy link
Contributor

luixxiul commented Oct 15, 2016

yes sorry @Sh1d0w still you don't have to close the issue as it was not decided to disable it. Also in this case other elements should be grayed out too like 1Password, reload page, etc, while Find, print, bookmark page would be useful here.

@Sh1d0w Sh1d0w reopened this Oct 15, 2016
@Sh1d0w
Copy link
Author

Sh1d0w commented Oct 15, 2016

@luixxiul I have removed Reload, Back, Forward, View Source, Inspect element and 1Password entries if you are on extension page. Can you please confirm the behaviour is correct like this? Thanks

@bbondy bbondy modified the milestones: 0.12.6dev, 0.12.5dev Oct 15, 2016
@bbondy
Copy link
Member

bbondy commented Oct 18, 2016

We should only disable the things which do not work, can you confirm if that's the case in the PR?
Do any of these work?

Also in this case other elements should be grayed out too like 1Password, reload page, etc, while Find, print, bookmark page would be useful here.

@bbondy bbondy modified the milestones: 0.12.7dev, 0.12.6dev Oct 18, 2016
@Sh1d0w
Copy link
Author

Sh1d0w commented Oct 18, 2016

@luixxiul Can you confirm the items I have removed are ones that do not work?

@luixxiul
Copy link
Contributor

luixxiul commented Oct 18, 2016

These do not work

  • Password manager (1Password etc)
  • Reload page
  • View Page Source

These work

  • Back
  • Forward
  • Find
  • Print
  • Bookmark page
  • Inspect Element

@Sh1d0w
Copy link
Author

Sh1d0w commented Oct 18, 2016

@bbondy The PR is updated. Let me know if I have to amend anything else.

@bbondy
Copy link
Member

bbondy commented Oct 24, 2016

What doesn't work about extension pages and reload? I'm wondering because our pdf viewing is done without reloading. Are you sure it doesn't work?

@bbondy
Copy link
Member

bbondy commented Oct 24, 2016

It seems like it should

@bbondy bbondy modified the milestones: 0.12.8dev, 0.12.7dev Oct 24, 2016
@bbondy bbondy removed this from the 0.12.8dev milestone Oct 29, 2016
@bsclifton
Copy link
Member

bsclifton commented Nov 11, 2016

Closing this PR in favor of #5559 which disables context menu items ONLY on the about pages.

Apologies that we didn't communicate more about this one ☹️ This PR probably should have only solved the about pages, unless there is an existing issue for the other work

@bsclifton bsclifton closed this Nov 11, 2016
@Sh1d0w Sh1d0w deleted the hotfix/issue-4812 branch November 11, 2016 09:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants