X
モバイル版サイトに移動するには、ここをタップします。

サポートフォーラム

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Is it possible to clear the "back/forward" history of a tab?

投稿日時

Is it possible to clear the back/forward history of a specific tab?

Especially the tabs that you pin as "App Tab" will get cluttered. Web sites like gmail, google reader create a new history entry almost every time and I am pretty sure this has some performance ramifications.

Is it possible to clear the back/forward history of a specific tab? Especially the tabs that you pin as "App Tab" will get cluttered. Web sites like gmail, google reader create a new history entry almost every time and I am pretty sure this has some performance ramifications.

システム詳細の追加情報

インストールされたプラグイン

  • Octoshape Streaming Services web integration browser plug-in
  • DivX Web Player version 1.4.0.233
  • iPhoto6
  • The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime.
  • Office Live Update v1.0
  • Netscape plug-in to launch Centra applications
  • 4.0.50524.0
  • ABN AMRO e.dentifier2 Plug-in
  • Microsoft Office for Mac SharePoint Browser Plug-in
  • The QuakeLive Plugin is required for QuakeLive
  • The Google Earth Plugin allows you to view 3D imagery and terrain in your web browser.
  • Java Plug-In 2 for NPAPI Browsers
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 10.3 r181
  • Version 2.1.7.2968
  • Google Talk Plugin Video Accelerator version:0.1.44.5

アプリケーション

  • ユーザーエージェント: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0

詳細情報

David McRitchie 解決数 320 件 回答数 3092 件
投稿日時

Is it possible to clear the "back/forward" history of a specific tab? :

You can go back to the earliest entry in the tab and open a new page so that you remove all of the forward history, but you can't remove the original or reduce it to just the original entry in the tab.

App-tabs are pretty much like regular tabs except that the tab is protected from opening a direct link or bookmark to another site within the app-tab -- that does not apply to bookmarks with substitution or javascript as they will open in the same app-tab.

App-tabs provide no more protection than normal tabs against web pages like this one while composing a reply where the typed text is frequently lost during composing and have to start over.

''Is it possible to clear the "back/forward" history of a specific tab? :'' You can go back to the earliest entry in the tab and open a new page so that you remove all of the forward history, but you can't remove the original or reduce it to just the original entry in the tab. App-tabs are pretty much like regular tabs except that the tab is protected from opening a direct link or bookmark to another site within the app-tab -- that does not apply to bookmarks with substitution or javascript as they will open in the same app-tab. App-tabs provide no more protection than normal tabs against web pages like this one while composing a reply where the typed text is frequently lost during composing and have to start over.
cor-el
  • Top 10 Contributor
  • Moderator
解決数 17275 件 回答数 156148 件
投稿日時

役に立った返信

Copy and paste this code in the Code field in the Tools > Error Console and click the Evaluate button to clear the tab session history. This code also works for extensions that allow to run code with chrome privileges (Keyconfig, mouse gestures, custom button, PrefBar).


var Cc=Components.classes, Ci=Components.interfaces;
var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService);
os.notifyObservers(null, "browser:purge-session-history", "");
Copy and paste this code in the Code field in the Tools > Error Console and click the Evaluate button to clear the tab session history. This code also works for extensions that allow to run code with chrome privileges (Keyconfig, mouse gestures, custom button, PrefBar). ---- <pre><nowiki>var Cc=Components.classes, Ci=Components.interfaces; var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService); os.notifyObservers(null, "browser:purge-session-history", "");</nowiki></pre>

この投稿は cor-el により に変更されました

質問者

That last one worked like a charm. Is there any side effects to this? Other than losing all your session history - rather than a single tab?

Now how to make it into a button would be another question...

That last one worked like a charm. Is there any side effects to this? Other than losing all your session history - rather than a single tab? Now how to make it into a button would be another question...
cor-el
  • Top 10 Contributor
  • Moderator
解決数 17275 件 回答数 156148 件
投稿日時

役に立った返信

PrefBar uses this code in the "clear all history" button to remove the session history.
I do not want to delete all the history, so I've created a button with just this code and never had any problems with it.
I use it to keep tabs and sessionstore.js clean with tabs that I reopen in every session.

PrefBar uses this code in the "clear all history" button to remove the session history.<br /> I do not want to delete all the history, so I've created a button with just this code and never had any problems with it.<br /> I use it to keep tabs and sessionstore.js clean with tabs that I reopen in every session.